Re: [heycam/webidl] Formally define a [[Realm]] slot on platform objects (#658)

domenic approved this pull request.

LGTM, but here is some potential bonus work:

- Eradicate all remaining usage of the legacy term "ECMAScript global environment".
- Update https://html.spec.whatwg.org/#relevant to make relevant Realm defined in terms of [[Realm]] and the other two "relevants" defined in terms of relevant Realm
  - Optionally, move the definition of relevant Realm to Web IDL? Or maybe that won't work out so well in the long term given that eventually we'll want relevant Realm to apply to all ES objects as well?

> @@ -12378,11 +12378,14 @@ The value of the [=function object=]’s <code class="idl">name</code> property
     in various ways, including "|object| is an |interface| object".
 </div>
 
-Every [=platform object=] is associated with a global environment, just
+Every [=platform object=] is associated with a Realm, just

Cross-link to the ES spec's definition?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/658#pullrequestreview-207499911

Received on Monday, 25 February 2019 16:39:28 UTC