NEW 181671
Service Workers should intercept `sendBeacon` requests
https://bugs.webkit.org/show_bug.cgi?id=181671
Summary Service Workers should intercept `sendBeacon` requests
Yoav Weiss
Reported 2018-01-16 00:08:41 PST
As discussed on https://bugs.webkit.org/show_bug.cgi?id=181587 Service Workers currently do not intercept `sendBeacon()` requests. AFAICT from the Fetch spec, only requests issued by the SW[1] and WebSocket handshakes have their "service worker mode" set to "none". That means that all other requests should be intercepted and trigger a "fetch" event. [1] https://fetch.spec.whatwg.org/#fetch-method [2] https://fetch.spec.whatwg.org/#websocket-opening-handshake
Attachments
Radar WebKit Bug Importer
Comment 1 2018-01-16 04:14:20 PST
Note You need to log in before you can comment on or make changes to this bug.