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

Make it explicit that user agents can modify or omit hints #121

Merged
merged 6 commits into from
Jul 6, 2022
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update index.bs
arichiv authored Jul 6, 2022
commit 2d7402410bfbf523ae3d33fdf1aad25a33e4da10
2 changes: 2 additions & 0 deletions index.bs
Original file line number Diff line number Diff line change
@@ -230,7 +230,9 @@ following steps:
<ol>
<li>If |request| is not a [=navigation request=] for a "document" [=request/destination=] and if the result of running [[permissions-policy#algo-should-request-be-allowed-to-use-feature]]
given |request| and |hintName|'s associated feature in [[#policy-controlled-features]] returns `false`, then continue to next |hintName|.
<li>If |hintName| should be ommitted (see [=Security and Privacy considerations=]) then continue.
<li>Let |value| be the result of running [=find client hint value=] with |hintName|.
<li>If |hintName| should be lied about (see [=Security and Privacy considerations=]) then let |value| equal that lie.
<li>[=header list/append=] |hintName|/|value| to the [=request/header list=].
</ol>
</ol>