Skip to content

Commit

Permalink
fixup: Drop "currently" from "the currently running execution context…
Browse files Browse the repository at this point in the history
…" (x7)
  • Loading branch information
jmdyck committed Dec 19, 2024
1 parent bbc93ca commit 8b375e3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -12065,7 +12065,7 @@ <h1>GetNewTarget ( ): an Object or *undefined*</h1>
<h1>GetGlobalObject ( ): an Object</h1>
<dl class="header">
<dt>description</dt>
<dd>It returns the global object used by the currently running execution context.</dd>
<dd>It returns the global object used by the running execution context.</dd>
</dl>
<emu-alg>
1. Let _currentRealm_ be the current Realm Record.
Expand Down Expand Up @@ -48849,7 +48849,7 @@ <h1>
1. Transfer control from _methodContext_ to _genContext_, passing NormalCompletion(_value_).
1. NOTE: This step is reached only when control is transferred back to _methodContext_, which might not happen.
1. Let _result_ be the Completion Record passed when control was transferred back to _methodContext_.
1. Assert: _genContext_ has already been removed from the execution context stack and _methodContext_ is the currently running execution context.
1. Assert: _genContext_ has already been removed from the execution context stack and _methodContext_ is the running execution context.
1. Return ? _result_.
</emu-alg>
</emu-clause>
Expand Down Expand Up @@ -48882,7 +48882,7 @@ <h1>
1. Transfer control from _methodContext_ to _genContext_, passing _abruptCompletion_.
1. NOTE: This step is reached only when control is transferred back to _methodContext_, which might not happen.
1. Let _result_ be the Completion Record passed when control was transferred back to _methodContext_.
1. Assert: _genContext_ has already been removed from the execution context stack and _methodContext_ is the currently running execution context.
1. Assert: _genContext_ has already been removed from the execution context stack and _methodContext_ is the running execution context.
1. Return ? _result_.
</emu-alg>
</emu-clause>
Expand Down Expand Up @@ -49263,7 +49263,7 @@ <h1>
1. NOTE: This step is reached only when control is transferred back to _callerContext_, which might not happen.
1. Let _result_ be the Completion Record passed when control was transferred back to _callerContext_.
1. Assert: _result_ is never an abrupt completion.
1. Assert: _genContext_ has already been removed from the execution context stack and _callerContext_ is the currently running execution context.
1. Assert: _genContext_ has already been removed from the execution context stack and _callerContext_ is the running execution context.
1. Return ~unused~.
</emu-alg>
</emu-clause>
Expand Down Expand Up @@ -49579,7 +49579,7 @@ <h1>
1. Transfer control from _runningContext_ to _asyncContext_, passing NormalCompletion(~unused~).
1. NOTE: This step is reached only when control is transferred back to _runningContext_, which might not happen.
1. Let _result_ be the Completion Record passed when control was transferred back to _runningContext_.
1. Assert: _asyncContext_ has already been removed from the execution context stack and _runningContext_ is the currently running execution context.
1. Assert: _asyncContext_ has already been removed from the execution context stack and _runningContext_ is the running execution context.
1. Assert: _result_ is a normal completion with a value of ~unused~. The possible sources of this value are Await or, if the async function doesn't await anything, step <emu-xref href="#step-asyncblockstart-return-undefined"></emu-xref> above.
1. Return ~unused~.
</emu-alg>
Expand All @@ -49601,15 +49601,15 @@ <h1>
1. Push _asyncContext_ onto the execution context stack; _asyncContext_ is now the running execution context.
1. Transfer control from _prevContext_ to _asyncContext_, passing NormalCompletion(_v_).
1. NOTE: This step is reached only when control is transferred back to _prevContext_, which might not happen.
1. Assert: _asyncContext_ has already been removed from the execution context stack and _prevContext_ is the currently running execution context.
1. Assert: _asyncContext_ has already been removed from the execution context stack and _prevContext_ is the running execution context.
1. Return *undefined*.
1. Let _onFulfilled_ be CreateBuiltinFunction(_fulfilledClosure_, 1, *""*, « »).
1. Let _rejectedClosure_ be a new Abstract Closure with parameters (_reason_) that captures _asyncContext_ and performs the following steps when called:
1. Let _prevContext_ be the running execution context.
1. Push _asyncContext_ onto the execution context stack; _asyncContext_ is now the running execution context.
1. Transfer control from _prevContext_ to _asyncContext_, passing ThrowCompletion(_reason_).
1. NOTE: This step is reached only when control is transferred back to _prevContext_, which might not happen.
1. Assert: _asyncContext_ has already been removed from the execution context stack and _prevContext_ is the currently running execution context.
1. Assert: _asyncContext_ has already been removed from the execution context stack and _prevContext_ is the running execution context.
1. Return *undefined*.
1. Let _onRejected_ be CreateBuiltinFunction(_rejectedClosure_, 1, *""*, « »).
1. Perform PerformPromiseThen(_promise_, _onFulfilled_, _onRejected_).
Expand Down

0 comments on commit 8b375e3

Please sign in to comment.