summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/accelerometer
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/meta/accelerometer
parentInitial commit. (diff)
downloadfirefox-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/accelerometer')
-rw-r--r--testing/web-platform/meta/accelerometer/Accelerometer-disabled-by-feature-policy.https.html.ini28
-rw-r--r--testing/web-platform/meta/accelerometer/Accelerometer-enabled-by-feature-policy-attribute-redirect-on-load.https.html.ini19
-rw-r--r--testing/web-platform/meta/accelerometer/Accelerometer-enabled-by-feature-policy-attribute.https.html.ini19
-rw-r--r--testing/web-platform/meta/accelerometer/Accelerometer-enabled-by-feature-policy.https.html.ini28
-rw-r--r--testing/web-platform/meta/accelerometer/Accelerometer-enabled-on-self-origin-by-feature-policy.https.html.ini28
-rw-r--r--testing/web-platform/meta/accelerometer/Accelerometer-iframe-access.https.html.ini36
-rw-r--r--testing/web-platform/meta/accelerometer/Accelerometer-supported-by-feature-policy.html.ini4
-rw-r--r--testing/web-platform/meta/accelerometer/Accelerometer.https.html.ini54
-rw-r--r--testing/web-platform/meta/accelerometer/GravitySensor.https.html.ini54
-rw-r--r--testing/web-platform/meta/accelerometer/LinearAccelerationSensor.https.html.ini54
-rw-r--r--testing/web-platform/meta/accelerometer/__dir__.ini1
-rw-r--r--testing/web-platform/meta/accelerometer/idlharness.https.window.js.ini109
12 files changed, 434 insertions, 0 deletions
diff --git a/testing/web-platform/meta/accelerometer/Accelerometer-disabled-by-feature-policy.https.html.ini b/testing/web-platform/meta/accelerometer/Accelerometer-disabled-by-feature-policy.https.html.ini
new file mode 100644
index 0000000000..cad98eb5a8
--- /dev/null
+++ b/testing/web-platform/meta/accelerometer/Accelerometer-disabled-by-feature-policy.https.html.ini
@@ -0,0 +1,28 @@
+[Accelerometer-disabled-by-feature-policy.https.html]
+ [Accelerometer: Feature-Policy header accelerometer 'none' disallows the top-level document.]
+ expected: FAIL
+
+ [Accelerometer: Feature-Policy header accelerometer 'none' disallows same-origin iframes.]
+ expected: FAIL
+
+ [Accelerometer: Feature-Policy header accelerometer 'none' disallows cross-origin iframes.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: Feature-Policy header accelerometer 'none' disallows the top-level document.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: Feature-Policy header accelerometer 'none' disallows same-origin iframes.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: Feature-Policy header accelerometer 'none' disallows cross-origin iframes.]
+ expected: FAIL
+
+ [GravitySensor: Feature-Policy header accelerometer 'none' disallows the top-level document.]
+ expected: FAIL
+
+ [GravitySensor: Feature-Policy header accelerometer 'none' disallows same-origin iframes.]
+ expected: FAIL
+
+ [GravitySensor: Feature-Policy header accelerometer 'none' disallows cross-origin iframes.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/accelerometer/Accelerometer-enabled-by-feature-policy-attribute-redirect-on-load.https.html.ini b/testing/web-platform/meta/accelerometer/Accelerometer-enabled-by-feature-policy-attribute-redirect-on-load.https.html.ini
new file mode 100644
index 0000000000..563629a665
--- /dev/null
+++ b/testing/web-platform/meta/accelerometer/Accelerometer-enabled-by-feature-policy-attribute-redirect-on-load.https.html.ini
@@ -0,0 +1,19 @@
+[Accelerometer-enabled-by-feature-policy-attribute-redirect-on-load.https.html]
+ [Accelerometer: Feature-Policy allow='accelerometer' attribute allows same-origin relocation]
+ expected: FAIL
+
+ [Accelerometer: Feature-Policy allow='accelerometer' attribute disallows cross-origin relocation]
+ expected: FAIL
+
+ [LinearAccelerationSensor: Feature-Policy allow='accelerometer' attribute allows same-origin relocation]
+ expected: FAIL
+
+ [LinearAccelerationSensor: Feature-Policy allow='accelerometer' attribute disallows cross-origin relocation]
+ expected: FAIL
+
+ [GravitySensor: Feature-Policy allow='accelerometer' attribute allows same-origin relocation]
+ expected: FAIL
+
+ [GravitySensor: Feature-Policy allow='accelerometer' attribute disallows cross-origin relocation]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/accelerometer/Accelerometer-enabled-by-feature-policy-attribute.https.html.ini b/testing/web-platform/meta/accelerometer/Accelerometer-enabled-by-feature-policy-attribute.https.html.ini
new file mode 100644
index 0000000000..14297be823
--- /dev/null
+++ b/testing/web-platform/meta/accelerometer/Accelerometer-enabled-by-feature-policy-attribute.https.html.ini
@@ -0,0 +1,19 @@
+[Accelerometer-enabled-by-feature-policy-attribute.https.html]
+ [Accelerometer: Feature-Policy allow='accelerometer' attribute allows same-origin iframe]
+ expected: FAIL
+
+ [Accelerometer: Feature-Policy allow='accelerometer' attribute allows cross-origin iframe]
+ expected: FAIL
+
+ [LinearAccelerationSensor: Feature-Policy allow='accelerometer' attribute allows same-origin iframe]
+ expected: FAIL
+
+ [LinearAccelerationSensor: Feature-Policy allow='accelerometer' attribute allows cross-origin iframe]
+ expected: FAIL
+
+ [GravitySensor: Feature-Policy allow='accelerometer' attribute allows same-origin iframe]
+ expected: FAIL
+
+ [GravitySensor: Feature-Policy allow='accelerometer' attribute allows cross-origin iframe]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/accelerometer/Accelerometer-enabled-by-feature-policy.https.html.ini b/testing/web-platform/meta/accelerometer/Accelerometer-enabled-by-feature-policy.https.html.ini
new file mode 100644
index 0000000000..f025493ddd
--- /dev/null
+++ b/testing/web-platform/meta/accelerometer/Accelerometer-enabled-by-feature-policy.https.html.ini
@@ -0,0 +1,28 @@
+[Accelerometer-enabled-by-feature-policy.https.html]
+ [Accelerometer: Feature-Policy header accelerometer * allows the top-level document.]
+ expected: FAIL
+
+ [Accelerometer: Feature-Policy header accelerometer * allows same-origin iframes.]
+ expected: FAIL
+
+ [Accelerometer: Feature-Policy header accelerometer * allows cross-origin iframes.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: Feature-Policy header accelerometer * allows the top-level document.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: Feature-Policy header accelerometer * allows same-origin iframes.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: Feature-Policy header accelerometer * allows cross-origin iframes.]
+ expected: FAIL
+
+ [GravitySensor: Feature-Policy header accelerometer * allows the top-level document.]
+ expected: FAIL
+
+ [GravitySensor: Feature-Policy header accelerometer * allows same-origin iframes.]
+ expected: FAIL
+
+ [GravitySensor: Feature-Policy header accelerometer * allows cross-origin iframes.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/accelerometer/Accelerometer-enabled-on-self-origin-by-feature-policy.https.html.ini b/testing/web-platform/meta/accelerometer/Accelerometer-enabled-on-self-origin-by-feature-policy.https.html.ini
new file mode 100644
index 0000000000..bb529da419
--- /dev/null
+++ b/testing/web-platform/meta/accelerometer/Accelerometer-enabled-on-self-origin-by-feature-policy.https.html.ini
@@ -0,0 +1,28 @@
+[Accelerometer-enabled-on-self-origin-by-feature-policy.https.html]
+ [Accelerometer: Feature-Policy header accelerometer 'self' allows the top-level document.]
+ expected: FAIL
+
+ [Accelerometer: Feature-Policy header accelerometer 'self' allows same-origin iframes.]
+ expected: FAIL
+
+ [Accelerometer: Feature-Policy header accelerometer 'self' disallows cross-origin iframes.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: Feature-Policy header accelerometer 'self' allows the top-level document.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: Feature-Policy header accelerometer 'self' allows same-origin iframes.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: Feature-Policy header accelerometer 'self' disallows cross-origin iframes.]
+ expected: FAIL
+
+ [GravitySensor: Feature-Policy header accelerometer 'self' allows the top-level document.]
+ expected: FAIL
+
+ [GravitySensor: Feature-Policy header accelerometer 'self' allows same-origin iframes.]
+ expected: FAIL
+
+ [GravitySensor: Feature-Policy header accelerometer 'self' disallows cross-origin iframes.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/accelerometer/Accelerometer-iframe-access.https.html.ini b/testing/web-platform/meta/accelerometer/Accelerometer-iframe-access.https.html.ini
new file mode 100644
index 0000000000..f7dd1656f7
--- /dev/null
+++ b/testing/web-platform/meta/accelerometer/Accelerometer-iframe-access.https.html.ini
@@ -0,0 +1,36 @@
+[Accelerometer-iframe-access.https.html]
+ [LinearAccelerationSensor: losing a document's frame with an active sensor does not crash]
+ expected: FAIL
+
+ [Accelerometer: losing a document's frame with an active sensor does not crash]
+ expected: FAIL
+
+ [GravitySensor: losing a document's frame with an active sensor does not crash]
+ expected: FAIL
+
+ [Accelerometer: calling start() in a non-fully active document does not crash]
+ expected: FAIL
+
+ [LinearAccelerationSensor: calling start() in a non-fully active document does not crash]
+ expected: FAIL
+
+ [GravitySensor: calling start() in a non-fully active document does not crash]
+ expected: FAIL
+
+ [LinearAccelerationSensor: sensors in same-origin frames are updated if one of the frames is focused]
+ expected: FAIL
+
+ [Accelerometer: unfocused sensors in cross-origin frames are not updated]
+ expected: FAIL
+
+ [GravitySensor: unfocused sensors in cross-origin frames are not updated]
+ expected: FAIL
+
+ [Accelerometer: sensors in same-origin frames are updated if one of the frames is focused]
+ expected: FAIL
+
+ [LinearAccelerationSensor: unfocused sensors in cross-origin frames are not updated]
+ expected: FAIL
+
+ [GravitySensor: sensors in same-origin frames are updated if one of the frames is focused]
+ expected: FAIL
diff --git a/testing/web-platform/meta/accelerometer/Accelerometer-supported-by-feature-policy.html.ini b/testing/web-platform/meta/accelerometer/Accelerometer-supported-by-feature-policy.html.ini
new file mode 100644
index 0000000000..86ddd4456a
--- /dev/null
+++ b/testing/web-platform/meta/accelerometer/Accelerometer-supported-by-feature-policy.html.ini
@@ -0,0 +1,4 @@
+[Accelerometer-supported-by-feature-policy.html]
+ [document.featurePolicy.features should advertise accelerometer.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/accelerometer/Accelerometer.https.html.ini b/testing/web-platform/meta/accelerometer/Accelerometer.https.html.ini
new file mode 100644
index 0000000000..44788e85b8
--- /dev/null
+++ b/testing/web-platform/meta/accelerometer/Accelerometer.https.html.ini
@@ -0,0 +1,54 @@
+[Accelerometer.https.html]
+ [Accelerometer: Test that sensor can be successfully created and its states are correct.]
+ expected: FAIL
+
+ [Accelerometer: Test that sensor can be constructed within an iframe allowed to use feature policy.]
+ expected: FAIL
+
+ [Accelerometer: Test that frequency is limited to the minimum supported frequency.]
+ expected: FAIL
+
+ [Accelerometer: no exception is thrown when calling start() on already started sensor.]
+ expected: FAIL
+
+ [Accelerometer: no exception is thrown when calling stop() on already stopped sensor.]
+ expected: FAIL
+
+ [Accelerometer: Test that onerror is sent when permissions are not granted.]
+ expected: FAIL
+
+ [Accelerometer: sensor reading is correct.]
+ expected: FAIL
+
+ [Accelerometer: Test that frequency is capped to the maximum supported frequency.]
+ expected: FAIL
+
+ [Accelerometer: Test that onerror is send when start() call has failed.]
+ expected: FAIL
+
+ [Accelerometer: Test that sensor cannot be constructed within iframe disallowed to use feature policy.]
+ expected: FAIL
+
+ [Accelerometer: Test that frequency is capped to allowed maximum.]
+ expected: FAIL
+
+ [Accelerometer: sensor timestamp is updated when time passes.]
+ expected: FAIL
+
+ [Accelerometer: Test that 'onreading' is called and sensor reading is valid.]
+ expected: FAIL
+
+ [Accelerometer: Test that fresh reading is fetched on start().]
+ expected: FAIL
+
+ [Accelerometer: frequency hint works.]
+ expected: FAIL
+
+ [Accelerometer: Readings delivered by shared platform sensor are immediately accessible to all sensors.]
+ expected: FAIL
+
+ [Accelerometer: Test that readings are all mapped to expectedReadings correctly.]
+ expected: FAIL
+
+ [Accelerometer: Readings are not delivered when the page has no visibility]
+ expected: FAIL
diff --git a/testing/web-platform/meta/accelerometer/GravitySensor.https.html.ini b/testing/web-platform/meta/accelerometer/GravitySensor.https.html.ini
new file mode 100644
index 0000000000..ffa04501a9
--- /dev/null
+++ b/testing/web-platform/meta/accelerometer/GravitySensor.https.html.ini
@@ -0,0 +1,54 @@
+[GravitySensor.https.html]
+ [GravitySensor: Test that onerror is sent when permissions are not granted.]
+ expected: FAIL
+
+ [GravitySensor: Test that onerror is send when start() call has failed.]
+ expected: FAIL
+
+ [GravitySensor: Test that frequency is capped to allowed maximum.]
+ expected: FAIL
+
+ [GravitySensor: Test that frequency is capped to the maximum supported frequency.]
+ expected: FAIL
+
+ [GravitySensor: Test that frequency is limited to the minimum supported frequency.]
+ expected: FAIL
+
+ [GravitySensor: Test that sensor cannot be constructed within iframe disallowed to use feature policy.]
+ expected: FAIL
+
+ [GravitySensor: Test that sensor can be constructed within an iframe allowed to use feature policy.]
+ expected: FAIL
+
+ [GravitySensor: Test that 'onreading' is called and sensor reading is valid.]
+ expected: FAIL
+
+ [GravitySensor: sensor reading is correct.]
+ expected: FAIL
+
+ [GravitySensor: sensor timestamp is updated when time passes.]
+ expected: FAIL
+
+ [GravitySensor: Test that sensor can be successfully created and its states are correct.]
+ expected: FAIL
+
+ [GravitySensor: no exception is thrown when calling start() on already started sensor.]
+ expected: FAIL
+
+ [GravitySensor: no exception is thrown when calling stop() on already stopped sensor.]
+ expected: FAIL
+
+ [GravitySensor: Test that fresh reading is fetched on start().]
+ expected: FAIL
+
+ [GravitySensor: frequency hint works.]
+ expected: FAIL
+
+ [GravitySensor: Readings delivered by shared platform sensor are immediately accessible to all sensors.]
+ expected: FAIL
+
+ [GravitySensor: Test that readings are all mapped to expectedReadings correctly.]
+ expected: FAIL
+
+ [GravitySensor: Readings are not delivered when the page has no visibility]
+ expected: FAIL
diff --git a/testing/web-platform/meta/accelerometer/LinearAccelerationSensor.https.html.ini b/testing/web-platform/meta/accelerometer/LinearAccelerationSensor.https.html.ini
new file mode 100644
index 0000000000..96f4c3dd1d
--- /dev/null
+++ b/testing/web-platform/meta/accelerometer/LinearAccelerationSensor.https.html.ini
@@ -0,0 +1,54 @@
+[LinearAccelerationSensor.https.html]
+ [LinearAccelerationSensor: Test that onerror is sent when permissions are not granted.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: Test that onerror is send when start() call has failed.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: Test that frequency is capped to allowed maximum.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: Test that frequency is capped to the maximum supported frequency.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: Test that frequency is limited to the minimum supported frequency.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: Test that sensor cannot be constructed within iframe disallowed to use feature policy.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: Test that sensor can be constructed within an iframe allowed to use feature policy.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: Test that 'onreading' is called and sensor reading is valid.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: sensor reading is correct.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: sensor timestamp is updated when time passes.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: Test that sensor can be successfully created and its states are correct.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: no exception is thrown when calling start() on already started sensor.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: no exception is thrown when calling stop() on already stopped sensor.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: Test that fresh reading is fetched on start().]
+ expected: FAIL
+
+ [LinearAccelerationSensor: frequency hint works.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: Readings delivered by shared platform sensor are immediately accessible to all sensors.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: Test that readings are all mapped to expectedReadings correctly.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: Readings are not delivered when the page has no visibility]
+ expected: FAIL
diff --git a/testing/web-platform/meta/accelerometer/__dir__.ini b/testing/web-platform/meta/accelerometer/__dir__.ini
new file mode 100644
index 0000000000..2ef043b928
--- /dev/null
+++ b/testing/web-platform/meta/accelerometer/__dir__.ini
@@ -0,0 +1 @@
+implementation-status: backlog
diff --git a/testing/web-platform/meta/accelerometer/idlharness.https.window.js.ini b/testing/web-platform/meta/accelerometer/idlharness.https.window.js.ini
new file mode 100644
index 0000000000..4c4f55c004
--- /dev/null
+++ b/testing/web-platform/meta/accelerometer/idlharness.https.window.js.ini
@@ -0,0 +1,109 @@
+[idlharness.https.window.html]
+ [Accelerometer interface: existence and properties of interface object]
+ expected: FAIL
+
+ [Accelerometer interface: new GravitySensor(); must inherit property "y" with the proper type]
+ expected: FAIL
+
+ [Accelerometer interface object name]
+ expected: FAIL
+
+ [Stringification of new LinearAccelerationSensor();]
+ expected: FAIL
+
+ [Accelerometer interface object length]
+ expected: FAIL
+
+ [GravitySensor interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [LinearAccelerationSensor interface: existence and properties of interface object]
+ expected: FAIL
+
+ [LinearAccelerationSensor interface object name]
+ expected: FAIL
+
+ [Accelerometer interface: existence and properties of interface prototype object's @@unscopables property]
+ expected: FAIL
+
+ [Accelerometer interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [LinearAccelerationSensor interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [Accelerometer interface: new Accelerometer(); must inherit property "y" with the proper type]
+ expected: FAIL
+
+ [LinearAccelerationSensor interface: existence and properties of interface prototype object's @@unscopables property]
+ expected: FAIL
+
+ [GravitySensor interface object name]
+ expected: FAIL
+
+ [GravitySensor interface: existence and properties of interface prototype object's @@unscopables property]
+ expected: FAIL
+
+ [Accelerometer interface: new GravitySensor(); must inherit property "z" with the proper type]
+ expected: FAIL
+
+ [GravitySensor interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [LinearAccelerationSensor interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [LinearAccelerationSensor must be primary interface of new LinearAccelerationSensor();]
+ expected: FAIL
+
+ [Accelerometer interface: new GravitySensor(); must inherit property "x" with the proper type]
+ expected: FAIL
+
+ [Accelerometer interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [Stringification of new GravitySensor();]
+ expected: FAIL
+
+ [Accelerometer must be primary interface of new Accelerometer();]
+ expected: FAIL
+
+ [Accelerometer interface: new LinearAccelerationSensor(); must inherit property "z" with the proper type]
+ expected: FAIL
+
+ [GravitySensor interface object length]
+ expected: FAIL
+
+ [Accelerometer interface: new LinearAccelerationSensor(); must inherit property "y" with the proper type]
+ expected: FAIL
+
+ [Accelerometer interface: attribute x]
+ expected: FAIL
+
+ [Accelerometer interface: attribute y]
+ expected: FAIL
+
+ [Accelerometer interface: attribute z]
+ expected: FAIL
+
+ [GravitySensor interface: existence and properties of interface object]
+ expected: FAIL
+
+ [Accelerometer interface: new LinearAccelerationSensor(); must inherit property "x" with the proper type]
+ expected: FAIL
+
+ [GravitySensor must be primary interface of new GravitySensor();]
+ expected: FAIL
+
+ [Accelerometer interface: new Accelerometer(); must inherit property "z" with the proper type]
+ expected: FAIL
+
+ [Stringification of new Accelerometer();]
+ expected: FAIL
+
+ [Accelerometer interface: new Accelerometer(); must inherit property "x" with the proper type]
+ expected: FAIL
+
+ [LinearAccelerationSensor interface object length]
+ expected: FAIL
+