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

@jakearchibald @jungkees @wanderview did this behavior get implemented?

I think I'm okay with what @bzbarsky argues for. That we investigate which listeners were added at the end of some task. We record their event names as being able to start the service worker and we leave everything else as-is. So you can continue to use custom events, including custom events named `fetch`, without getting exceptions.

I think we should probably also only do this for some of the existing event names, such as `fetch`, and require explicit opt-in going forward.

Thoughts?

-- 
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#issuecomment-372563845

Received on Tuesday, 13 March 2018 06:48:59 UTC