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

We're currently looking into this because of investigations into skipping the SW startup for trivial/simple handlers (in addition to the existing behaviour of skipping it for no handler). The thinking is that the possibility of dynamic changes to the set of listeners of an event will make any static analysis of the definition of "trivial" near impossible.

We weren't aware of the previous discussion, sorry about that and thanks for bringing it up. We'll catch up on the history there and will see if we have any new thoughts, arguments or evidence.

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

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

Received on Thursday, 16 March 2023 07:37:20 UTC