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

>                    </ol>
>                    And then, whether or not an exception was thrown:
>                    <ol>
> -                    <li>Pop <var>script</var> off the <a class="dfnref external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html">stack of incumbent scripts</a>.</li>
> +                    <li>Decrement <var>execution context</var>'s <a class="external" href="https://html.spec.whatwg.org/multipage/webappapis.html#entrance-counter">entrance counter</a> by one.</li>
> +                    <li>Remove <var>execution context</var> from the <a class="external" href="https://tc39.github.io/ecma262/#execution-context-stack">JavaScript execution context stack</a>.</li>
>                      <li>If an exception was thrown, end these steps, and allow it to propagate.</li>

I'm not sure that works right, though it's preexisting; this goes back to where most invokers want to report the exception if there is one, but the "where to report it" location is ... what exactly?  Once we have propagated out of here, we've taken down our entry settings, which iirc is the place you're supposed to report exceptions.

---
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#r62932170

Received on Wednesday, 11 May 2016 21:42:56 UTC