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.
Let's do the work in bug 187461. *** This bug has been marked as a duplicate of bug 187461 ***