Re: [whatwg/fetch] Adapt to embedder policy being in policy container (#1258)

@antosart commented on this pull request.



>  
 <ol>
  <li><p>Set <var>forNavigation</var> to false if it is not given.
 
- <li><p>Let <var>embedderPolicy</var> be <var>settingsObject</var>'s
- <a for="environment settings object">embedder policy</a>.

Right. In fact, we can completely abandon this PR, everything still works.

I like slightly better to take policies from the request's policy container (which is copied and set when starting the fetch) than from the settings object in the middle of fetching, since that ensures consistency. Embedder policy, however, cannot change, so we can also just leave this.  

-- 
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/1258#discussion_r656780254

Received on Wednesday, 23 June 2021 05:55:03 UTC