2014-06-11 16:48 GMT+02:00 Erik Arvidsson <[email protected]>:
> > [*] Proxies are oddballs here. All Proxies have a [[Construct]] method so > the IsConstructor will always return true which is really not what you > want. If IsConstructor was changed to check for a .prototype instead > proxies would behave more inline with ordinary objects. > No, only proxies whose target has a [[Construct]] method will themselves have a [[Construct]] method. IOW, proxies should be completely transparent w.r.t. the IsConstructor test. See 9.5.15 ProxyCreate step 5.b. I believe there may be a spec bug, as step 4 should explicitly exclude [[Construct]] and [[Call]], yet seems to include all methods defined in sec 9.5. Allen? Cheers, Tom
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

