diff options
Diffstat (limited to 'testing/web-platform/meta/badging')
5 files changed, 100 insertions, 0 deletions
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 |