Re: [v8-users] How to set the class name of the global object

2016-11-24 Thread Toon Verwaest
Previously we used the class name. On Fri, Nov 25, 2016, 00:53 Theodore Dubois wrote: > Interesting. Out of curiosity, how did this work before Chrome added > support for Symbol.toStringTag? > > ~Theodore > > > On Nov 24, 2016, at 2:36 AM, Ben Noordhuis

Re: [v8-users] How to set the class name of the global object

2016-11-24 Thread Theodore Dubois
Interesting. Out of curiosity, how did this work before Chrome added support for Symbol.toStringTag? ~Theodore > On Nov 24, 2016, at 2:36 AM, Ben Noordhuis wrote: > > On Thu, Nov 24, 2016 at 4:45 AM, wrote: >> I'm trying to get behavior similar to that

Re: [v8-users] How to set the class name of the global object

2016-11-24 Thread Ben Noordhuis
On Thu, Nov 24, 2016 at 4:45 AM, wrote: > I'm trying to get behavior similar to that of the global object in a Chrome > JavaScript context through the V8 API. I've created a FunctionTemplate, > called SetClassName on the template, set various properties on its >

[v8-users] How to set the class name of the global object

2016-11-23 Thread tblodt
I'm trying to get behavior similar to that of the global object in a Chrome JavaScript context through the V8 API. I've created a FunctionTemplate, called SetClassName on the template, set various properties on its PrototypeTemplate and InstanceTemplate, and then used the InstanceTemplate to