Skip to content

Commit

Permalink
Use "queue an element task" properly in script preparation
Browse files Browse the repository at this point in the history
Previously the task had no specified task source.
  • Loading branch information
domenic committed Oct 5, 2022
1 parent d63708f commit 7d67a88
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -60380,7 +60380,8 @@ o............A....e
<li><p>Let <var>src</var> be the value of <var>el</var>'s <code
data-x="attr-script-src">src</code> attribute.</p></li>

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

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

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

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

0 comments on commit 7d67a88

Please sign in to comment.