Skip to content

Commit c2f8d3e

Browse files
rkirslingljharb
authored andcommitted
Markup: Fix breakage after #1482 (#1589)
1 parent 2fa96c2 commit c2f8d3e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21928,7 +21928,7 @@ <h1>Example Cyclic Module Record Graphs</h1>
2192821928
<img alt="A module graph in which module A depends on module B" width="121" height="211" src="img/module-graph-simple.svg">
2192921929
</emu-figure>
2193021930

21931-
<p>Let's first assume that there are no error conditions. When a host first calls _A_.Link(), this will complete successfully by assumption, and recursively link modules _B_ and _C_ as well, such that _A_.[[Status]] = _B_.[[Status]] = _C_.[[Status]] = `"linked"`. This preparatory step can be performed at any time. Later, when the host is ready to incur any possible side effects of the modules, it can call _A_.Evaluate(), which will complete successfully (again by assumption), recursively having evaluated first _C_ and then _B_. Each module's [[Status]] at this point will be `"evaluated`".</p>
21931+
<p>Let's first assume that there are no error conditions. When a host first calls _A_.Link(), this will complete successfully by assumption, and recursively link modules _B_ and _C_ as well, such that _A_.[[Status]] = _B_.[[Status]] = _C_.[[Status]] = `"linked"`. This preparatory step can be performed at any time. Later, when the host is ready to incur any possible side effects of the modules, it can call _A_.Evaluate(), which will complete successfully (again by assumption), recursively having evaluated first _C_ and then _B_. Each module's [[Status]] at this point will be `"evaluated"`.</p>
2193221932

2193321933
<p>Consider then cases involving linking errors. If InnerModuleLinking of _C_ succeeds but, thereafter, fails for _B_, for example because it imports something that _C_ does not provide, then the original _A_.Link() will fail, and both _A_ and _B_'s [[Status]] remain `"unlinked"`. _C_'s [[Status]] has become `"linked"`, though.</p>
2193421934

@@ -22625,7 +22625,7 @@ <h1>Runtime Semantics: HostResolveImportedModule ( _referencingScriptOrModule_,
2262522625
<emu-note>
2262622626
<p>An example of when _referencingScriptOrModule_ can be *null* is in a web browser host. There, if a user clicks on a control given by</p>
2262722627

22628-
<pre><code class="html">&lt;button type="button" onclick="import('./foo.mjs')"&rt;Click me&lt;/button&rt;</code></pre>
22628+
<pre><code class="html">&lt;button type="button" onclick="import('./foo.mjs')"&gt;Click me&lt;/button&gt;</code></pre>
2262922629

2263022630
<p>there will be no active script or module at the time the <emu-xref href="#sec-import-calls">`import()`</emu-xref> expression runs. More generally, this can happen in any situation where the host pushes execution contexts with *null* ScriptOrModule components onto the execution context stack.</p>
2263122631
</emu-note>
@@ -23440,9 +23440,9 @@ <h1>Forbidden Extensions</h1>
2344023440
<li>
2344123441
When parsing for the |Module| goal symbol, the lexical grammar extensions defined in <emu-xref href="#sec-html-like-comments"></emu-xref> must not be supported.
2344223442
</li>
23443+
<!-- The following is so that in the future we can potentially add new arguments or support ArgumentList. -->
2344323444
<li>
2344423445
|ImportCall| must not be extended.
23445-
<!-- This is so that in the future we can potentially add new arguments or support ArgumentList. -->
2344623446
</li>
2344723447
</ul>
2344823448
</emu-clause>

0 commit comments

Comments
 (0)