Re: [dom] Make addEventListener throw for service worker optimization (#155)

> @@ -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]]

Addressed.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/155/files#r51830421

Received on Thursday, 4 February 2016 05:15:35 UTC