[Webkit-unassigned] [Bug 181671] New: Service Workers should intercept `sendBeacon` requests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 16 00:08:41 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=181671

            Bug ID: 181671
           Summary: Service Workers should intercept `sendBeacon` requests
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Service Workers
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: yoav at yoav.ws

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180116/4e4d024f/attachment.html>


More information about the webkit-unassigned mailing list