- From: Andrew Sutherland <notifications@github.com>
- Date: Thu, 29 May 2025 09:02:31 -0700
- To: whatwg/xhr <xhr@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 29 May 2025 16:02:35 UTC
asutherland created an issue (whatwg/xhr#397) ### What is the issue with the XMLHttpRequest Standard? It's come up that the [WPTs for service-worker sync XHR interception fail on blink and webkit and pass on gecko](https://wpt.fyi/results/service-workers/service-worker/fetch-request-xhr-sync.https.html?label=experimental&label=master&aligned). Given that this has been a longstanding implementation divergence, perhaps we should standardize this by changing [the initialization of the Request instance in XHR's send() method](https://xhr.spec.whatwg.org/#ref-for-concept-request) to set the [service-workers mode](https://fetch.spec.whatwg.org/#request-service-workers-mode) to "none" for sync XHRs? Note that the req as initialized there is used for both sync and async XHR, and we would not want to impact async XHR where browsers are already aligned in intercepting the request. xref https://github.com/whatwg/xhr/issues/20 -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/xhr/issues/397 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/xhr/issues/397@github.com>
Received on Thursday, 29 May 2025 16:02:35 UTC