diff --git a/dom.bs b/dom.bs index 7d94cb04..eb435564 100644 --- a/dom.bs +++ b/dom.bs @@ -1226,12 +1226,12 @@ property of the event being dispatched.
Ideally, any new event APIs are defined such that they do not need this property. (Use whatwg/dom for discussion.) -
To legacy-obtain service worker fetch event listeners given a +
To legacy-obtain service worker fetch event listener callbacks given a {{ServiceWorkerGlobalScope}} global, run these steps. They return a list of {{EventListener}} objects.
Let eventListeners be a new list. +
Let callbacks be « ».
For each listener of global's event listener list: @@ -1240,10 +1240,10 @@ property of the event being dispatched.
If listener's type is "fetch
", and
listener's callback is not null, then
append listener's callback to
- eventListeners.
+ callbacks.
Return eventListeners. +
Return callbacks.