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

This is an editorial PR which adapts fetch to embedder policy moving to the policy container (https://github.com/whatwg/html/pull/6793).

As a side effect, this fixes possible inconsistencies caused by concurrent accessing an environment settings object's embedder policy during fetch, since now fetch uses instead the embedder policy of the request's policy container (snapshotted at the beginning of fetch) for the checks.

You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/fetch/pull/1258

-- Commit Summary --

  * Adapt to embedder policy in policy container

-- File Changes --

    M fetch.bs (31)

-- Patch Links --

https://github.com/whatwg/fetch/pull/1258.patch
https://github.com/whatwg/fetch/pull/1258.diff

-- 
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

Received on Tuesday, 22 June 2021 13:57:10 UTC