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/magnetometer | |
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/magnetometer')
10 files changed, 343 insertions, 0 deletions
diff --git a/testing/web-platform/meta/magnetometer/Magnetometer-disabled-by-feature-policy.https.html.ini b/testing/web-platform/meta/magnetometer/Magnetometer-disabled-by-feature-policy.https.html.ini new file mode 100644 index 0000000000..c47bdce289 --- /dev/null +++ b/testing/web-platform/meta/magnetometer/Magnetometer-disabled-by-feature-policy.https.html.ini @@ -0,0 +1,19 @@ +[Magnetometer-disabled-by-feature-policy.https.html] + [Magnetometer: Feature-Policy header magnetometer 'none' disallows the top-level document.] + expected: FAIL + + [Magnetometer: Feature-Policy header magnetometer 'none' disallows same-origin iframes.] + expected: FAIL + + [Magnetometer: Feature-Policy header magnetometer 'none' disallows cross-origin iframes.] + expected: FAIL + + [UncalibratedMagnetometer: Feature-Policy header magnetometer 'none' disallows the top-level document.] + expected: FAIL + + [UncalibratedMagnetometer: Feature-Policy header magnetometer 'none' disallows same-origin iframes.] + expected: FAIL + + [UncalibratedMagnetometer: Feature-Policy header magnetometer 'none' disallows cross-origin iframes.] + expected: FAIL + diff --git a/testing/web-platform/meta/magnetometer/Magnetometer-enabled-by-feature-policy-attribute-redirect-on-load.https.html.ini b/testing/web-platform/meta/magnetometer/Magnetometer-enabled-by-feature-policy-attribute-redirect-on-load.https.html.ini new file mode 100644 index 0000000000..06ed8da7bc --- /dev/null +++ b/testing/web-platform/meta/magnetometer/Magnetometer-enabled-by-feature-policy-attribute-redirect-on-load.https.html.ini @@ -0,0 +1,13 @@ +[Magnetometer-enabled-by-feature-policy-attribute-redirect-on-load.https.html] + [Magnetometer: Feature-Policy allow='magnetometer' attribute allows same-origin relocation] + expected: FAIL + + [Magnetometer: Feature-Policy allow='magnetometer' attribute disallows cross-origin relocation] + expected: FAIL + + [UncalibratedMagnetometer: Feature-Policy allow='magnetometer' attribute allows same-origin relocation] + expected: FAIL + + [UncalibratedMagnetometer: Feature-Policy allow='magnetometer' attribute disallows cross-origin relocation] + expected: FAIL + diff --git a/testing/web-platform/meta/magnetometer/Magnetometer-enabled-by-feature-policy-attribute.https.html.ini b/testing/web-platform/meta/magnetometer/Magnetometer-enabled-by-feature-policy-attribute.https.html.ini new file mode 100644 index 0000000000..5185f843b0 --- /dev/null +++ b/testing/web-platform/meta/magnetometer/Magnetometer-enabled-by-feature-policy-attribute.https.html.ini @@ -0,0 +1,13 @@ +[Magnetometer-enabled-by-feature-policy-attribute.https.html] + [Magnetometer: Feature-Policy allow='magnetometer' attribute allows same-origin iframe] + expected: FAIL + + [Magnetometer: Feature-Policy allow='magnetometer' attribute allows cross-origin iframe] + expected: FAIL + + [UncalibratedMagnetometer: Feature-Policy allow='magnetometer' attribute allows same-origin iframe] + expected: FAIL + + [UncalibratedMagnetometer: Feature-Policy allow='magnetometer' attribute allows cross-origin iframe] + expected: FAIL + diff --git a/testing/web-platform/meta/magnetometer/Magnetometer-enabled-by-feature-policy.https.html.ini b/testing/web-platform/meta/magnetometer/Magnetometer-enabled-by-feature-policy.https.html.ini new file mode 100644 index 0000000000..fdbbf981f5 --- /dev/null +++ b/testing/web-platform/meta/magnetometer/Magnetometer-enabled-by-feature-policy.https.html.ini @@ -0,0 +1,19 @@ +[Magnetometer-enabled-by-feature-policy.https.html] + [Magnetometer: Feature-Policy header magnetometer * allows the top-level document.] + expected: FAIL + + [Magnetometer: Feature-Policy header magnetometer * allows same-origin iframes.] + expected: FAIL + + [Magnetometer: Feature-Policy header magnetometer * allows cross-origin iframes.] + expected: FAIL + + [UncalibratedMagnetometer: Feature-Policy header magnetometer * allows the top-level document.] + expected: FAIL + + [UncalibratedMagnetometer: Feature-Policy header magnetometer * allows same-origin iframes.] + expected: FAIL + + [UncalibratedMagnetometer: Feature-Policy header magnetometer * allows cross-origin iframes.] + expected: FAIL + diff --git a/testing/web-platform/meta/magnetometer/Magnetometer-enabled-on-self-origin-by-feature-policy.https.html.ini b/testing/web-platform/meta/magnetometer/Magnetometer-enabled-on-self-origin-by-feature-policy.https.html.ini new file mode 100644 index 0000000000..21a69dac5a --- /dev/null +++ b/testing/web-platform/meta/magnetometer/Magnetometer-enabled-on-self-origin-by-feature-policy.https.html.ini @@ -0,0 +1,19 @@ +[Magnetometer-enabled-on-self-origin-by-feature-policy.https.html] + [Magnetometer: Feature-Policy header magnetometer 'self' allows the top-level document.] + expected: FAIL + + [Magnetometer: Feature-Policy header magnetometer 'self' allows same-origin iframes.] + expected: FAIL + + [Magnetometer: Feature-Policy header magnetometer 'self' disallows cross-origin iframes.] + expected: FAIL + + [UncalibratedMagnetometer: Feature-Policy header magnetometer 'self' allows the top-level document.] + expected: FAIL + + [UncalibratedMagnetometer: Feature-Policy header magnetometer 'self' allows same-origin iframes.] + expected: FAIL + + [UncalibratedMagnetometer: Feature-Policy header magnetometer 'self' disallows cross-origin iframes.] + expected: FAIL + diff --git a/testing/web-platform/meta/magnetometer/Magnetometer-iframe-access.https.html.ini b/testing/web-platform/meta/magnetometer/Magnetometer-iframe-access.https.html.ini new file mode 100644 index 0000000000..5822922aba --- /dev/null +++ b/testing/web-platform/meta/magnetometer/Magnetometer-iframe-access.https.html.ini @@ -0,0 +1,25 @@ +[Magnetometer-iframe-access.https.html] + expected: ERROR + [Magnetometer: sensor is suspended and resumed when focus traverses from to cross-origin frame] + expected: FAIL + + [Magnetometer: sensor is not suspended when focus traverses from to same-origin frame] + expected: NOTRUN + + [UncalibratedMagnetometer: sensor is suspended and resumed when focus traverses from to cross-origin frame] + expected: NOTRUN + + [UncalibratedMagnetometer: sensor is not suspended when focus traverses from to same-origin frame] + expected: NOTRUN + + [UncalibratedMagnetometer: losing a document's frame with an active sensor does not crash] + expected: NOTRUN + + [Magnetometer: losing a document's frame with an active sensor does not crash] + expected: NOTRUN + + [Magnetometer: calling start() in a non-fully active document does not crash] + expected: NOTRUN + + [UncalibratedMagnetometer: calling start() in a non-fully active document does not crash] + expected: NOTRUN diff --git a/testing/web-platform/meta/magnetometer/Magnetometer-supported-by-feature-policy.html.ini b/testing/web-platform/meta/magnetometer/Magnetometer-supported-by-feature-policy.html.ini new file mode 100644 index 0000000000..d724359d19 --- /dev/null +++ b/testing/web-platform/meta/magnetometer/Magnetometer-supported-by-feature-policy.html.ini @@ -0,0 +1,4 @@ +[Magnetometer-supported-by-feature-policy.html] + [document.featurePolicy.features should advertise magnetometer.] + expected: FAIL + diff --git a/testing/web-platform/meta/magnetometer/Magnetometer.https.html.ini b/testing/web-platform/meta/magnetometer/Magnetometer.https.html.ini new file mode 100644 index 0000000000..7f367606ca --- /dev/null +++ b/testing/web-platform/meta/magnetometer/Magnetometer.https.html.ini @@ -0,0 +1,127 @@ +[Magnetometer.https.html] + expected: ERROR + [Magnetometer: Test that sensor can be successfully created and its states are correct.] + expected: NOTRUN + + [UncalibratedMagnetometer: Test that sensor can be successfully created and its states are correct.] + expected: NOTRUN + + [UncalibratedMagnetometer: Test that frequency is capped to the maximum supported frequency.] + expected: NOTRUN + + [UncalibratedMagnetometer: Test that fresh reading is fetched on start().] + expected: NOTRUN + + [UncalibratedMagnetometer: Test that 'onreading' is called and sensor reading is valid.] + expected: NOTRUN + + [Magnetometer: throw 'TypeError' if frequency is invalid.] + expected: FAIL + + [Magnetometer: frequency hint works.] + expected: NOTRUN + + [Magnetometer: no exception is thrown when calling stop() on already stopped sensor.] + expected: NOTRUN + + [Magnetometer: Test that frequency is capped to allowed maximum.] + expected: NOTRUN + + [Magnetometer: Test that fresh reading is fetched on start().] + expected: NOTRUN + + [Magnetometer: Test that frequency is capped to the maximum supported frequency.] + expected: NOTRUN + + [Magnetometer: Test that onerror is send when start() call has failed.] + expected: NOTRUN + + [Magnetometer: sensor reading is correct.] + expected: NOTRUN + + [Magnetometer: sensor reading is correct when options.referenceFrame is 'screen'.] + expected: NOTRUN + + [Magnetometer: Test that onerror is sent when sensor is not supported.] + expected: FAIL + + [UncalibratedMagnetometer: sensor timestamp is updated when time passes.] + expected: NOTRUN + + [Magnetometer: Test that 'onreading' is called and sensor reading is valid.] + expected: NOTRUN + + [UncalibratedMagnetometer: sensor reading is correct.] + expected: NOTRUN + + [UncalibratedMagnetometer: Test that sensor cannot be constructed within iframe disallowed to use feature policy.] + expected: NOTRUN + + [UncalibratedMagnetometer: sensor reading is correct when options.referenceFrame is 'screen'.] + expected: NOTRUN + + [Magnetometer: no exception is thrown when calling start() on already started sensor.] + expected: NOTRUN + + [UncalibratedMagnetometer: Test that sensor can be constructed within an iframe allowed to use feature policy.] + expected: NOTRUN + + [UncalibratedMagnetometer: Test that onerror is sent when permissions are not granted.] + expected: NOTRUN + + [UncalibratedMagnetometer: Test that frequency is capped to allowed maximum.] + expected: NOTRUN + + [Magnetometer: Test that frequency is limited to the minimum supported frequency.] + expected: NOTRUN + + [UncalibratedMagnetometer: no exception is thrown when calling stop() on already stopped sensor.] + expected: NOTRUN + + [Magnetometer: Test that onerror is sent when permissions are not granted.] + expected: NOTRUN + + [Magnetometer: sensor timestamp is updated when time passes.] + expected: NOTRUN + + [UncalibratedMagnetometer: Test that frequency is limited to the minimum supported frequency.] + expected: NOTRUN + + [UncalibratedMagnetometer: Test that onerror is sent when sensor is not supported.] + expected: NOTRUN + + [Magnetometer: Test that sensor can be constructed within an iframe allowed to use feature policy.] + expected: NOTRUN + + [Magnetometer: Test that sensor cannot be constructed within iframe disallowed to use feature policy.] + expected: NOTRUN + + [UncalibratedMagnetometer: no exception is thrown when calling start() on already started sensor.] + expected: NOTRUN + + [UncalibratedMagnetometer: throw 'TypeError' if frequency is invalid.] + expected: FAIL + + [UncalibratedMagnetometer: Test that onerror is send when start() call has failed.] + expected: NOTRUN + + [UncalibratedMagnetometer: frequency hint works.] + expected: NOTRUN + + [UncalibratedMagnetometer: Readings delivered by shared platform sensor are immediately accessible to all sensors.] + expected: NOTRUN + + [Magnetometer: Readings delivered by shared platform sensor are immediately accessible to all sensors.] + expected: NOTRUN + + [UncalibratedMagnetometer: Test that readings are all mapped to expectedReadings correctly.] + expected: NOTRUN + + [Magnetometer: Test that readings are all mapped to expectedReadings correctly.] + expected: NOTRUN + + [Magnetometer: Losing visibility must cause readings to be suspended.] + expected: NOTRUN + + [UncalibratedMagnetometer: Losing visibility must cause readings to be suspended.] + expected: NOTRUN diff --git a/testing/web-platform/meta/magnetometer/__dir__.ini b/testing/web-platform/meta/magnetometer/__dir__.ini new file mode 100644 index 0000000000..2ef043b928 --- /dev/null +++ b/testing/web-platform/meta/magnetometer/__dir__.ini @@ -0,0 +1 @@ +implementation-status: backlog diff --git a/testing/web-platform/meta/magnetometer/idlharness.https.window.js.ini b/testing/web-platform/meta/magnetometer/idlharness.https.window.js.ini new file mode 100644 index 0000000000..761acb458e --- /dev/null +++ b/testing/web-platform/meta/magnetometer/idlharness.https.window.js.ini @@ -0,0 +1,103 @@ +[idlharness.https.window.html] + [Stringification of new UncalibratedMagnetometer();] + expected: FAIL + + [Magnetometer interface: existence and properties of interface prototype object] + expected: FAIL + + [Magnetometer interface: new Magnetometer(); must inherit property "x" with the proper type] + expected: FAIL + + [Magnetometer interface: attribute z] + expected: FAIL + + [Magnetometer interface: attribute x] + expected: FAIL + + [Magnetometer interface: attribute y] + expected: FAIL + + [Magnetometer interface: new Magnetometer(); must inherit property "y" with the proper type] + expected: FAIL + + [Magnetometer interface object name] + expected: FAIL + + [Stringification of new Magnetometer();] + expected: FAIL + + [Magnetometer interface: new Magnetometer(); must inherit property "z" with the proper type] + expected: FAIL + + [UncalibratedMagnetometer interface: attribute z] + expected: FAIL + + [UncalibratedMagnetometer interface: attribute x] + expected: FAIL + + [UncalibratedMagnetometer interface: attribute y] + expected: FAIL + + [UncalibratedMagnetometer interface: existence and properties of interface object] + expected: FAIL + + [UncalibratedMagnetometer interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [UncalibratedMagnetometer interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [Magnetometer interface object length] + expected: FAIL + + [UncalibratedMagnetometer interface: attribute yBias] + expected: FAIL + + [UncalibratedMagnetometer interface: new UncalibratedMagnetometer(); must inherit property "zBias" with the proper type] + expected: FAIL + + [Magnetometer interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [UncalibratedMagnetometer interface: new UncalibratedMagnetometer(); must inherit property "z" with the proper type] + expected: FAIL + + [UncalibratedMagnetometer interface object length] + expected: FAIL + + [UncalibratedMagnetometer interface: attribute xBias] + expected: FAIL + + [UncalibratedMagnetometer must be primary interface of new UncalibratedMagnetometer();] + expected: FAIL + + [UncalibratedMagnetometer interface: new UncalibratedMagnetometer(); must inherit property "y" with the proper type] + expected: FAIL + + [Magnetometer interface: existence and properties of interface object] + expected: FAIL + + [UncalibratedMagnetometer interface object name] + expected: FAIL + + [UncalibratedMagnetometer interface: existence and properties of interface prototype object] + expected: FAIL + + [UncalibratedMagnetometer interface: new UncalibratedMagnetometer(); must inherit property "yBias" with the proper type] + expected: FAIL + + [UncalibratedMagnetometer interface: new UncalibratedMagnetometer(); must inherit property "xBias" with the proper type] + expected: FAIL + + [UncalibratedMagnetometer interface: attribute zBias] + expected: FAIL + + [Magnetometer interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [UncalibratedMagnetometer interface: new UncalibratedMagnetometer(); must inherit property "x" with the proper type] + expected: FAIL + + [Magnetometer must be primary interface of new Magnetometer();] + expected: FAIL + |