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

> If we want to log something in the console, we should probably only do it if event's type is one of "fetch", "message", ... right? What's the complete list there?

I think we can use [the definition of the functional event](https://w3c.github.io/ServiceWorker/#dfn-functional-events). And I can probably add a reference to the complete list of functional events from there. The service worker API page of MDN seems to be a good place we can maintain the list. What do you think?

> (And even that can be a little sketchy, as it might be a legitimate late addition due to synthetic events, but I guess in the majority of cases it'll be a legitimate problem.)

So, I think the warning message should point out the fact that the late addition for functional events doesn't run the service worker even though it was a legitimate call.

-- 
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-381612122

Received on Monday, 16 April 2018 14:14:09 UTC