Re: [whatwg/dom] Export terms needed for ServiceWorker/1674 (PR #1170)

@annevk commented on this pull request.

Thanks, looks good modulo nits.

> @@ -1243,6 +1243,25 @@ 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

event listener callbacks*

> @@ -1243,6 +1243,25 @@ 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
+{{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>.

```suggestion
 <li><p>Let <var>callbacks</var> be « ».
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1170#pullrequestreview-1348906234
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/pull/1170/review/1348906234@github.com>

Received on Monday, 20 March 2023 16:02:13 UTC