Relationship between globals, Realms, and global environment records

Anne van Kesteren annevk at annevk.nl
Mon Nov 24 07:11:26 PST 2014


On Sat, Nov 22, 2014 at 10:42 PM, Boris Zbarsky <bzbarsky at mit.edu> wrote:
> On 11/22/14, 6:20 AM, Anne van Kesteren wrote:
>> I thought these to be 1:1:1, but e.g. HTML defines the document.open()
>> API
>> https://html.spec.whatwg.org/multipage/webappapis.html#dom-document-open
>> which replaces the global object. It's not currently defined in
>> excruciating detail, but I suspect it will be at some point since
>> content depends on this working.
>>
>> Should that affect the Realm and global environment record?
>
> Yes, imo.

I filed https://www.w3.org/Bugs/Public/show_bug.cgi?id=27419 to track
this on the HTML side.


-- 
https://annevankesteren.nl/


More information about the es-discuss mailing list