Re: [w3c/ServiceWorker] Navigation preload shouldn't occur when there is no fetch event handler (#1058)

Good catch. The preload fetch shouldn't be sent if there's no fetch listener.

I don't think `enable()` should reject in this case, as preloading is a property of the registration, but "having a fetch listener" is a property of the service worker. Eg, I could successfully `enable()`, then update to a service worker without a fetch handler.



-- 
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/1058#issuecomment-274021796

Received on Friday, 20 January 2017 09:28:04 UTC