Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set referrer policy better for <iframe srcdoc> documents
See w3c/webappsec-referrer-policy#31. Such documents should not inherit the referrer policy from their parent document. Instead, we should define the referrer policy for a browsing context environment settings object to crawl upward when it encounters iframe srcdoc documents, just like the referrer policy spec already does for referrers. (It turns out we never actually defined the referrer policy for browsing context environment settings objects previously; oops!) This affects the referrer policy used when making requests from inside an iframe srcdoc document. Closes w3c/webappsec-referrer-policy#31.
- Loading branch information