On Fri, Jun 21, 2013 at 3:55 AM, 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 actually a proxy a
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 actually a proxy at all. It probably would make sense to rename
> 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
object isn't actually a proxy at all. It
probably would make sense to rename ProxyClass to something less
confusing.
-Bill
- Original Message -
From: "Nicholas Nethercote"
To: "JS Internals list"
Sent: Wednesday, June 19, 2013 11:33:12 PM
Subject: [JS-internals] Pr
g less
> > confusing.
> >
> > -Bill
> >
> > - Original Message -
> > > From: "Nicholas Nethercote"
> > > To: "JS Internals list"
> > >
> > > Sent: Wednesday, June 19, 2013 11:33:12 PM
> > > Subjec
uot;JS Internals list"
> >
> > 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 *clasp)
riginal Message -
> From: "Nicholas Nethercote"
> To: "JS Internals list"
> Sent: Wednesday, June 19, 2013 11:33:12 PM
> Subject: [JS-internals] Proxy question
>
> Hi,
>
> Here's some code from jsproxy.h:
>
>
> inline
ProxyClass isn't for proxies - it's for the Proxy constructor on the global.
On Wed, Jun 19, 2013 at 11:33 PM, Nicholas Nethercote <
n.netherc...@gmail.com> wrote:
> Hi,
>
> Here's some code from jsproxy.h:
>
>
> inline bool IsObjectProxyClass(const Class *clasp)
> {
> return clasp == &js::O
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 IsProx
9 matches
Mail list logo