[ServiceWorker] FetchEvent is non cancelable yet checks canceled flag (#741)

Spec "Create a trusted event e that uses the FetchEvent interface, with the event type fetch, which does not bubble, is not cancelable, and has no default action."

But later "If event's canceled flag is set, then:

    Set eventCanceled to true.
"

The DOM spec says preventDefault() can only set the canceled flag if the event is cancelable. [1]

[1]: https://dom.spec.whatwg.org/#dom-event-preventdefault

So cancelable or not cancelable?

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/741

Received on Monday, 31 August 2015 21:49:48 UTC