diff options
Diffstat (limited to 'testing/web-platform/meta/badging')
3 files changed, 107 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..7f691d850b --- /dev/null +++ b/testing/web-platform/meta/badging/idlharness.https.any.js.ini @@ -0,0 +1,51 @@ +[idlharness.https.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Navigator interface: navigator must inherit property "clearClientBadge()" with the proper type] + expected: FAIL + + [Navigator interface: operation clearClientBadge()] + expected: FAIL + + [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: calling setClientBadge(optional unsigned long long) on navigator with too few arguments must throw TypeError] + expected: FAIL + + [Navigator interface: navigator must inherit property "setAppBadge(optional unsigned long long)" with the proper type] + expected: FAIL + + [Navigator interface: navigator must inherit property "setClientBadge(optional unsigned long long)" with the proper type] + expected: FAIL + + [Navigator interface: operation setClientBadge(optional unsigned long long)] + expected: FAIL + + +[idlharness.https.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [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 |