>-----Original Message----- >From: Boris Zbarsky [mailto:bzbarsky@MIT.EDU] >That is, is the ES global in IE actually a proxy and not a "native" object? When you say "proxy" I assume you think that there are actually two objects, a "native object" and a "proxy object". In that sense, the window object is not a proxy--there is only one instance of it hanging around. However, when Trident binds onto it for the purposes of GSP, it replaces some of its default behavior with "window-like" behavior. In that sense it becomes a proxy, but there's no other native object that it is "wrapping". Like [OverrideBuiltins], the augmented object has the ability to consult the GSP before or after a property lookup. In the case of window, GSP lookups are done after the normal lookup. This results in the lookup order that Cameron described at the beginning of this thread. >It really sounds like the behavior IE has here is not actually >describable in terms of the ES spec (even with proxies, if I understand >it correctly) as things stand... Not having a good understanding of ES proxies, I can't comment on that.Received on Wednesday, 4 January 2012 21:32:12 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:05 UTC