diff --git a/dom.bs b/dom.bs index 02e664d7e..852ff542b 100644 --- a/dom.bs +++ b/dom.bs @@ -1065,6 +1065,15 @@ seen from the definition above, an event listener is a more broad concept method, when invoked, must run these steps:
If the global object is a {{ServiceWorkerGlobalScope}} object and its associated + service worker's has ever been evaluated flag is set, throw an + {{InvalidStateError}} exception. [[!SW]] + +
To optimize the service worker execution behavior, the user agent + throws an {{InvalidStateError}} exception when the method is called after the very first + evaluation of the service worker script. +
If callback is null, terminate these steps.
Let capture and passive be the result of flattening