From e0be414fa1d9f3b4e841ca74bfc43ee3d7586fc4 Mon Sep 17 00:00:00 2001 From: Yoav Weiss Date: Fri, 6 Mar 2020 04:10:53 -0800 Subject: [PATCH] [UA client hints] Align implementation with PR#46, #48 & #70 This CL aligns the UA-CH implementation with PR#46[1], #48[2] and #70[3]. [1] https://github.com/WICG/ua-client-hints/pull/46 [2] https://github.com/WICG/ua-client-hints/pull/48 [3] https://github.com/WICG/ua-client-hints/pull/70 Change-Id: I8221d8a967213180a1aa1d9ef23f17e6f95718b7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2019369 Reviewed-by: Mike West Reviewed-by: Daniel Vogelheim Reviewed-by: Aaron Tagliaboschi Reviewed-by: Avi Drissman Commit-Queue: Yoav Weiss Cr-Commit-Position: refs/heads/master@{#747644} --- client-hints/resources/sec-ch-ua.py | 2 +- .../navigator_user_agent.https.html | 28 +++++++++++++++++++ .../navigator_user_agent.tentative.https.html | 21 -------------- 3 files changed, 29 insertions(+), 22 deletions(-) create mode 100644 html/webappapis/system-state-and-capabilities/the-navigator-object/navigator_user_agent.https.html delete mode 100644 html/webappapis/system-state-and-capabilities/the-navigator-object/navigator_user_agent.tentative.https.html diff --git a/client-hints/resources/sec-ch-ua.py b/client-hints/resources/sec-ch-ua.py index a14a27dadf9e33..f77eee8c4e9b13 100644 --- a/client-hints/resources/sec-ch-ua.py +++ b/client-hints/resources/sec-ch-ua.py @@ -5,7 +5,7 @@ def main(request, response): response.headers.set("Accept-CH-Lifetime", "10") response.content = ''' Sec-CH-UA: %s ''' % (ua, ua) diff --git a/html/webappapis/system-state-and-capabilities/the-navigator-object/navigator_user_agent.https.html b/html/webappapis/system-state-and-capabilities/the-navigator-object/navigator_user_agent.https.html new file mode 100644 index 00000000000000..4c83c7e8a546dd --- /dev/null +++ b/html/webappapis/system-state-and-capabilities/the-navigator-object/navigator_user_agent.https.html @@ -0,0 +1,28 @@ + + + + + diff --git a/html/webappapis/system-state-and-capabilities/the-navigator-object/navigator_user_agent.tentative.https.html b/html/webappapis/system-state-and-capabilities/the-navigator-object/navigator_user_agent.tentative.https.html deleted file mode 100644 index 5f0dba6bcf72cb..00000000000000 --- a/html/webappapis/system-state-and-capabilities/the-navigator-object/navigator_user_agent.tentative.https.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - -