Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate with Fetch Metadata. #993

Merged
merged 7 commits into from
Mar 4, 2021
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ specifications:
<li>Redirects
<li>Cross-origin semantics
<li>CSP [[!CSP]]
<li>Fetch Metadata [[!FETCH-METADATA]]
<li>Service workers [[!SW]]
<li>Mixed Content [[!MIX]]
<li>`<code>Referer</code>` [[!REFERRER]]
Expand Down Expand Up @@ -1555,6 +1556,10 @@ Unless stated otherwise, it is unset.

<p class="note no-backref">This flag is for exclusive use by HTML's navigate algorithm. [[!HTML]]

<p>A <a for=/>request</a> has an associated
<dfn export for=request id=concept-request-user-activation-flag>user-activation flag</dfn>. Unless
stated otherwise, it is unset.
annevk marked this conversation as resolved.
Show resolved Hide resolved

<hr>

<p>A <a for=/>request</a> has an associated
Expand Down Expand Up @@ -3335,6 +3340,9 @@ optionally with a <i>recursive flag</i>, run these steps:
<li><p><a href=https://w3c.github.io/webappsec-upgrade-insecure-requests/#upgrade-request>Upgrade <var>request</var> to a potentially secure URL, if appropriate</a>.
[[!UPGRADE]]

<li><p><a abstract-op lt="set the Fetch metadata headers for a request">Set the Fetch metadata headers for <var>request</var></a>.
annevk marked this conversation as resolved.
Show resolved Hide resolved
[[!FETCH-METADATA]]

<li><p>If
<a lt="block bad port">should fetching <var>request</var> be blocked due to a bad port</a>,
<a href=https://w3c.github.io/webappsec-mixed-content/#should-block-fetch>should fetching <var>request</var> be blocked as mixed content</a>,
Expand Down