WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2018-01-16 04:14:20 PST
<
rdar://problem/36540300
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug