Anne van Kesteren (2014-11-25T10:14:44.000Z)
On Tue, Nov 25, 2014 at 1:51 AM, Allen Wirfs-Brock
<allen at wirfs-brock.com> wrote:
> There is definite a 1:1:1 relationship between a global object, realmRec,
> global environment record.  And  ES views those relationships are immutable.
> You can't just change the global object of a realmRec or give it a different
> global environment record after it has been initialized.

How would you test whether all three of them have changed?


> Note that the ES6 spec. defines InitializeFirstRealm [1] that define how the
> first Realm gets created.  Creating additional realms would have to perform
> a similar set of steps.
>
> http://people.mozilla.org/~jorendorff/es6-draft.html#sec-initializefirstrealm


-- 
https://annevankesteren.nl/
d at domenic.me (2014-12-04T22:34:40.471Z)
On Tue, Nov 25, 2014 at 1:51 AM, Allen Wirfs-Brock <allen at wirfs-brock.com> wrote:
> There is definite a 1:1:1 relationship between a global object, realmRec,
> global environment record.  And  ES views those relationships are immutable.
> You can't just change the global object of a realmRec or give it a different
> global environment record after it has been initialized.

How would you test whether all three of them have changed?