Skip to content

Commit b974f9d

Browse files
committed
Use a task source when dispatching EventSource events. #4506
This change specifies that the DOM manipulation task source should be used when dispatching events interpreted an EventSource stream. This is an incremental change towards specifying the source for all queue-a-task instances.
1 parent d11c073 commit b974f9d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128272,9 +128272,9 @@ any-char = %x0000-0009 / %x000B-000C / %x000E-10FFFF
128272128272
<li><p>Set the <var>data</var> buffer and the <var>event type</var> buffer to
128273128273
the empty string.</p></li>
128274128274

128275-
<li><p><span>Queue a task</span> which, if the <code
128276-
data-x="dom-EventSource-readyState">readyState</code> attribute is set to a value other than <code
128277-
data-x="dom-EventSource-CLOSED">CLOSED</code>, <span
128275+
<li><p><span>Queue a task</span> on the <span>DOM manipulation task source</span> which, if the
128276+
<code data-x="dom-EventSource-readyState">readyState</code> attribute is set to a value other
128277+
than <code data-x="dom-EventSource-CLOSED">CLOSED</code>, <span
128278128278
data-x="concept-event-dispatch">dispatches</span> the newly created event at the
128279128279
<code>EventSource</code> object.</p></li> <!-- so calling close() drops the messages immediately.
128280128280
The connection dying doesn't interfere with already-sent messages since it sets us to CLOSED via

0 commit comments

Comments
 (0)