Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b047ceb

Browse files
domenicannevk
authored andcommitted
Don't queue a redundant task to fire module script load events
Fixes whatwg#1817.
1 parent f9ac1ce commit b047ceb

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

source

+2-11
Original file line numberDiff line numberDiff line change
@@ -58176,17 +58176,8 @@ o............A....e
5817658176
<li>
5817758177

5817858178
<p>If the script is <span data-x="concept-script-external">from an external file</span>, then
58179-
switch on <span data-x="concept-script-type">the script's type</span>:</p>
58180-
58181-
<dl class="switch">
58182-
<dt>"<code data-x="">classic</code>"</dt>
58183-
<dd><span>Fire a simple event</span> named <code data-x="event-load">load</code> at the
58184-
<code>script</code> element.</dd>
58185-
58186-
<dt>"<code data-x="">module</code>"</dt>
58187-
<dd><span>Queue a task</span> to <span>fire a simple event</span> named <code
58188-
data-x="event-load">load</code> at the <code>script</code> element.</dd>
58189-
</dl>
58179+
<span>fire a simple event</span> named <code data-x="event-load">load</code> at the
58180+
<code>script</code> element.</p>
5819058181

5819158182
</li>
5819258183

0 commit comments

Comments
 (0)