diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/meta/proximity | |
parent | Initial commit. (diff) | |
download | firefox-esr-upstream.tar.xz firefox-esr-upstream.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/proximity')
4 files changed, 118 insertions, 0 deletions
diff --git a/testing/web-platform/meta/proximity/ProximitySensor-iframe-access.https.html.ini b/testing/web-platform/meta/proximity/ProximitySensor-iframe-access.https.html.ini new file mode 100644 index 0000000000..6e557077ec --- /dev/null +++ b/testing/web-platform/meta/proximity/ProximitySensor-iframe-access.https.html.ini @@ -0,0 +1,13 @@ +[ProximitySensor-iframe-access.https.html] + expected: ERROR + [ProximitySensor: sensor is suspended and resumed when focus traverses from to cross-origin frame] + expected: FAIL + + [ProximitySensor: sensor is not suspended when focus traverses from to same-origin frame] + expected: NOTRUN + + [ProximitySensor: losing a document's frame with an active sensor does not crash] + expected: NOTRUN + + [ProximitySensor: calling start() in a non-fully active document does not crash] + expected: NOTRUN diff --git a/testing/web-platform/meta/proximity/ProximitySensor.https.html.ini b/testing/web-platform/meta/proximity/ProximitySensor.https.html.ini new file mode 100644 index 0000000000..72a1d49268 --- /dev/null +++ b/testing/web-platform/meta/proximity/ProximitySensor.https.html.ini @@ -0,0 +1,61 @@ +[ProximitySensor.https.html] + expected: ERROR + [ProximitySensor: Test that sensor can be successfully created and its states are correct.] + expected: NOTRUN + + [ProximitySensor: Test that 'onreading' is called and sensor reading is valid.] + expected: NOTRUN + + [ProximitySensor: no exception is thrown when calling start() on already started sensor.] + expected: NOTRUN + + [ProximitySensor: Test that frequency is capped to allowed maximum.] + expected: NOTRUN + + [ProximitySensor: Test that onerror is sent when permissions are not granted.] + expected: NOTRUN + + [ProximitySensor: throw 'TypeError' if frequency is invalid.] + expected: FAIL + + [ProximitySensor: Test that frequency is limited to the minimum supported frequency.] + expected: NOTRUN + + [ProximitySensor: sensor timestamp is updated when time passes.] + expected: NOTRUN + + [ProximitySensor: Test that onerror is sent when sensor is not supported.] + expected: FAIL + + [ProximitySensor: Test that sensor can be constructed within an iframe allowed to use feature policy.] + expected: NOTRUN + + [ProximitySensor: Test that fresh reading is fetched on start().] + expected: NOTRUN + + [ProximitySensor: sensor reading is correct.] + expected: NOTRUN + + [ProximitySensor: Test that frequency is capped to the maximum supported frequency.] + expected: NOTRUN + + [ProximitySensor: Test that sensor cannot be constructed within iframe disallowed to use feature policy.] + expected: NOTRUN + + [ProximitySensor: Test that onerror is send when start() call has failed.] + expected: NOTRUN + + [ProximitySensor: no exception is thrown when calling stop() on already stopped sensor.] + expected: NOTRUN + + [ProximitySensor: frequency hint works.] + expected: NOTRUN + + [ProximitySensor: Readings delivered by shared platform sensor are immediately accessible to all sensors.] + expected: NOTRUN + + [ProximitySensor: Test that readings are all mapped to expectedReadings correctly.] + expected: NOTRUN + + [ProximitySensor: Losing visibility must cause readings to be suspended.] + expected: NOTRUN diff --git a/testing/web-platform/meta/proximity/__dir__.ini b/testing/web-platform/meta/proximity/__dir__.ini new file mode 100644 index 0000000000..2ef043b928 --- /dev/null +++ b/testing/web-platform/meta/proximity/__dir__.ini @@ -0,0 +1 @@ +implementation-status: backlog diff --git a/testing/web-platform/meta/proximity/idlharness.https.window.js.ini b/testing/web-platform/meta/proximity/idlharness.https.window.js.ini new file mode 100644 index 0000000000..196027b2de --- /dev/null +++ b/testing/web-platform/meta/proximity/idlharness.https.window.js.ini @@ -0,0 +1,43 @@ +[idlharness.https.window.html] + [ProximitySensor interface: new ProximitySensor(); must inherit property "near" with the proper type] + expected: FAIL + + [Stringification of new ProximitySensor();] + expected: FAIL + + [ProximitySensor interface: existence and properties of interface prototype object] + expected: FAIL + + [ProximitySensor interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [ProximitySensor interface: attribute distance] + expected: FAIL + + [ProximitySensor interface object length] + expected: FAIL + + [ProximitySensor interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [ProximitySensor interface: new ProximitySensor(); must inherit property "max" with the proper type] + expected: FAIL + + [ProximitySensor interface: new ProximitySensor(); must inherit property "distance" with the proper type] + expected: FAIL + + [ProximitySensor interface object name] + expected: FAIL + + [ProximitySensor interface: attribute max] + expected: FAIL + + [ProximitySensor interface: existence and properties of interface object] + expected: FAIL + + [ProximitySensor interface: attribute near] + expected: FAIL + + [ProximitySensor must be primary interface of new ProximitySensor();] + expected: FAIL + |