Re: [JS-internals] Proxy question

2013-07-10 Thread Nicholas Nethercote
On Fri, Jun 21, 2013 at 3:55 AM, brandon.ben...@gmail.com wrote: On Thursday, June 20, 2013 9:53:01 AM UTC-7, Bill McCloskey wrote: It looks like ProxyClass is only used for the Proxy object that we add to the global (i.e., the thing that allows you to do Proxy.create). That object isn't

[JS-internals] Proxy question

2013-06-20 Thread Nicholas Nethercote
Hi, Here's some code from jsproxy.h: inline bool IsObjectProxyClass(const Class *clasp) { return clasp == js::ObjectProxyClass || clasp == js::OuterWindowProxyClass; } inline bool IsFunctionProxyClass(const Class *clasp) { return clasp == js::FunctionProxyClass; } inline bool

Re: [JS-internals] Proxy question

2013-06-20 Thread Bill McCloskey
- From: Nicholas Nethercote n.netherc...@gmail.com To: JS Internals list dev-tech-js-engine-internals@lists.mozilla.org Sent: Wednesday, June 19, 2013 11:33:12 PM Subject: [JS-internals] Proxy question Hi, Here's some code from jsproxy.h: inline bool IsObjectProxyClass(const Class

Re: [JS-internals] Proxy question

2013-06-20 Thread Luke Wagner
: Wednesday, June 19, 2013 11:33:12 PM Subject: [JS-internals] Proxy question Hi, Here's some code from jsproxy.h: inline bool IsObjectProxyClass(const Class *clasp) { return clasp == js::ObjectProxyClass || clasp == js::OuterWindowProxyClass; } inline bool

Re: [JS-internals] Proxy question

2013-06-20 Thread Tom Schuster
Nethercote n.netherc...@gmail.com To: JS Internals list dev-tech-js-engine-internals@lists.mozilla.org Sent: Wednesday, June 19, 2013 11:33:12 PM Subject: [JS-internals] Proxy question Hi, Here's some code from jsproxy.h: inline bool IsObjectProxyClass(const Class

Re: [JS-internals] Proxy question

2013-06-20 Thread Brendan Eich
-internals] Proxy question Hi, Here's some code from jsproxy.h: inline bool IsObjectProxyClass(const Class *clasp) { return clasp ==js::ObjectProxyClass || clasp == js::OuterWindowProxyClass; } inline bool IsFunctionProxyClass(const Class *clasp) { return clasp ==js::FunctionProxyClass

Re: [JS-internals] Proxy question

2013-06-20 Thread Nicholas Nethercote
ProxyConstructor That's the one I like best so far. Nick ___ dev-tech-js-engine-internals mailing list dev-tech-js-engine-internals@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals