Re: [w3c/ServiceWorker] Behavior of the onfetch setter regarding no-fetch service workers (#1004)

> When an event handler H of an element or object T implementing the EventTarget interface is first set to a non-null value

> Event handler IDL attributes, on setting, must set the corresponding event handler to their new value

Yeah, the idea is to add the following step to the above places:

"Throw when T is a ServiceWorkerGlobalScope object, type is an event type in the while list, and the SW's has ever been evaluated flag is set."

But this isn't decided yet. We should conclude what the better design would be in https://github.com/whatwg/dom/issues/371.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1004#issuecomment-271854676

Received on Wednesday, 11 January 2017 12:19:30 UTC