[whatwg/dom] Nerfing all events on all event targets in a serviceworker after initial script evaluation seems odd (#371)

As of today, https://dom.spec.whatwg.org/commit-snapshots/8eb68e48b3f613663425120edc5039d83b3a9de8/#dom-eventtarget-addeventlistener says:

> If context object’s relevant global object is a ServiceWorkerGlobalScope object and its associated service worker’s script resource’s has ever been evaluated flag is set, then throw a TypeError. [SERVICE-WORKERS] 

Why are we doing this for all event targets?  Why are we even doing it for all events?  This makes no sense.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/371

Received on Wednesday, 9 November 2016 18:18:15 UTC