[whatwg/fetch] Verify request's window usage for preloads (Issue #1713)

### What is the issue with the Fetch Standard?

I see we are using request's window for a number of things here, but I wonder if that is correct.

In particular a forwarded request in a service worker can have its client set to the service worker environment, but its window would be the document environment where the request originated.

This also seems incompatible with allowing preloads to work in workers as has at least been envisioned.

@noamr I hope you can take a look at this.

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

Message ID: <whatwg/fetch/issues/1713@github.com>

Received on Friday, 29 September 2023 07:20:44 UTC