Skip to content

Commit 055d4e6

Browse files
committed
Editorial: add a note about synchronicity of SyntheticModule Evaluate
1 parent 6f61b74 commit 055d4e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26779,6 +26779,7 @@ <h1>Abstract Module Records</h1>
2677926779
<td>
2678026780
<p>Returns a promise for the evaluation of this module and its dependencies, resolving on successful evaluation or if it has already been evaluated successfully, and rejecting for an evaluation error or if it has already been evaluated unsuccessfully. If the promise is rejected, hosts are expected to handle the promise rejection and rethrow the evaluation error.</p>
2678126781
<p>Link must have completed successfully prior to invoking this method.</p>
26782+
<p>A non Cyclic Module Record must always returns a settled promise. This is asserted in InnerModuleEvaluation, and a non Cyclic Module Record is evaluated with EvaluateModuleSync.</p>
2678226783
</td>
2678326784
</tr>
2678426785
</table>
@@ -28738,7 +28739,7 @@ <h1>Synthetic Module Records</h1>
2873828739
<tr>
2873928740
<td>[[EvaluationSteps]]</td>
2874028741
<td>an Abstract Closure</td>
28741-
<td>The initialization logic to perform upon evaluation of the module, taking the Synthetic Module Record as its sole argument. It must not modify [[ExportNames]]. It may return an abrupt completion.</td>
28742+
<td>The initialization logic to perform upon evaluation of the module, taking the Synthetic Module Record as its sole argument. It must not modify [[ExportNames]]. It returns either normal completion containing ~unused~, or a throw completion.</td>
2874228743
</tr>
2874328744
</table>
2874428745
</emu-table>

0 commit comments

Comments
 (0)