DescriptionService Worker: FetchEvent.preventDefault() results in a network error
Since the default behavior is to fallback to network, preventDefault()
should cause a network error.
As per spec: https://github.com/slightlyoff/ServiceWorker/issues/51
(see commit f022c3a6d)
Also add a test for calling FetchEvent.respondWith() with a rejected
promise; this must also produce a network error.
BUG=432825
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185451
Patch Set 1 #Patch Set 2 : better error #Patch Set 3 : sync #
Messages
Total messages: 13 (5 generated)
|