diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
commit | 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch) | |
tree | a31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /testing/web-platform/meta/battery-status | |
parent | Initial commit. (diff) | |
download | firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip |
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/battery-status')
18 files changed, 156 insertions, 0 deletions
diff --git a/testing/web-platform/meta/battery-status/__dir__.ini b/testing/web-platform/meta/battery-status/__dir__.ini new file mode 100644 index 0000000000..36238e7bda --- /dev/null +++ b/testing/web-platform/meta/battery-status/__dir__.ini @@ -0,0 +1,3 @@ +implementation-status: backlog +bug: 1634369 +prefs: [dom.battery.enabled:true] diff --git a/testing/web-platform/meta/battery-status/api-defined.https.html.ini b/testing/web-platform/meta/battery-status/api-defined.https.html.ini new file mode 100644 index 0000000000..781cb2bd56 --- /dev/null +++ b/testing/web-platform/meta/battery-status/api-defined.https.html.ini @@ -0,0 +1,3 @@ +[api-defined.https.html] + [verify basic getBattery API support] + expected: FAIL diff --git a/testing/web-platform/meta/battery-status/battery-allowed-by-permissions-policy-attribute-redirect-on-load.https.sub.html.ini b/testing/web-platform/meta/battery-status/battery-allowed-by-permissions-policy-attribute-redirect-on-load.https.sub.html.ini new file mode 100644 index 0000000000..8cf6ccf142 --- /dev/null +++ b/testing/web-platform/meta/battery-status/battery-allowed-by-permissions-policy-attribute-redirect-on-load.https.sub.html.ini @@ -0,0 +1,3 @@ +[battery-allowed-by-permissions-policy-attribute-redirect-on-load.https.sub.html] + [permissions policy allow="battery" allows same-origin relocation.] + expected: FAIL diff --git a/testing/web-platform/meta/battery-status/battery-allowed-by-permissions-policy-attribute.https.sub.html.ini b/testing/web-platform/meta/battery-status/battery-allowed-by-permissions-policy-attribute.https.sub.html.ini new file mode 100644 index 0000000000..3132c2b010 --- /dev/null +++ b/testing/web-platform/meta/battery-status/battery-allowed-by-permissions-policy-attribute.https.sub.html.ini @@ -0,0 +1,6 @@ +[battery-allowed-by-permissions-policy-attribute.https.sub.html] + [permissions policy "battery" can be enabled in same-origin iframe using allow="battery" attribute] + expected: FAIL + + [permissions policy "battery" can be enabled in cross-origin iframe using allow="battery" attribute] + expected: FAIL diff --git a/testing/web-platform/meta/battery-status/battery-allowed-by-permissions-policy.https.sub.html.ini b/testing/web-platform/meta/battery-status/battery-allowed-by-permissions-policy.https.sub.html.ini new file mode 100644 index 0000000000..ee9b341bdb --- /dev/null +++ b/testing/web-platform/meta/battery-status/battery-allowed-by-permissions-policy.https.sub.html.ini @@ -0,0 +1,9 @@ +[battery-allowed-by-permissions-policy.https.sub.html] + [Permissions-Policy header "battery=*" allows the top-level document.] + expected: FAIL + + [Permissions-Policy header "battery=*" allows same-origin iframes.] + expected: FAIL + + [Permissions-Policy header "battery=*" allows cross-origin iframes.] + expected: FAIL diff --git a/testing/web-platform/meta/battery-status/battery-allowed-in-same-origin-iframe.https.html.ini b/testing/web-platform/meta/battery-status/battery-allowed-in-same-origin-iframe.https.html.ini new file mode 100644 index 0000000000..0fe5316395 --- /dev/null +++ b/testing/web-platform/meta/battery-status/battery-allowed-in-same-origin-iframe.https.html.ini @@ -0,0 +1,4 @@ +[battery-allowed-in-same-origin-iframe.https.html] + [navigator.getBattery() is allowed in same origin iframe] + expected: FAIL + diff --git a/testing/web-platform/meta/battery-status/battery-default-permissions-policy.https.sub.html.ini b/testing/web-platform/meta/battery-status/battery-default-permissions-policy.https.sub.html.ini new file mode 100644 index 0000000000..35b474bcac --- /dev/null +++ b/testing/web-platform/meta/battery-status/battery-default-permissions-policy.https.sub.html.ini @@ -0,0 +1,6 @@ +[battery-default-permissions-policy.https.sub.html] + [Default "battery" permissions policy allows the top-level document.] + expected: FAIL + + [Default "battery" permissions policy allows same-origin iframes.] + expected: FAIL diff --git a/testing/web-platform/meta/battery-status/battery-disabled-by-permissions-policy.https.sub.html.ini b/testing/web-platform/meta/battery-status/battery-disabled-by-permissions-policy.https.sub.html.ini new file mode 100644 index 0000000000..89825c17d5 --- /dev/null +++ b/testing/web-platform/meta/battery-status/battery-disabled-by-permissions-policy.https.sub.html.ini @@ -0,0 +1,3 @@ +[battery-disabled-by-permissions-policy.https.sub.html] + [Permissions-Policy header "battery=()" disallows the top-level document.] + expected: FAIL diff --git a/testing/web-platform/meta/battery-status/battery-disallowed-in-cross-origin-iframe.https.sub.html.ini b/testing/web-platform/meta/battery-status/battery-disallowed-in-cross-origin-iframe.https.sub.html.ini new file mode 100644 index 0000000000..61b1a46666 --- /dev/null +++ b/testing/web-platform/meta/battery-status/battery-disallowed-in-cross-origin-iframe.https.sub.html.ini @@ -0,0 +1,4 @@ +[battery-disallowed-in-cross-origin-iframe.https.sub.html] + [throw a 'NotAllowedError' when invoking navigator.getBattery() within cross-origin iframe] + expected: FAIL + diff --git a/testing/web-platform/meta/battery-status/battery-promise-window.https.html.ini b/testing/web-platform/meta/battery-status/battery-promise-window.https.html.ini new file mode 100644 index 0000000000..93f335005e --- /dev/null +++ b/testing/web-platform/meta/battery-status/battery-promise-window.https.html.ini @@ -0,0 +1,5 @@ +[battery-promise-window.https.html] + expected: TIMEOUT + [window.open() makes a different Navigator object thus getting another battery promise] + expected: TIMEOUT + diff --git a/testing/web-platform/meta/battery-status/battery-promise.https.html.ini b/testing/web-platform/meta/battery-status/battery-promise.https.html.ini new file mode 100644 index 0000000000..11c975773d --- /dev/null +++ b/testing/web-platform/meta/battery-status/battery-promise.https.html.ini @@ -0,0 +1,7 @@ +[battery-promise.https.html] + [navigator.getBattery() shall return BatteryManager as a promise] + expected: FAIL + + [navigator.getBattery() shall always return the same promise] + expected: FAIL + diff --git a/testing/web-platform/meta/battery-status/idlharness.https.window.js.ini b/testing/web-platform/meta/battery-status/idlharness.https.window.js.ini new file mode 100644 index 0000000000..5ff6e769cb --- /dev/null +++ b/testing/web-platform/meta/battery-status/idlharness.https.window.js.ini @@ -0,0 +1,82 @@ +[idlharness.https.window.html] + [Navigator interface: operation getBattery()] + expected: FAIL + + [BatteryManager interface: manager must inherit property "chargingTime" with the proper type] + expected: FAIL + + [BatteryManager interface: manager must inherit property "level" with the proper type] + expected: FAIL + + [BatteryManager interface: manager must inherit property "onlevelchange" with the proper type] + expected: FAIL + + [BatteryManager must be primary interface of manager] + expected: FAIL + + [Stringification of manager] + expected: FAIL + + [BatteryManager interface: manager must inherit property "dischargingTime" with the proper type] + expected: FAIL + + [BatteryManager interface: existence and properties of interface object] + expected: FAIL + + [BatteryManager interface: attribute onlevelchange] + expected: FAIL + + [Navigator interface: navigator must inherit property "getBattery()" with the proper type] + expected: FAIL + + [BatteryManager interface: attribute level] + expected: FAIL + + [BatteryManager interface: existence and properties of interface prototype object] + expected: FAIL + + [BatteryManager interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [BatteryManager interface: manager must inherit property "ondischargingtimechange" with the proper type] + expected: FAIL + + [BatteryManager interface: manager must inherit property "onchargingchange" with the proper type] + expected: FAIL + + [idl_test setup] + expected: FAIL + + [BatteryManager interface: manager must inherit property "onchargingtimechange" with the proper type] + expected: FAIL + + [BatteryManager interface: manager must inherit property "charging" with the proper type] + expected: FAIL + + [BatteryManager interface: attribute charging] + expected: FAIL + + [BatteryManager interface: attribute onchargingchange] + expected: FAIL + + [BatteryManager interface: attribute chargingTime] + expected: FAIL + + [BatteryManager interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [BatteryManager interface: attribute ondischargingtimechange] + expected: FAIL + + [BatteryManager interface: attribute dischargingTime] + expected: FAIL + + [BatteryManager interface object name] + expected: FAIL + + [BatteryManager interface object length] + expected: FAIL + + [BatteryManager interface: attribute onchargingtimechange] + expected: FAIL + diff --git a/testing/web-platform/meta/battery-status/multiple-promises-after-resolve.https.html.ini b/testing/web-platform/meta/battery-status/multiple-promises-after-resolve.https.html.ini new file mode 100644 index 0000000000..7bde6b79e3 --- /dev/null +++ b/testing/web-platform/meta/battery-status/multiple-promises-after-resolve.https.html.ini @@ -0,0 +1,3 @@ +[multiple-promises-after-resolve.https.html] + [multiple consecutive invocations of navigator.getBattery()] + expected: FAIL diff --git a/testing/web-platform/meta/battery-status/multiple-promises.https.html.ini b/testing/web-platform/meta/battery-status/multiple-promises.https.html.ini new file mode 100644 index 0000000000..3b7869d8e5 --- /dev/null +++ b/testing/web-platform/meta/battery-status/multiple-promises.https.html.ini @@ -0,0 +1,3 @@ +[multiple-promises.https.html] + [multiple parallel invocations of navigator.getBattery()] + expected: FAIL diff --git a/testing/web-platform/meta/battery-status/no-leak-on-detached-use.https.html.ini b/testing/web-platform/meta/battery-status/no-leak-on-detached-use.https.html.ini new file mode 100644 index 0000000000..43bd780808 --- /dev/null +++ b/testing/web-platform/meta/battery-status/no-leak-on-detached-use.https.html.ini @@ -0,0 +1,6 @@ +[no-leak-on-detached-use.https.html] + [navigator.getBattery() does not operate on a closed window] + expected: FAIL + + [navigator.getBattery() on a detached frame does not leak or crash] + expected: FAIL diff --git a/testing/web-platform/meta/battery-status/page-visibility.https.html.ini b/testing/web-platform/meta/battery-status/page-visibility.https.html.ini new file mode 100644 index 0000000000..0e7907171a --- /dev/null +++ b/testing/web-platform/meta/battery-status/page-visibility.https.html.ini @@ -0,0 +1,3 @@ +[page-visibility.https.html] + [battery status events only fire on visible pages] + expected: FAIL diff --git a/testing/web-platform/meta/battery-status/promise-with-eventlisteners.https.html.ini b/testing/web-platform/meta/battery-status/promise-with-eventlisteners.https.html.ini new file mode 100644 index 0000000000..e77242c916 --- /dev/null +++ b/testing/web-platform/meta/battery-status/promise-with-eventlisteners.https.html.ini @@ -0,0 +1,3 @@ +[promise-with-eventlisteners.https.html] + [event listeners fire as specified] + expected: FAIL diff --git a/testing/web-platform/meta/battery-status/restricted-level-precision.https.html.ini b/testing/web-platform/meta/battery-status/restricted-level-precision.https.html.ini new file mode 100644 index 0000000000..b897cfbb5e --- /dev/null +++ b/testing/web-platform/meta/battery-status/restricted-level-precision.https.html.ini @@ -0,0 +1,3 @@ +[restricted-level-precision.https.html] + [battery level is reported with restricted precision] + expected: FAIL |