diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /testing/web-platform/tests/html/webappapis | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-upstream/125.0.1.tar.xz firefox-upstream/125.0.1.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/html/webappapis')
-rw-r--r-- | testing/web-platform/tests/html/webappapis/system-state-and-capabilities/the-navigator-object/navigator_user_agent.https.html | 8 |
1 files changed, 4 insertions, 4 deletions
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 index 10b3dd2249..3fbe3eaa62 100644 --- 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 @@ -20,14 +20,14 @@ assert_equals(typeof uaData.mobile, "boolean", "mobile should be a boolean"); const highEntropyData = await uaData.getHighEntropyValues([ - "platformVersion", "architecture", "model", "uaFullVersion", "fullVersionList", "formFactor"]); + "platformVersion", "architecture", "model", "uaFullVersion", "fullVersionList", "formFactors"]); assert_equals(typeof highEntropyData["platform"], "string", "Platform brand should be a string"); assert_equals(typeof highEntropyData["platformVersion"], "string", "Platform version should be a string"); assert_equals(typeof highEntropyData["architecture"], "string", "Architecture should be a string"); assert_equals(typeof highEntropyData["model"], "string", "Model should be a string"); assert_equals(typeof highEntropyData["uaFullVersion"], "string", "UAFullVersion should be a string"); - for (formFactor of highEntropyData['formFactor']) { - assert_equals(typeof formFactor, "string", "Each FormFactor should be a string"); + for (formFactor of highEntropyData['formFactors']) { + assert_equals(typeof formFactor, "string", "Each FormFactors value should be a string"); } for (brandVersionPair of highEntropyData['fullVersionList']) { assert_equals(typeof brandVersionPair.brand, "string", "brand should be a string"); @@ -40,7 +40,7 @@ assert_false("architecture" in highEntropyData2, "Architecture should be an empty string"); assert_false("model" in highEntropyData2, "Model should be an empty string"); assert_false("uaFullVersion" in highEntropyData2, "UAFullVersion should be an empty string"); - assert_false("formFactor" in highEntropyData2, "FormFactor should be an empty string"); + assert_false("formFactors" in highEntropyData2, "FormFactors should be an empty array"); assert_false("fullVersionList" in highEntropyData2, "fullVersionList should not be present"); let finalPromise = uaData.getHighEntropyValues([]).then(() => { assert_true(didMicrotaskRun, "getHighEntropyValues queued on a task"); |