[whatwg/fetch] Use referrer policy from policy container (#1233)

This is a companion change to https://github.com/whatwg/html/pull/6677, which moves referrer policy into the policy container.

As a consequence of this change, the referrer policy used for the request is a snapshot of the relevant referrer policy when the request is being created, and won't change during the lifetime of the request, addressing a variant of https://github.com/whatwg/fetch/issues/832 for referrer policy.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Use referrer policy from policy container

-- File Changes --

    M fetch.bs (9)

-- Patch Links --

https://github.com/whatwg/fetch/pull/1233.patch
https://github.com/whatwg/fetch/pull/1233.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/1233

Received on Wednesday, 12 May 2021 08:06:18 UTC