Skip to content

Commit

Permalink
Fixes following feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jakearchibald authored and annevk committed Mar 22, 2023
1 parent d25443b commit 48dd2d5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dom.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1226,12 +1226,12 @@ property of the event being dispatched.
<p>Ideally, any new event APIs are defined such that they do not need this property. (Use
<a href="https://github.com/whatwg/dom/issues">whatwg/dom</a> for discussion.)

<p>To <dfn export>legacy-obtain service worker fetch event listeners</dfn> given a
<p>To <dfn export>legacy-obtain service worker fetch event listener callbacks</dfn> given a
{{ServiceWorkerGlobalScope}} <var>global</var>, run these steps. They return a <a for=/>list</a> of
{{EventListener}} objects.

<ol>
<li><p>Let <var>eventListeners</var> be a new <a for=/>list</a>.
<li><p>Let <var>callbacks</var> be « ».

<li><p><a for=list>For each</a> <var>listener</var> of <var>global</var>'s
<a>event listener list</a>:
Expand All @@ -1240,10 +1240,10 @@ property of the event being dispatched.
<li><p>If <var>listener</var>'s <a for="event listener">type</a> is "<code>fetch</code>", and
<var>listener</var>'s <a for="event listener">callback</a> is not null, then
<a for=list>append</a> <var>listener</var>'s <a for="event listener">callback</a> to
<var>eventListeners</var>.
<var>callbacks</var>.
</ol>

<li><p>Return <var>eventListeners</var>.
<li><p>Return <var>callbacks</var>.
</ol>

<h3 id=dispatching-events>Dispatching events</h3>
Expand Down

0 comments on commit 48dd2d5

Please sign in to comment.