W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2014

[Bug 24652] Deal with associated global / Realm

From: <bugzilla@jessica.w3.org>
Date: Fri, 31 Oct 2014 18:31:12 +0000
To: public-script-coord@w3.org
Message-ID: <bug-24652-3890-5kCoD7mEBm@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24652

--- Comment #4 from Boris Zbarsky <bzbarsky@mit.edu> ---
Dimitri, Realm in this case is just a way to talk about the right global
environment.  You have to define what global environment a given object is
created in.  It's totally observable via instanceof Object (and in general in
terms of which global's standard prototypes are used for the object being
created).

The way ES handles this for objects it creates is by having a concept of
"current Realm" and defining that unless specified otherwise any time an object
is created it uses the standard prototypes of the global of the current Realm.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Friday, 31 October 2014 18:31:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:23 UTC