diff --git a/source b/source index 8f005de1bd1..e117f878d37 100644 --- a/source +++ b/source @@ -89607,11 +89607,11 @@ dictionary PromiseRejectionEventInit : EventInit {
The JavaScript specification defines Jobs to be scheduled and run later by the host, as well - as JobCallback Records which encapsulate JavaScript functions that are called as part of - jobs. The JavaScript specification contains a number of implementation-defined - abstract operations that lets the host define how Jobs are scheduled and how JobCallbacks are - handled. This section defines them for user agent hosts.
+The JavaScript specification defines Jobs to be scheduled and run later by the host, as well as + JobCallback Records which encapsulate JavaScript + functions that are called as part of jobs. The JavaScript specification contains a number of + implementation-defined abstract operations that lets the host define how jobs are + scheduled and how JobCallbacks are handled. This section defines them for user agent hosts.
Let incumbent settings be - callback.[[HostDefined]].[[IncumbentSettings]]
Let script execution context be callback.[[HostDefined]].[[ActiveScriptContext]].
This affects the active script while the callback - runs. HostMakeJobCallback saves the appropriate JavaScript execution - context.
+This affects the active script while the callback runs.
-Let result be Call(callback.[[Callback]], V, argumentsList).
-Let result be Call(callback.[[Callback]], V, + argumentsList).
If script execution context is not null, then pop script execution context from the JavaScript execution context - stack.
Clean up after running a callback with incumbent - settings.
Return result.
Let result be job().
job is an abstract closure returned by
- NewPromiseReactionJob or NewPromiseResolveThenableJob. The
- promise's handler function when job is returned by
- NewPromiseReactionJob, and the then
function when
- job is returned by NewPromiseResolveThenableJob, are wrapped in
- JobCallback Records. HTML saves the incumbent settings object and a
- JavaScript execution context for to the active script in
+ NewPromiseReactionJob or NewPromiseResolveThenableJob. The promise's
+ handler function when job is returned by NewPromiseReactionJob, and
+ the then
function when job is returned by
+ NewPromiseResolveThenableJob, are wrapped in JobCallback Records. HTML saves the incumbent settings object and
+ a JavaScript execution context for to the active script in
HostMakeJobCallback and restores them in HostCallJobCallback.
Let incumbent settings be the incumbent settings object.
Return the JobCallback Record { [[Callback]]: callable, [[HostDefined]]: { - [[IncumbentSettings]]: incumbent settings, [[ActiveScriptContext]]: script - execution context } }.
Return the JobCallback Record { [[Callback]]: callable, + [[HostDefined]]: { [[IncumbentSettings]]: incumbent settings, [[ActiveScriptContext]]: + script execution context } }.