Re: [slightlyoff/ServiceWorker] clarify behavior when fetch event handler throws (#896)

Right. We removed the monkey patch (that tried to detect exceptions) as you commented before. If we'd really want this, I think we might have to change event dispatch. That is, we'll need a new flag in an event like `exception thrown flag` and to set it in https://dom.spec.whatwg.org/#concept-event-listener-inner-invoke step 2.7 when the callback throws an exception. And SW just uses that flag later in the install steps.

But I slightly prefer we stay with the current event behavior for consistency, having clarified that any error occurring in async tasks will make the install fail.

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

Received on Wednesday, 17 August 2016 05:26:44 UTC