- From: Jungkee Song <notifications@github.com>
- Date: Wed, 03 Feb 2016 21:15:16 -0800
- To: whatwg/dom <dom@noreply.github.com>
Received on Thursday, 4 February 2016 05:15:45 UTC
> @@ -1065,6 +1065,15 @@ seen from the definition above, an <a>event listener</a> is a more broad concept
> method, when invoked, must run these steps:
>
> <ol>
> + <li>
> + <p>If the global object is a {{ServiceWorkerGlobalScope}} object and its associated
> + <a>service worker</a>'s <a>script resource</a>'s <a>has ever been evaluated flag</a> is set,
> + <a>throw</a> an {{InvalidStateError}} exception. [[!SW]]
> +
> + <p class="note no-backref">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.
I revised the note as such.
---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/155/files#r51830439
Received on Thursday, 4 February 2016 05:15:45 UTC