[Bug 24652] Deal with associated global / Realm

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24652

--- 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.

Given

  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