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

>                </ol>
> -              And then, if an exception was thrown:
> +            </li>
> +
> +            <li>Let <var>realm</var> be <var>F</var>'s <a class='dfnref'
> +            href='#dfn-associated-realm'>associated Realm</a>.</li>
> +
> +            <li>Let <var>settings</var> be <var>realm</var>'s <a class='dfnref external'
> +            href='https://html.spec.whatwg.org/multipage/webappapis.html#concept-realm-settings-object'>settings
> +            object</a>.</li>
> +
> +            <li><a>Prepare to run script</a> with <var>settings</var>.</li>
> +
> +            <li>If <var>value</var>'s interface is not a <a class='dfnref'

This looks like copy/paste fail.  there is no "`value`'s interface" and no `O` here.  This entire step is not needed; we already set `thisArg` to undefined if not provided, which is the behavior we want for the callback function case.

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

Received on Wednesday, 18 May 2016 20:28:58 UTC