Re: [whatwg/dom] Prohibit ServiceWorker event handler update after the initialization. (PR #1161)

I prefer not changing this. If we got to do this again I'd probably push harder for service workers not using events, but now that they do use events they should stick to the event model as close as possible. Having certain known "types" be ignored or throw exceptions very much goes against that.

Contrived, I know, but you might very well have a custom `push` event you dispatch on the global or any other kind of known "type" we might add to the platform.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1161#issuecomment-1471877862
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/pull/1161/c1471877862@github.com>

Received on Thursday, 16 March 2023 12:35:37 UTC