Skip to content

Commit 5d34cb8

Browse files
committed
Use "queue an element task" properly in script preparation
Previously the task had no specified task source.
1 parent d63708f commit 5d34cb8

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

source

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60380,7 +60380,8 @@ o............A....e
6038060380
<li><p>Let <var>src</var> be the value of <var>el</var>'s <code
6038160381
data-x="attr-script-src">src</code> attribute.</p></li>
6038260382

60383-
<li><p>If <var>src</var> is the empty string, then <span>queue a task</span> to <span
60383+
<li><p>If <var>src</var> is the empty string, then <span>queue an element task</span> on the
60384+
<span>DOM manipulation task source</span> given <var>el</var> to <span
6038460385
data-x="concept-event-fire">fire an event</span> named <code data-x="event-error">error</code>
6038560386
at <var>el</var>, and return.</p></li>
6038660387

@@ -60390,10 +60391,10 @@ o............A....e
6039060391
<li><p><span data-x="parse a url">Parse</span> <var>src</var> relative to <var>el</var>'s
6039160392
<span>node document</span>.</p></li>
6039260393

60393-
<li><p>If the previous step failed, <span>queue a task</span> to <span
60394-
data-x="concept-event-fire">fire an event</span> named <code data-x="event-error">error</code>
60395-
at <var>el</var>, and return. Otherwise, let <var>url</var> be the <span>resulting URL
60396-
record</span>.</p></li>
60394+
<li><p>If the previous step failed, then <span>queue an element task</span> on the <span>DOM
60395+
manipulation task source</span> given <var>el</var> to <span data-x="concept-event-fire">fire
60396+
an event</span> named <code data-x="event-error">error</code> at <var>el</var>, and return.
60397+
Otherwise, let <var>url</var> be the <span>resulting URL record</span>.</p></li>
6039760398

6039860399
<li><p>If <var>el</var> is <span>potentially render-blocking</span>, then <span>block
6039960400
rendering</span> on <var>el</var>.</p></li>

0 commit comments

Comments
 (0)