Skip to content

Commit ecc2b9a

Browse files
committed
Remove inaccurate algorithm step
In modern implementations of this specification (the latest releases of Firefox, Chrome, and Safari), a returned thenable only impacts execution if it represents a Promise that is rejected prior to the invocation of the script's callback function. Fulfillment values are ignored in all cases.
1 parent 7528e5c commit ecc2b9a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

index.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7301,9 +7301,6 @@ <h4><dfn>Execute Async Script</dfn></h4>
73017301
<li><p>Let <var>scriptPromise</var> be <a>PromiseResolve</a>(<a>Promise</a>,
73027302
<var>scriptResult</var>.[[\Value]]).
73037303

7304-
<li><p>Upon fulfillment of <var>scriptPromise</var> with value <var>v</var>,
7305-
<a>resolve</a> <var>promise</var> with value <var>v</var>.
7306-
73077304
<li><p>Upon rejection of <var>scriptPromise</var> with value <var>r</var>,
73087305
<a>reject</a> <var>promise</var> with value <var>r</var>.
73097306
</ol>

0 commit comments

Comments
 (0)