Skip to content

Commit 55276b2

Browse files
nicolo-ribaudoljharb
authored andcommitted
Editorial: Adjust invalid assertion about [[AsyncEvaluationOrder]] (#3613)
1 parent a1693ff commit 55276b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27126,8 +27126,8 @@ <h1>Evaluate ( ): a Promise</h1>
2712627126
1. Assert: _module_.[[Status]] is either ~evaluating-async~ or ~evaluated~.
2712727127
1. Assert: _module_.[[EvaluationError]] is ~empty~.
2712827128
1. If _module_.[[Status]] is ~evaluated~, then
27129-
1. NOTE: This implies that evaluation of _module_ completed synchronously.
27130-
1. Assert: _module_.[[AsyncEvaluationOrder]] is ~unset~.
27129+
1. Assert: _module_.[[AsyncEvaluationOrder]] is ~unset~ or ~done~.
27130+
1. NOTE: _module_.[[AsyncEvaluationOrder]] is ~done~ if and only if _module_ had already been evaluated and that evaluation was asynchronous.
2713127131
1. Perform ! Call(_capability_.[[Resolve]], *undefined*, « *undefined* »).
2713227132
1. Assert: _stack_ is empty.
2713327133
1. Return _capability_.[[Promise]].

0 commit comments

Comments
 (0)