From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- .../meta/badging/badge-error.https.html.ini | 22 ++++++++++++++ .../meta/badging/badge-success.https.html.ini | 34 ++++++++++++++++++++++ .../meta/badging/idlharness.https.any.js.ini | 32 ++++++++++++++++++++ .../meta/badging/non-fully-active.https.html.ini | 3 ++ .../setAppBadge_cross_origin.sub.https.html.ini | 9 ++++++ 5 files changed, 100 insertions(+) create mode 100644 testing/web-platform/meta/badging/badge-error.https.html.ini create mode 100644 testing/web-platform/meta/badging/badge-success.https.html.ini create mode 100644 testing/web-platform/meta/badging/idlharness.https.any.js.ini create mode 100644 testing/web-platform/meta/badging/non-fully-active.https.html.ini create mode 100644 testing/web-platform/meta/badging/setAppBadge_cross_origin.sub.https.html.ini (limited to 'testing/web-platform/meta/badging') diff --git a/testing/web-platform/meta/badging/badge-error.https.html.ini b/testing/web-platform/meta/badging/badge-error.https.html.ini new file mode 100644 index 0000000000..5c6c8e1cba --- /dev/null +++ b/testing/web-platform/meta/badging/badge-error.https.html.ini @@ -0,0 +1,22 @@ +[badge-error.https.html] + [Negative infinity] + expected: FAIL + + [NaN] + expected: FAIL + + [Positive infinity] + expected: FAIL + + [Negative value not allowed] + expected: FAIL + + [Cannot convert to long: object] + expected: FAIL + + [Value too large (2^53)] + expected: FAIL + + [Cannot convert to long: "Foo"] + expected: FAIL + diff --git a/testing/web-platform/meta/badging/badge-success.https.html.ini b/testing/web-platform/meta/badging/badge-success.https.html.ini new file mode 100644 index 0000000000..b2dbe35dce --- /dev/null +++ b/testing/web-platform/meta/badging/badge-success.https.html.ini @@ -0,0 +1,34 @@ +[badge-success.https.html] + [No parameter should show a flag with no numeric value.] + expected: FAIL + + [Set to zero should clear the badge.] + expected: FAIL + + [Setting to true should display a value of 1.] + expected: FAIL + + [Setting to null should clear the badge.] + expected: FAIL + + [Setting to false should clear the badge.] + expected: FAIL + + [undefined should show a flag with no numeric value.] + expected: FAIL + + [Maximum allowed value (2^53 - 1) should display saturated value: '99+'.] + expected: FAIL + + [Non-whole number should round down to nearest integer (10).] + expected: FAIL + + [Setting to the string '3' should display a value of 3.] + expected: FAIL + + [An integer value of 3 should show the badge vale 3.] + expected: FAIL + + [Should clear the badge.] + expected: FAIL + diff --git a/testing/web-platform/meta/badging/idlharness.https.any.js.ini b/testing/web-platform/meta/badging/idlharness.https.any.js.ini new file mode 100644 index 0000000000..57f9255d23 --- /dev/null +++ b/testing/web-platform/meta/badging/idlharness.https.any.js.ini @@ -0,0 +1,32 @@ +[idlharness.https.any.html] + [Navigator interface: navigator must inherit property "clearAppBadge()" with the proper type] + expected: FAIL + + [Navigator interface: operation clearAppBadge()] + expected: FAIL + + [Navigator interface: calling setAppBadge(optional unsigned long long) on navigator with too few arguments must throw TypeError] + expected: FAIL + + [Navigator interface: operation setAppBadge(optional unsigned long long)] + expected: FAIL + + [Navigator interface: navigator must inherit property "setAppBadge(optional unsigned long long)" with the proper type] + expected: FAIL + + +[idlharness.https.any.worker.html] + [WorkerNavigator interface: navigator must inherit property "clearAppBadge()" with the proper type] + expected: FAIL + + [WorkerNavigator interface: operation clearAppBadge()] + expected: FAIL + + [WorkerNavigator interface: navigator must inherit property "setAppBadge(optional unsigned long long)" with the proper type] + expected: FAIL + + [WorkerNavigator interface: calling setAppBadge(optional unsigned long long) on navigator with too few arguments must throw TypeError] + expected: FAIL + + [WorkerNavigator interface: operation setAppBadge(optional unsigned long long)] + expected: FAIL diff --git a/testing/web-platform/meta/badging/non-fully-active.https.html.ini b/testing/web-platform/meta/badging/non-fully-active.https.html.ini new file mode 100644 index 0000000000..82e4f77dfe --- /dev/null +++ b/testing/web-platform/meta/badging/non-fully-active.https.html.ini @@ -0,0 +1,3 @@ +[non-fully-active.https.html] + [badging a non-fully active document should reject with InvalidStateError] + expected: FAIL diff --git a/testing/web-platform/meta/badging/setAppBadge_cross_origin.sub.https.html.ini b/testing/web-platform/meta/badging/setAppBadge_cross_origin.sub.https.html.ini new file mode 100644 index 0000000000..030eeff41e --- /dev/null +++ b/testing/web-platform/meta/badging/setAppBadge_cross_origin.sub.https.html.ini @@ -0,0 +1,9 @@ +[setAppBadge_cross_origin.sub.https.html] + [Test that navigator.setAppBadge is available] + expected: FAIL + + [Test that calling setAppBadge in a cross-origin iframe throws a SecurityError] + expected: FAIL + + [Test that calling setAppBadge in a same-origin iframe succeeds] + expected: FAIL -- cgit v1.2.3