summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/accelerometer
diff options
context:
space:
mode:
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.ini37
-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.ini64
-rw-r--r--testing/web-platform/meta/accelerometer/GravitySensor.https.html.ini64
-rw-r--r--testing/web-platform/meta/accelerometer/LinearAccelerationSensor.https.html.ini64
-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, 465 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..c8e0f0d1c6
--- /dev/null
+++ b/testing/web-platform/meta/accelerometer/Accelerometer-iframe-access.https.html.ini
@@ -0,0 +1,37 @@
+[Accelerometer-iframe-access.https.html]
+ expected: ERROR
+ [Accelerometer: sensor is suspended and resumed when focus traverses from to cross-origin frame]
+ expected: FAIL
+
+ [Accelerometer: sensor is not suspended when focus traverses from to same-origin frame]
+ expected: NOTRUN
+
+ [LinearAccelerationSensor: sensor is suspended and resumed when focus traverses from to cross-origin frame]
+ expected: NOTRUN
+
+ [LinearAccelerationSensor: sensor is not suspended when focus traverses from to same-origin frame]
+ expected: NOTRUN
+
+ [GravitySensor: sensor is suspended and resumed when focus traverses from to cross-origin frame]
+ expected: NOTRUN
+
+ [GravitySensor: sensor is not suspended when focus traverses from to same-origin frame]
+ expected: NOTRUN
+
+ [LinearAccelerationSensor: losing a document's frame with an active sensor does not crash]
+ expected: NOTRUN
+
+ [Accelerometer: losing a document's frame with an active sensor does not crash]
+ expected: NOTRUN
+
+ [GravitySensor: losing a document's frame with an active sensor does not crash]
+ expected: NOTRUN
+
+ [Accelerometer: calling start() in a non-fully active document does not crash]
+ expected: NOTRUN
+
+ [LinearAccelerationSensor: calling start() in a non-fully active document does not crash]
+ expected: NOTRUN
+
+ [GravitySensor: calling start() in a non-fully active document does not crash]
+ expected: NOTRUN
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..ed9b39a7d1
--- /dev/null
+++ b/testing/web-platform/meta/accelerometer/Accelerometer.https.html.ini
@@ -0,0 +1,64 @@
+[Accelerometer.https.html]
+ expected: ERROR
+ [Accelerometer: Test that sensor can be successfully created and its states are correct.]
+ expected: NOTRUN
+
+ [Accelerometer: Test that sensor can be constructed within an iframe allowed to use feature policy.]
+ expected: NOTRUN
+
+ [Accelerometer: Test that onerror is sent when sensor is not supported.]
+ expected: FAIL
+
+ [Accelerometer: Test that frequency is limited to the minimum supported frequency.]
+ expected: NOTRUN
+
+ [Accelerometer: no exception is thrown when calling start() on already started sensor.]
+ expected: NOTRUN
+
+ [Accelerometer: throw 'TypeError' if referenceFrame is not one of enumeration values.]
+ expected: FAIL
+
+ [Accelerometer: no exception is thrown when calling stop() on already stopped sensor.]
+ expected: NOTRUN
+
+ [Accelerometer: Test that onerror is sent when permissions are not granted.]
+ expected: NOTRUN
+
+ [Accelerometer: sensor reading is correct when options.referenceFrame is 'screen'.]
+ expected: NOTRUN
+
+ [Accelerometer: sensor reading is correct.]
+ expected: NOTRUN
+
+ [Accelerometer: Test that frequency is capped to the maximum supported frequency.]
+ expected: NOTRUN
+
+ [Accelerometer: throw 'TypeError' if frequency is invalid.]
+ expected: FAIL
+
+ [Accelerometer: Test that onerror is send when start() call has failed.]
+ expected: NOTRUN
+
+ [Accelerometer: Test that sensor cannot be constructed within iframe disallowed to use feature policy.]
+ expected: NOTRUN
+
+ [Accelerometer: Test that frequency is capped to allowed maximum.]
+ expected: NOTRUN
+
+ [Accelerometer: sensor timestamp is updated when time passes.]
+ expected: NOTRUN
+
+ [Accelerometer: Test that 'onreading' is called and sensor reading is valid.]
+ expected: NOTRUN
+
+ [Accelerometer: Test that fresh reading is fetched on start().]
+ expected: NOTRUN
+
+ [Accelerometer: frequency hint works.]
+ expected: NOTRUN
+
+ [Accelerometer: Readings delivered by shared platform sensor are immediately accessible to all sensors.]
+ expected: NOTRUN
+
+ [Accelerometer: Test that readings are all mapped to expectedReadings correctly.]
+ expected: NOTRUN
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..a6363b3e5a
--- /dev/null
+++ b/testing/web-platform/meta/accelerometer/GravitySensor.https.html.ini
@@ -0,0 +1,64 @@
+[GravitySensor.https.html]
+ expected: ERROR
+ [GravitySensor: Test that onerror is sent when sensor is not supported.]
+ expected: FAIL
+
+ [GravitySensor: Test that onerror is sent when permissions are not granted.]
+ expected: NOTRUN
+
+ [GravitySensor: Test that onerror is send when start() call has failed.]
+ expected: NOTRUN
+
+ [GravitySensor: Test that frequency is capped to allowed maximum.]
+ expected: NOTRUN
+
+ [GravitySensor: Test that frequency is capped to the maximum supported frequency.]
+ expected: NOTRUN
+
+ [GravitySensor: Test that frequency is limited to the minimum supported frequency.]
+ expected: NOTRUN
+
+ [GravitySensor: Test that sensor cannot be constructed within iframe disallowed to use feature policy.]
+ expected: NOTRUN
+
+ [GravitySensor: Test that sensor can be constructed within an iframe allowed to use feature policy.]
+ expected: NOTRUN
+
+ [GravitySensor: Test that 'onreading' is called and sensor reading is valid.]
+ expected: NOTRUN
+
+ [GravitySensor: sensor reading is correct.]
+ expected: NOTRUN
+
+ [GravitySensor: sensor timestamp is updated when time passes.]
+ expected: NOTRUN
+
+ [GravitySensor: Test that sensor can be successfully created and its states are correct.]
+ expected: NOTRUN
+
+ [GravitySensor: no exception is thrown when calling start() on already started sensor.]
+ expected: NOTRUN
+
+ [GravitySensor: no exception is thrown when calling stop() on already stopped sensor.]
+ expected: NOTRUN
+
+ [GravitySensor: Test that fresh reading is fetched on start().]
+ expected: NOTRUN
+
+ [GravitySensor: frequency hint works.]
+ expected: NOTRUN
+
+ [GravitySensor: throw 'TypeError' if frequency is invalid.]
+ expected: FAIL
+
+ [GravitySensor: sensor reading is correct when options.referenceFrame is 'screen'.]
+ expected: NOTRUN
+
+ [GravitySensor: throw 'TypeError' if referenceFrame is not one of enumeration values.]
+ expected: FAIL
+
+ [GravitySensor: Readings delivered by shared platform sensor are immediately accessible to all sensors.]
+ expected: NOTRUN
+
+ [GravitySensor: Test that readings are all mapped to expectedReadings correctly.]
+ expected: NOTRUN
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..b01a569430
--- /dev/null
+++ b/testing/web-platform/meta/accelerometer/LinearAccelerationSensor.https.html.ini
@@ -0,0 +1,64 @@
+[LinearAccelerationSensor.https.html]
+ expected: ERROR
+ [LinearAccelerationSensor: Test that onerror is sent when sensor is not supported.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: Test that onerror is sent when permissions are not granted.]
+ expected: NOTRUN
+
+ [LinearAccelerationSensor: Test that onerror is send when start() call has failed.]
+ expected: NOTRUN
+
+ [LinearAccelerationSensor: Test that frequency is capped to allowed maximum.]
+ expected: NOTRUN
+
+ [LinearAccelerationSensor: Test that frequency is capped to the maximum supported frequency.]
+ expected: NOTRUN
+
+ [LinearAccelerationSensor: Test that frequency is limited to the minimum supported frequency.]
+ expected: NOTRUN
+
+ [LinearAccelerationSensor: Test that sensor cannot be constructed within iframe disallowed to use feature policy.]
+ expected: NOTRUN
+
+ [LinearAccelerationSensor: Test that sensor can be constructed within an iframe allowed to use feature policy.]
+ expected: NOTRUN
+
+ [LinearAccelerationSensor: Test that 'onreading' is called and sensor reading is valid.]
+ expected: NOTRUN
+
+ [LinearAccelerationSensor: sensor reading is correct.]
+ expected: NOTRUN
+
+ [LinearAccelerationSensor: sensor timestamp is updated when time passes.]
+ expected: NOTRUN
+
+ [LinearAccelerationSensor: Test that sensor can be successfully created and its states are correct.]
+ expected: NOTRUN
+
+ [LinearAccelerationSensor: no exception is thrown when calling start() on already started sensor.]
+ expected: NOTRUN
+
+ [LinearAccelerationSensor: no exception is thrown when calling stop() on already stopped sensor.]
+ expected: NOTRUN
+
+ [LinearAccelerationSensor: Test that fresh reading is fetched on start().]
+ expected: NOTRUN
+
+ [LinearAccelerationSensor: frequency hint works.]
+ expected: NOTRUN
+
+ [LinearAccelerationSensor: throw 'TypeError' if frequency is invalid.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: sensor reading is correct when options.referenceFrame is 'screen'.]
+ expected: NOTRUN
+
+ [LinearAccelerationSensor: throw 'TypeError' if referenceFrame is not one of enumeration values.]
+ expected: FAIL
+
+ [LinearAccelerationSensor: Readings delivered by shared platform sensor are immediately accessible to all sensors.]
+ expected: NOTRUN
+
+ [LinearAccelerationSensor: Test that readings are all mapped to expectedReadings correctly.]
+ expected: NOTRUN
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
+