Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 1 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /ua-client-hints/useragentdata.https.tentative.any.html - WPT Dashboard Interop Dashboard
- /ua-client-hints/useragentdata.https.tentative.any.worker.html - WPT Dashboard Interop Dashboard
// 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");