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

>                  <li>
>                    Let <var>arg</var><sub>0..<var>n</var>−1</sub> be a list of
>                    ECMAScript values, where <var>arg</var><sub><var>i</var></sub> is the result
>                    of <a class="dfnref" href="#dfn-convert-idl-to-ecmascript-value">converting</a>
>                    <var>idlarg</var><sub><var>i</var></sub> to an ECMAScript value.
>                  </li>
> -                <li>Let <var>script</var> be the <a class="dfnref" href="#dfn-callback-context">callback context</a> associated with <var>V</var>.</li>
> -                <li>Push <var>script</var> on to the <a class="dfnref external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html">stack of incumbent scripts</a>. <a href="#ref-HTML">[HTML]</a></li>
> +                <li>Let <var>execution context</var> be <a class="external" href="https://tc39.github.io/ecma262/#sec-getfunctionrealm">GetFunctionRealm</a>(<var>X</var>)'s <a class="dfnref external" href="https://html.spec.whatwg.org/multipage/webappapis.html#concept-realm-settings-object">settings object</a>'s <a class="external" href="https://html.spec.whatwg.org/multipage/webappapis.html#realm-execution-context">realm execution context</a>.</li>

Per https://github.com/whatwg/html/issues/958#issuecomment-218615098 it seems more likely to me that "report the exception" should use some concept of "incumbent script", not entry?

---
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/2687a7f8dee42781c250ffc11c084f1ef84d1bf4#r62941623

Received on Wednesday, 11 May 2016 23:01:49 UTC