commit 6b3bbc16a136bb1b5f9637760b30e4373549fadd
parent ca1e9374413bbc0a0f0d4cb6e935a657d2bca400
Author: Mike Taylor <miketaylr@chromium.org>
Date: Mon, 10 Nov 2025 22:19:50 +0000
Bug 1998989 [wpt PR 55943] - Move Linux tests out of tentative file, a=testonly
Automatic update from web-platform-tests
Move Linux tests out of tentative file
These are part of the spec, and shouldn't be considered tentative.
Change-Id: I7d28abbd82866e10f524acd0014b5067528a14c1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7128280
Commit-Queue: Mike Taylor <miketaylr@chromium.org>
Reviewed-by: Victor Tan <victortan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1541875}
--
wpt-commits: f619a9ee3d625d9520e51b0651ae60005d22aef0
wpt-pr: 55943
Diffstat:
2 files changed, 11 insertions(+), 12 deletions(-)
diff --git a/testing/web-platform/tests/ua-client-hints/useragentdata.https.any.js b/testing/web-platform/tests/ua-client-hints/useragentdata.https.any.js
@@ -58,3 +58,14 @@ promise_test(() => {
hints => assert_true(["x86", "arm"].some(item => item == hints.architecture))
);
}, "Arch should be one of two permitted values.");
+
+promise_test(() => {
+ return navigator.userAgentData.getHighEntropyValues(["platformVersion", "wow64"]).then(
+ hints => {
+ if (navigator.userAgentData.platform === "Linux") {
+ assert_true(hints.platformVersion === "");
+ assert_equals(hints.wow64, false);
+ }
+ }
+ );
+}, "Platform version and wow64-ness on Linux should be fixed values");
diff --git a/testing/web-platform/tests/ua-client-hints/useragentdata.https.tentative.any.js b/testing/web-platform/tests/ua-client-hints/useragentdata.https.tentative.any.js
@@ -1,12 +0,0 @@
-// META: title=tests for navigator.userAgentData on Linux
-
-promise_test(() => {
- return navigator.userAgentData.getHighEntropyValues(["platformVersion", "wow64"]).then(
- hints => {
- if (navigator.userAgentData.platform === "Linux") {
- assert_true(hints.platformVersion === "");
- assert_equals(hints.wow64, false);
- }
- }
- );
-}, "Platform version and wow64-ness on Linux should be fixed values");