Bug 1614789 [wpt PR 21737] - [client hints] Send sec-ch-ua-mobile by default, a=testonly
authorMaks Orlovich <morlovich@chromium.org>
Mon, 17 Feb 2020 17:00:21 +0000
changeset 514471 b5e40bbc5868950a436d4f3a7ede06e8ef03251c
parent 514470 a587b1da0263e3d623498cdb4ea84fd6de31d351
child 514472 11afaf679bac33a512da4a62bb4ec11e342eb593
push id107608
push userwptsync@mozilla.com
push dateTue, 18 Feb 2020 19:32:13 +0000
treeherderautoland@292082ca1880 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1614789, 21737, 2012902, 2047410, 741152
milestone75.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1614789 [wpt PR 21737] - [client hints] Send sec-ch-ua-mobile by default, a=testonly Automatic update from web-platform-tests [client hints] Send sec-ch-ua-mobile by default This is basically Aaron Tagliaboschi's: https://chromium-review.googlesource.com/c/chromium/src/+/2012902 just with a bit of additional updated of tests. See https://github.com/WICG/ua-client-hints/issues/15 for rationale. Change-Id: I6562cf1a78ceb4eff18baf793cb89143782f9b7b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2047410 Commit-Queue: Maksim Orlovich <morlovich@chromium.org> Reviewed-by: Yoav Weiss <yoavweiss@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Cr-Commit-Position: refs/heads/master@{#741152} -- wpt-commits: ef9cdbda21c71b7af4da19d58ff648dba3f58985 wpt-pr: 21737
testing/web-platform/tests/client-hints/accept-ch-feature-policy.sub.https.html
--- a/testing/web-platform/tests/client-hints/accept-ch-feature-policy.sub.https.html
+++ b/testing/web-platform/tests/client-hints/accept-ch-feature-policy.sub.https.html
@@ -51,17 +51,16 @@ promise_test(t => {
     // cross-origin fetch which are specifically requested via Feature-Policy.
     assert_true(r.headers.has("device-memory-received"), "device-memory-received");
     assert_false(r.headers.has("dpr-received"), "dpr-received");
     assert_false(r.headers.has("lang-received"), "lang-received");
     assert_false(r.headers.has("viewport-width-received"), "viewport-width-received");
     assert_false(r.headers.has("rtt-received"), "rtt-received");
     assert_false(r.headers.has("downlink-received"), "downlink-received");
     assert_false(r.headers.has("ect-received"), "ect-received");
-    assert_false(r.headers.has("mobile-received"), "mobile-received");
   });
 }, "Cross-Origin Accept-CH header test");
 
 
 
 </script>
 
 </body>