Bug 183695

Summary: Service Worker does not receive a fetch event when sending a FormData using XMLHttpRequest
Product: WebKit Reporter: Thiago Soares <thiago.soares>
Component: Service WorkersAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Major CC: beidson, cdumez, youennf
Priority: P2    
Version: Safari Technology Preview   
Hardware: Mac   
OS: macOS 10.13   
URL: https://tas1982.github.io/serviceworker/public/index.html

Thiago Soares
Reported 2018-03-16 07:10:24 PDT
Request sent using the XMLHttpRequest and whose body is a FormData is not being intercepted by the Service Worker. It can be tested on https://tas1982.github.io/serviceworker/public/index.html The page has a form and two buttons: - The first button will submit the form and that request will be received as a fetch event in the Service Worker - The second button will submit the from using a FormData object and a XMLHttpRequest. This request will go direct to the server. The service worker will not intercept it.
Attachments
youenn fablet
Comment 1 2022-01-05 01:07:49 PST
Let's do the work in bug 187461. *** This bug has been marked as a duplicate of bug 187461 ***
Note You need to log in before you can comment on or make changes to this bug.