diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/meta/magnetometer | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/magnetometer')
10 files changed, 323 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..967f09236b --- /dev/null +++ b/testing/web-platform/meta/magnetometer/Magnetometer-iframe-access.https.html.ini @@ -0,0 +1,24 @@ +[Magnetometer-iframe-access.https.html] + [UncalibratedMagnetometer: losing a document's frame with an active sensor does not crash] + expected: FAIL + + [Magnetometer: losing a document's frame with an active sensor does not crash] + expected: FAIL + + [Magnetometer: calling start() in a non-fully active document does not crash] + expected: FAIL + + [UncalibratedMagnetometer: calling start() in a non-fully active document does not crash] + expected: FAIL + + [Magnetometer: unfocused sensors in cross-origin frames are not updated] + expected: FAIL + + [Magnetometer: sensors in same-origin frames are updated if one of the frames is focused] + expected: FAIL + + [UncalibratedMagnetometer: unfocused sensors in cross-origin frames are not updated] + expected: FAIL + + [UncalibratedMagnetometer: sensors in same-origin frames are updated if one of the frames is focused] + expected: FAIL 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..dbd1c95c52 --- /dev/null +++ b/testing/web-platform/meta/magnetometer/Magnetometer.https.html.ini @@ -0,0 +1,108 @@ +[Magnetometer.https.html] + [Magnetometer: Test that sensor can be successfully created and its states are correct.] + expected: FAIL + + [UncalibratedMagnetometer: Test that sensor can be successfully created and its states are correct.] + expected: FAIL + + [UncalibratedMagnetometer: Test that frequency is capped to the maximum supported frequency.] + expected: FAIL + + [UncalibratedMagnetometer: Test that fresh reading is fetched on start().] + expected: FAIL + + [UncalibratedMagnetometer: Test that 'onreading' is called and sensor reading is valid.] + expected: FAIL + + [Magnetometer: frequency hint works.] + expected: FAIL + + [Magnetometer: no exception is thrown when calling stop() on already stopped sensor.] + expected: FAIL + + [Magnetometer: Test that frequency is capped to allowed maximum.] + expected: FAIL + + [Magnetometer: Test that fresh reading is fetched on start().] + expected: FAIL + + [Magnetometer: Test that frequency is capped to the maximum supported frequency.] + expected: FAIL + + [Magnetometer: Test that onerror is send when start() call has failed.] + expected: FAIL + + [Magnetometer: sensor reading is correct.] + expected: FAIL + + [UncalibratedMagnetometer: sensor timestamp is updated when time passes.] + expected: FAIL + + [Magnetometer: Test that 'onreading' is called and sensor reading is valid.] + expected: FAIL + + [UncalibratedMagnetometer: sensor reading is correct.] + expected: FAIL + + [UncalibratedMagnetometer: Test that sensor cannot be constructed within iframe disallowed to use feature policy.] + expected: FAIL + + [Magnetometer: no exception is thrown when calling start() on already started sensor.] + expected: FAIL + + [UncalibratedMagnetometer: Test that sensor can be constructed within an iframe allowed to use feature policy.] + expected: FAIL + + [UncalibratedMagnetometer: Test that onerror is sent when permissions are not granted.] + expected: FAIL + + [UncalibratedMagnetometer: Test that frequency is capped to allowed maximum.] + expected: FAIL + + [Magnetometer: Test that frequency is limited to the minimum supported frequency.] + expected: FAIL + + [UncalibratedMagnetometer: no exception is thrown when calling stop() on already stopped sensor.] + expected: FAIL + + [Magnetometer: Test that onerror is sent when permissions are not granted.] + expected: FAIL + + [Magnetometer: sensor timestamp is updated when time passes.] + expected: FAIL + + [UncalibratedMagnetometer: Test that frequency is limited to the minimum supported frequency.] + expected: FAIL + + [Magnetometer: Test that sensor can be constructed within an iframe allowed to use feature policy.] + expected: FAIL + + [Magnetometer: Test that sensor cannot be constructed within iframe disallowed to use feature policy.] + expected: FAIL + + [UncalibratedMagnetometer: no exception is thrown when calling start() on already started sensor.] + expected: FAIL + + [UncalibratedMagnetometer: Test that onerror is send when start() call has failed.] + expected: FAIL + + [UncalibratedMagnetometer: frequency hint works.] + expected: FAIL + + [UncalibratedMagnetometer: Readings delivered by shared platform sensor are immediately accessible to all sensors.] + expected: FAIL + + [Magnetometer: Readings delivered by shared platform sensor are immediately accessible to all sensors.] + expected: FAIL + + [UncalibratedMagnetometer: Test that readings are all mapped to expectedReadings correctly.] + expected: FAIL + + [Magnetometer: Test that readings are all mapped to expectedReadings correctly.] + expected: FAIL + + [UncalibratedMagnetometer: Readings are not delivered when the page has no visibility] + expected: FAIL + + [Magnetometer: Readings are not delivered when the page has no visibility] + expected: FAIL 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 + |