You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>A <dfn id="loadedmodulerequest-record" variants="LoadedModuleRequest Records">LoadedModuleRequest Record</dfn> represents the request to import a module together with the resulting Module Record. It consists of the same fields defined in table <emu-xref href="#table-modulerequest-fields"></emu-xref>, with the addition of [[Module]]:</p>
26270
-
<emu-table id="table-loadedmodulerequest-fields" caption="LoadedModuleRequest Record fields">
26278
+
<emu-table id="table-loadedmodulerequest-fields" caption="LoadedModuleRequest Record Fields">
26271
26279
<table>
26272
26280
<tr>
26273
26281
<th>
@@ -26440,14 +26448,14 @@ <h1>Static Semantics: ModuleRequests ( ): a List of ModuleRequest Records</h1>
1. Let _attributes_ be WithClauseToAttributes of |WithClause|.
26452
26460
1. Return a List whose sole element is the ModuleRequest Record { [[Specifier]]: _specifier_, [[Attributes]]: _attributes_ }.
26453
26461
</emu-alg>
@@ -28575,7 +28583,7 @@ <h1>
28575
28583
<emu-alg>
28576
28584
1. If _result_ is a normal completion, then
28577
28585
1. If _referrer_.[[LoadedModules]] contains a LoadedModuleRequest Record _record_ such that ModuleRequestsEqual(_record_, _moduleRequest_) is *true*, then
28578
-
1. Assert: _record_.[[Module]] is _result_.[[Value]].
28586
+
1. Assert: _record_.[[Module]] and _result_.[[Value]] are the same Module Record.
28579
28587
1. Else,
28580
28588
1. Append the LoadedModuleRequest Record { [[Specifier]]: _moduleRequest_.[[Specifier]], [[Attributes]]: _moduleRequest_.[[Attributes]], [[Module]]: _result_.[[Value]] } to _referrer_.[[LoadedModules]].
28581
28589
1. If _payload_ is a GraphLoadingState Record, then
0 commit comments