00:00:33
| <xaxxon> | bradleymeck, hey :) |
00:01:45
| <xaxxon> | you ever used ObjectTemplate::SetCallAsFunctionHandler ? I think I'm setting things up, but when I try to say my_object(), it tells me it isn't a function. am I doing something wrong or maybe that doesn't do what I think it does? |
00:20:31
| <bradleymeck> | i would use real JS Proxies if at all possible |
00:21:55
| <xaxxon> | I've only read a smidgen about those. right now I'm setting up static stuff, so thisi seemed the right approach, but if it absolutely doesn't work, then it's good to have a backup plan |
00:21:59
| <xaxxon> | bradleymeck, thanks |
00:41:10
| * bradleymeck_ | joined |
00:42:02
| * bradleymeck | quit (Read error: Connection reset by peer) |
00:45:30
| * bradleymeck_ | quit (Ping timeout: 250 seconds) |
00:46:23
| * bradleymeck | joined |
00:48:57
| * olalonde | quit (Quit: Connection closed for inactivity) |
00:50:49
| * Tweth-U-PDS | joined |
00:52:27
| * Tweth-G-PDS | joined |
00:52:52
| * Tweth-V-PDS | quit (Ping timeout: 256 seconds) |
00:55:16
| * Tweth-U-PDS | quit (Ping timeout: 260 seconds) |
01:41:51
| * bradleymeck | quit (Read error: Connection reset by peer) |
01:52:55
| <xaxxon> | so, I realized what I was doing wrong - I was making my object's PROTOTYPE callable. So I set it on the instance object template instead of the prototype objcet template and it mostly works, except if I try to print it, V8 crashes. |
01:53:27
| <xaxxon> | *v8::String::Utf8Value(value) where value is a "normal" function is fine. but if it's an object marked as callable, it crashes |
01:53:34
| * bradleymeck | joined |
01:53:48
| <xaxxon> | [18:52] <xaxxon> so, I realized what I was doing wrong - I was making my object's PROTOTYPE callable. So I set it on the instance object template instead of the prototype objcet template and it mostly works, except if I try to print it, V8 crashes. |
01:53:48
| <xaxxon> | [18:53] <xaxxon> *v8::String::Utf8Value(value) where value is a "normal" function is fine. but if it's an object marked as callable, it crashes |
01:54:25
| <xaxxon> | I would expect it to print the function(){ NATIVE CODE } bit or whatever, but instead *boom* |
01:54:31
| * bradleymeck | quit (Client Quit) |
01:54:54
| <xaxxon> | oh. it's just returning nullptr |
01:56:21
| <xaxxon> | which is a documented potential result: If conversion to a string fails (e.g. due to an exception in the toString() method of the object) |
02:11:33
| * plutoniix | joined |
02:48:07
| * plutoniix | quit (Quit: Leaving) |
03:22:11
| * thefourtheye | quit (Quit: Connection closed for inactivity) |
03:26:29
| * plutoniix | joined |
03:47:52
| * plutoniix | quit (Ping timeout: 252 seconds) |
03:48:18
| * plutoniix | joined |
04:34:33
| * Tweth-U-PDS | joined |
04:36:56
| * Tweth-G-PDS | quit (Ping timeout: 260 seconds) |
04:37:05
| * Tweth-V-PDS | joined |
04:39:05
| * Tweth-U-PDS | quit (Ping timeout: 256 seconds) |
04:50:58
| * plutoniix | quit (Quit: Leaving) |
04:52:41
| * Tweth-U-PDS | joined |
04:55:31
| * Tweth-V-PDS | quit (Ping timeout: 256 seconds) |
05:08:01
| * Tweth-V-PDS | joined |
05:10:39
| * Tweth-U-PDS | quit (Ping timeout: 265 seconds) |
05:16:55
| * plutoniix | joined |
05:59:24
| * Tweth-U-PDS | joined |
06:01:49
| * Tweth-V-PDS | quit (Ping timeout: 244 seconds) |
09:30:02
| * xaxxon | quit (Read error: Connection reset by peer) |
09:39:49
| * xaxxon | joined |
09:53:50
| * obiwahn | joined |
09:55:03
| <obiwahn> | Do you have contexts as a cheaper form of additional isolates? |
10:33:14
| * plutoniix | quit (Quit: Leaving) |
11:18:39
| * xaxxon | quit (Quit: This computer has gone to sleep) |
11:30:27
| * bradleymeck | joined |
11:48:59
| * thefourtheye | joined |
12:09:20
| * caitp- | joined |
12:10:02
| * caitp | quit (Ping timeout: 276 seconds) |
12:20:45
| * etnbrd | quit (*.net *.split) |
12:48:18
| * bradleymeck | quit (Quit: bradleymeck) |
13:12:03
| * bradleymeck | joined |
13:56:21
| * bradleymeck | quit (Quit: bradleymeck) |
14:40:48
| * bradleymeck | joined |
15:21:51
| * bradleymeck | quit (Read error: Connection reset by peer) |
15:22:03
| * bradleymeck | joined |
15:43:38
| * plutoniix | joined |
16:24:42
| * RT|Chatzilla | quit (Quit: ChatZilla 0.9.86.1 [Firefox 2.0.0.22pre/2010030309]) |
16:39:59
| * thefourtheye | quit (Read error: Connection reset by peer) |
16:40:00
| * mikolalysenko | quit (Read error: Connection reset by peer) |
16:40:04
| * ErikCorry_ | quit (Read error: Connection reset by peer) |
16:40:04
| * Super-Human | quit (Write error: Connection reset by peer) |
16:40:59
| * thefourtheye | joined |
16:41:28
| * ErikCorry_ | joined |
16:41:36
| * wadey | quit (Ping timeout: 256 seconds) |
16:42:09
| * mikolalysenko | joined |
16:42:58
| * Super-Human | joined |
16:43:17
| * JoWie | quit (Ping timeout: 256 seconds) |
16:45:11
| * wadey | joined |
16:45:26
| * JoWie | joined |
16:51:30
| * seventh | joined |
17:30:30
| * bobmcw_ | joined |
17:30:36
| * bobmcw | quit (Ping timeout: 260 seconds) |
17:31:53
| * bradleymeck | quit (Quit: bradleymeck) |
17:55:58
| * bobmcw_ | changed nick to bobmcw |
17:55:58
| * bobmcw | quit (Changing host) |
17:55:58
| * bobmcw | joined |
18:53:34
| <trungl-bot> | Tree closed by [email protected]: Tree is closed (Automatic: "Mjsunit,Bisect 404e2154.Retry" on http://build.chromium.org/p/client.v8/builders/V8%20Linux64%20GC%20Stress%20-%20custom%20snapshot/builds/8858 "V8 Linux64 GC Stress - custom snapshot" from 96d12ac6dd6ba4075383fa7085a9810e11821a99: [email protected],[email protected]) |
19:30:25
| * bradleymeck | joined |
19:34:52
| <trungl-bot> | Tree opened by [email protected]: open |
20:26:26
| * seventh | quit (Remote host closed the connection) |
20:42:14
| * thefourtheye | quit (Quit: Connection closed for inactivity) |
20:46:48
| * bradleymeck | quit (Quit: bradleymeck) |
21:21:28
| * bradleymeck | joined |
21:28:07
| * olalonde | joined |
21:43:16
| * xaxxon | joined |
21:49:15
| * Guest59 | quit (Quit: Textual IRC Client: www.textualapp.com) |
21:52:45
| * bradleymeck | quit (Read error: Connection reset by peer) |
22:09:24
| * xaxxon | quit (Read error: Connection reset by peer) |
22:09:49
| * xaxxon | joined |
22:26:00
| * Guest59 | joined |
22:30:32
| * Guest59 | quit (Ping timeout: 256 seconds) |
22:49:05
| * bradleymeck | joined |
22:57:32
| * bradleymeck | quit (Read error: Connection reset by peer) |
23:13:14
| * RT|Chatzilla | joined |
23:44:44
| * bradleymeck | joined |