Re: [whatwg/fetch] Browsers preserve fragments on redirects (#505)

FWIW, this is where firefox does the fragment fixup:

https://searchfox.org/mozilla-central/rev/3ff133d19f87da2ba01ade55d6e7fdf0fc28b08c/dom/serviceworkers/ServiceWorkerEvents.cpp#704-715

The rationale for this is discussed previously in this thread here:

https://github.com/whatwg/fetch/issues/505#issuecomment-365373835

So I believe your question mark outcomes would be `y` and `y#x`.  (See the assert that the response URL never has a fragment exposed.)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/505#issuecomment-777555306

Received on Thursday, 11 February 2021 15:08:25 UTC