Relationship between globals, Realms, and global environment records
Boris Zbarsky
bzbarsky at mit.edu
Tue Nov 25 11:26:26 PST 2014
On 11/25/14, 2:17 PM, Allen Wirfs-Brock wrote:
> You're saying that, for a Realm, the global object never changes, but that the (initial values) of 'window', 'self', 'document'(??) etc. are proxies
So first of all, these are all accessor properties, so I'm not sure
about "initial values".
But yes, the value returned by the getter for "window" and "self" is a
proxy (and is the same proxy for both getters). The value returned by
the getter for "document" is not a proxy.
> (all the same one?) whose target can dynamically change.
Yes.
-Boris
More information about the es-discuss
mailing list