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: Tue, 11 Nov 2014 11:51:51 +0000
To: public-script-coord@w3.org
Message-ID: <bug-24652-3890-pb9jQpDMfu@http.www.w3.org/Bugs/Public/>

--- Comment #5 from Anne <annevk@annevk.nl> ---
https://github.com/w3c/web-platform-tests/pull/1381 has a test. It seems
[NewObject] APIs behave fairly consistently.


  JavaScript -> IDL -> API spec -> IDL -> JavaScript

perhaps the second instance of IDL can take care of setting the correct Realm
when a new object is created.

That leaves cases such as window.document, window.document.implementation, ...
I guess for those objects we should define the lifetime more clearly and use
some kind of hook in IDL to set their Realm correctly. Given that those too go
through the IDL -> API spec -> IDL cycle it does seem like IDL needs to say
what aspects API specs need to define of an IDL value.

You are receiving this mail because:
You are on the CC list for the bug.
Received on Tuesday, 11 November 2014 11:51:52 UTC

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