Skip to content

Commit

Permalink
[UA-CH] Rename Accept-CH tokens
Browse files Browse the repository at this point in the history
Bring tokens inline with Section 3.1 of the Client Hints spec, which
recommends tokens be the same as the header name they're associated
with.

Also fixing the *copious* tests associated with this change...

Intent to Remove: https://groups.google.com/u/1/a/chromium.org/g/blink-dev/c/t-S9nnos9qU

Bug: 1153688
Change-Id: I2bfe038abe887713d56ef835e8f9d61246001040
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2595089
Reviewed-by: Maksim Orlovich <morlovich@chromium.org>
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Commit-Queue: Aaron Tagliaboschi <aarontag@chromium.org>
Cr-Commit-Position: refs/heads/master@{#846075}
  • Loading branch information
amtunlimited authored and chromium-wpt-export-bot committed Jan 22, 2021
1 parent 1132417 commit b8f8af1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -1 +1 @@
Accept-CH: dpr,device-memory,viewport-width,rtt,downlink,ect,lang,ua,ua-arch,ua-platform,ua-platform-version,ua-model
Accept-CH: dpr,device-memory,viewport-width,rtt,downlink,ect,lang,sec-ch-ua,sec-ch-ua-arch,sec-ch-ua-platform,sec-ch-ua-platform-version,sec-ch-ua-model
2 changes: 1 addition & 1 deletion client-hints/sec-ch-quotes.https.html.headers
@@ -1 +1 @@
Accept-CH: ua,ua-arch,ua-platform,ua-platform-version,ua-model
Accept-CH: sec-ch-ua,sec-ch-ua-arch,sec-ch-ua-platform,sec-ch-ua-platform-version,sec-ch-ua-model

0 comments on commit b8f8af1

Please sign in to comment.