Re: [heycam/webidl] Modernize invoking user code (#113)

> @@ -6368,6 +6390,17 @@ iframe.appendChild instanceof w.Function;  <span class='comment'>// Evaluates to
>                for Web pages.
>              </p>
>            </div>
> +
> +          <p>
> +            Although at the time of this writing the ECMAScript specification does not reflect this,
> +            every ECMAScript object must have an <dfn data-export=''
> +            id='dfn-associated-realm'>associated <a class='external'>Realm</a></dfn>. The mechanisms
> +            for associating objects with Realms are, for now, underspecified. However, we note that
> +            in the case of <a class='dfnref' href='#dfn-platform-object'>platform objects</a>, the
> +            associated Realm is equal to the object's <a class='external'>relevant Realm</a>, and
> +            for function objects the associated Realm is equal to the Realm returned by <a
> +            class='external'>GetFunctionRealm</a>.

Ah, where "honest-to-God Function" is not a proxy or a bound function. OK, yeah, I'll add back in a note about it matching [[Realm]] for those.

---
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/113/files/6a54acae5c1ff4199b5bf85b61bc4681addbafb7#r63949603

Received on Thursday, 19 May 2016 20:52:37 UTC