summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/gyroscope
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/gyroscope
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/gyroscope')
-rw-r--r--testing/web-platform/meta/gyroscope/Gyroscope-disabled-by-feature-policy.https.html.ini10
-rw-r--r--testing/web-platform/meta/gyroscope/Gyroscope-enabled-by-feature-policy-attribute-redirect-on-load.https.html.ini7
-rw-r--r--testing/web-platform/meta/gyroscope/Gyroscope-enabled-by-feature-policy-attribute.https.html.ini7
-rw-r--r--testing/web-platform/meta/gyroscope/Gyroscope-enabled-by-feature-policy.https.html.ini10
-rw-r--r--testing/web-platform/meta/gyroscope/Gyroscope-enabled-on-self-origin-by-feature-policy.https.html.ini10
-rw-r--r--testing/web-platform/meta/gyroscope/Gyroscope-iframe-access.https.html.ini12
-rw-r--r--testing/web-platform/meta/gyroscope/Gyroscope-supported-by-feature-policy.html.ini4
-rw-r--r--testing/web-platform/meta/gyroscope/Gyroscope.https.html.ini54
-rw-r--r--testing/web-platform/meta/gyroscope/__dir__.ini1
-rw-r--r--testing/web-platform/meta/gyroscope/idlharness.https.window.js.ini43
10 files changed, 158 insertions, 0 deletions
diff --git a/testing/web-platform/meta/gyroscope/Gyroscope-disabled-by-feature-policy.https.html.ini b/testing/web-platform/meta/gyroscope/Gyroscope-disabled-by-feature-policy.https.html.ini
new file mode 100644
index 0000000000..3f04c630a5
--- /dev/null
+++ b/testing/web-platform/meta/gyroscope/Gyroscope-disabled-by-feature-policy.https.html.ini
@@ -0,0 +1,10 @@
+[Gyroscope-disabled-by-feature-policy.https.html]
+ [Gyroscope: Feature-Policy header gyroscope 'none' disallows the top-level document.]
+ expected: FAIL
+
+ [Gyroscope: Feature-Policy header gyroscope 'none' disallows same-origin iframes.]
+ expected: FAIL
+
+ [Gyroscope: Feature-Policy header gyroscope 'none' disallows cross-origin iframes.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/gyroscope/Gyroscope-enabled-by-feature-policy-attribute-redirect-on-load.https.html.ini b/testing/web-platform/meta/gyroscope/Gyroscope-enabled-by-feature-policy-attribute-redirect-on-load.https.html.ini
new file mode 100644
index 0000000000..02614b23c4
--- /dev/null
+++ b/testing/web-platform/meta/gyroscope/Gyroscope-enabled-by-feature-policy-attribute-redirect-on-load.https.html.ini
@@ -0,0 +1,7 @@
+[Gyroscope-enabled-by-feature-policy-attribute-redirect-on-load.https.html]
+ [Gyroscope: Feature-Policy allow='gyroscope' attribute allows same-origin relocation]
+ expected: FAIL
+
+ [Gyroscope: Feature-Policy allow='gyroscope' attribute disallows cross-origin relocation]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/gyroscope/Gyroscope-enabled-by-feature-policy-attribute.https.html.ini b/testing/web-platform/meta/gyroscope/Gyroscope-enabled-by-feature-policy-attribute.https.html.ini
new file mode 100644
index 0000000000..09ab375af5
--- /dev/null
+++ b/testing/web-platform/meta/gyroscope/Gyroscope-enabled-by-feature-policy-attribute.https.html.ini
@@ -0,0 +1,7 @@
+[Gyroscope-enabled-by-feature-policy-attribute.https.html]
+ [Gyroscope: Feature-Policy allow='gyroscope' attribute allows same-origin iframe]
+ expected: FAIL
+
+ [Gyroscope: Feature-Policy allow='gyroscope' attribute allows cross-origin iframe]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/gyroscope/Gyroscope-enabled-by-feature-policy.https.html.ini b/testing/web-platform/meta/gyroscope/Gyroscope-enabled-by-feature-policy.https.html.ini
new file mode 100644
index 0000000000..30bd9075ff
--- /dev/null
+++ b/testing/web-platform/meta/gyroscope/Gyroscope-enabled-by-feature-policy.https.html.ini
@@ -0,0 +1,10 @@
+[Gyroscope-enabled-by-feature-policy.https.html]
+ [Gyroscope: Feature-Policy header gyroscope * allows the top-level document.]
+ expected: FAIL
+
+ [Gyroscope: Feature-Policy header gyroscope * allows same-origin iframes.]
+ expected: FAIL
+
+ [Gyroscope: Feature-Policy header gyroscope * allows cross-origin iframes.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/gyroscope/Gyroscope-enabled-on-self-origin-by-feature-policy.https.html.ini b/testing/web-platform/meta/gyroscope/Gyroscope-enabled-on-self-origin-by-feature-policy.https.html.ini
new file mode 100644
index 0000000000..068e4a876e
--- /dev/null
+++ b/testing/web-platform/meta/gyroscope/Gyroscope-enabled-on-self-origin-by-feature-policy.https.html.ini
@@ -0,0 +1,10 @@
+[Gyroscope-enabled-on-self-origin-by-feature-policy.https.html]
+ [Gyroscope: Feature-Policy header gyroscope 'self' allows the top-level document.]
+ expected: FAIL
+
+ [Gyroscope: Feature-Policy header gyroscope 'self' allows same-origin iframes.]
+ expected: FAIL
+
+ [Gyroscope: Feature-Policy header gyroscope 'self' disallows cross-origin iframes.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/gyroscope/Gyroscope-iframe-access.https.html.ini b/testing/web-platform/meta/gyroscope/Gyroscope-iframe-access.https.html.ini
new file mode 100644
index 0000000000..47b1a245eb
--- /dev/null
+++ b/testing/web-platform/meta/gyroscope/Gyroscope-iframe-access.https.html.ini
@@ -0,0 +1,12 @@
+[Gyroscope-iframe-access.https.html]
+ [Gyroscope: losing a document's frame with an active sensor does not crash]
+ expected: FAIL
+
+ [Gyroscope: calling start() in a non-fully active document does not crash]
+ expected: FAIL
+
+ [Gyroscope: unfocused sensors in cross-origin frames are not updated]
+ expected: FAIL
+
+ [Gyroscope: sensors in same-origin frames are updated if one of the frames is focused]
+ expected: FAIL
diff --git a/testing/web-platform/meta/gyroscope/Gyroscope-supported-by-feature-policy.html.ini b/testing/web-platform/meta/gyroscope/Gyroscope-supported-by-feature-policy.html.ini
new file mode 100644
index 0000000000..0bdc6911ce
--- /dev/null
+++ b/testing/web-platform/meta/gyroscope/Gyroscope-supported-by-feature-policy.html.ini
@@ -0,0 +1,4 @@
+[Gyroscope-supported-by-feature-policy.html]
+ [document.featurePolicy.features should advertise gyroscope.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/gyroscope/Gyroscope.https.html.ini b/testing/web-platform/meta/gyroscope/Gyroscope.https.html.ini
new file mode 100644
index 0000000000..2b9d2a33c7
--- /dev/null
+++ b/testing/web-platform/meta/gyroscope/Gyroscope.https.html.ini
@@ -0,0 +1,54 @@
+[Gyroscope.https.html]
+ [Gyroscope: Test that sensor can be successfully created and its states are correct.]
+ expected: FAIL
+
+ [Gyroscope: no exception is thrown when calling stop() on already stopped sensor.]
+ expected: FAIL
+
+ [Gyroscope: Test that fresh reading is fetched on start().]
+ expected: FAIL
+
+ [Gyroscope: Test that sensor cannot be constructed within iframe disallowed to use feature policy.]
+ expected: FAIL
+
+ [Gyroscope: Test that frequency is capped to allowed maximum.]
+ expected: FAIL
+
+ [Gyroscope: Test that 'onreading' is called and sensor reading is valid.]
+ expected: FAIL
+
+ [Gyroscope: no exception is thrown when calling start() on already started sensor.]
+ expected: FAIL
+
+ [Gyroscope: Test that onerror is send when start() call has failed.]
+ expected: FAIL
+
+ [Gyroscope: Test that onerror is sent when permissions are not granted.]
+ expected: FAIL
+
+ [Gyroscope: Test that sensor can be constructed within an iframe allowed to use feature policy.]
+ expected: FAIL
+
+ [Gyroscope: sensor reading is correct.]
+ expected: FAIL
+
+ [Gyroscope: frequency hint works.]
+ expected: FAIL
+
+ [Gyroscope: Test that frequency is capped to the maximum supported frequency.]
+ expected: FAIL
+
+ [Gyroscope: sensor timestamp is updated when time passes.]
+ expected: FAIL
+
+ [Gyroscope: Test that frequency is limited to the minimum supported frequency.]
+ expected: FAIL
+
+ [Gyroscope: Readings delivered by shared platform sensor are immediately accessible to all sensors.]
+ expected: FAIL
+
+ [Gyroscope: Test that readings are all mapped to expectedReadings correctly.]
+ expected: FAIL
+
+ [Gyroscope: Readings are not delivered when the page has no visibility]
+ expected: FAIL
diff --git a/testing/web-platform/meta/gyroscope/__dir__.ini b/testing/web-platform/meta/gyroscope/__dir__.ini
new file mode 100644
index 0000000000..2ef043b928
--- /dev/null
+++ b/testing/web-platform/meta/gyroscope/__dir__.ini
@@ -0,0 +1 @@
+implementation-status: backlog
diff --git a/testing/web-platform/meta/gyroscope/idlharness.https.window.js.ini b/testing/web-platform/meta/gyroscope/idlharness.https.window.js.ini
new file mode 100644
index 0000000000..989a107a7d
--- /dev/null
+++ b/testing/web-platform/meta/gyroscope/idlharness.https.window.js.ini
@@ -0,0 +1,43 @@
+[idlharness.https.window.html]
+ [Stringification of new Gyroscope();]
+ expected: FAIL
+
+ [Gyroscope interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [Gyroscope interface: attribute y]
+ expected: FAIL
+
+ [Gyroscope interface: attribute z]
+ expected: FAIL
+
+ [Gyroscope interface: new Gyroscope(); must inherit property "x" with the proper type]
+ expected: FAIL
+
+ [Gyroscope interface: new Gyroscope(); must inherit property "y" with the proper type]
+ expected: FAIL
+
+ [Gyroscope interface: existence and properties of interface prototype object's @@unscopables property]
+ expected: FAIL
+
+ [Gyroscope interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [Gyroscope interface: existence and properties of interface object]
+ expected: FAIL
+
+ [Gyroscope interface object length]
+ expected: FAIL
+
+ [Gyroscope interface object name]
+ expected: FAIL
+
+ [Gyroscope interface: attribute x]
+ expected: FAIL
+
+ [Gyroscope must be primary interface of new Gyroscope();]
+ expected: FAIL
+
+ [Gyroscope interface: new Gyroscope(); must inherit property "z" with the proper type]
+ expected: FAIL
+