From fbe15a191b50c8ded28d4e054f7bc6fb9c2949e9 Mon Sep 17 00:00:00 2001 From: Yoav Weiss Date: Mon, 9 Mar 2020 21:44:33 +0000 Subject: [PATCH] Bug 1611717 [wpt PR 21428] - [UA client hints] Align implementation with PR#46, #48 & #70, a=testonly Automatic update from web-platform-tests [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} -- wpt-commits: e0be414fa1d9f3b4e841ca74bfc43ee3d7586fc4 wpt-pr: 21428 --- .../tests/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 testing/web-platform/tests/html/webappapis/system-state-and-capabilities/the-navigator-object/navigator_user_agent.https.html delete mode 100644 testing/web-platform/tests/html/webappapis/system-state-and-capabilities/the-navigator-object/navigator_user_agent.tentative.https.html diff --git a/testing/web-platform/tests/client-hints/resources/sec-ch-ua.py b/testing/web-platform/tests/client-hints/resources/sec-ch-ua.py index a14a27dadf9e..f77eee8c4e9b 100644 --- a/testing/web-platform/tests/client-hints/resources/sec-ch-ua.py +++ b/testing/web-platform/tests/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/testing/web-platform/tests/html/webappapis/system-state-and-capabilities/the-navigator-object/navigator_user_agent.https.html b/testing/web-platform/tests/html/webappapis/system-state-and-capabilities/the-navigator-object/navigator_user_agent.https.html new file mode 100644 index 000000000000..4c83c7e8a546 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/system-state-and-capabilities/the-navigator-object/navigator_user_agent.https.html @@ -0,0 +1,28 @@ + + + + + diff --git a/testing/web-platform/tests/html/webappapis/system-state-and-capabilities/the-navigator-object/navigator_user_agent.tentative.https.html b/testing/web-platform/tests/html/webappapis/system-state-and-capabilities/the-navigator-object/navigator_user_agent.tentative.https.html deleted file mode 100644 index 5f0dba6bcf72..000000000000 --- a/testing/web-platform/tests/html/webappapis/system-state-and-capabilities/the-navigator-object/navigator_user_agent.tentative.https.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - -