- From: Ben Kelly <notifications@github.com>
- Date: Tue, 26 Jul 2022 11:44:35 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 26 July 2022 18:44:47 UTC
The origin header is a bit of a distraction. The real issue here is the Sec-Fetch-Mode header. The "behavior 2" case above has `Sec-Fetch-Mode: navigate`. (Downloads are navigations.) Navigation requests match their URL against registration scope in order to find a service worker to handle a fetch event. So in this case only a service worker owned by dl.boxcloud.com could intercept the navigation request. This is all working as intended. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/issues/1653#issuecomment-1195852385 You are receiving this because you are subscribed to this thread. Message ID: <w3c/ServiceWorker/issues/1653/1195852385@github.com>
Received on Tuesday, 26 July 2022 18:44:47 UTC