Re: [whatwg/fetch] Add 'target browsing context' to requests. (#466)

Sorry that I missed this issue until now.

A target browsing context for a navigation is captured in [process a navigate fetch](https://html.spec.whatwg.org/multipage/browsers.html#process-a-navigate-fetch) step 4 (and the request's reserved client is set to that value in step 5.) The step 4 creates an [environment](https://html.spec.whatwg.org/multipage/webappapis.html#environment) that holds environmental states until the actual global object and environment settings object for fetched resource are created later (and set the corresponding states of the created environment settings object to them).

I'm curious if you need it before request's reserved client is set. If not, it'd be great if you could use the request's reserved client's [target browsing context](https://html.spec.whatwg.org/multipage/webappapis.html#concept-environment-target-browsing-context).

-- 
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/pull/466#issuecomment-277970787

Received on Tuesday, 7 February 2017 11:23:21 UTC