Skip to content
This repository has been archived by the owner on Aug 29, 2021. It is now read-only.

Commit

Permalink
only set DirectEvaluationCapability for direct async
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed May 7, 2019
1 parent 4c41d0b commit ac05481
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@ <h1>InnerModuleEvaluation( _module_, _stack_, _index_ )</h1>
1. <ins>Set _module_.[[AsyncParentModules]] to a new empty List.</ins>
1. <ins>Set _module_.[[PendingAsyncDependencies]] to the length of _pendingAsyncDependencies_.</ins>
1. <ins>Let _capability_ be ! NewPromiseCapability(%Promise%).</ins>
1. <ins>Set _module_.[[DirectEvaluationCapability]] to _capability_.</ins>
1. <ins>If _module_[[AsyncModule]] is *true*, then</ins>
1. <ins>Set _module_.[[DirectEvaluationCapability]] to _capability_.</ins>
1. <ins>Set _module_.[[EvaluationCapability]] to _capability_.</ins>
1. <ins>If the length of _pendingAsyncDependencies_ is 0, then</ins>
1. <ins>Perform ! _module_.ExecuteModule(_module_.[[DirectEvaluationCapability]]).</ins>
Expand Down

0 comments on commit ac05481

Please sign in to comment.