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/gyroscope | |
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/gyroscope')
10 files changed, 169 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..31503abd9c --- /dev/null +++ b/testing/web-platform/meta/gyroscope/Gyroscope-iframe-access.https.html.ini @@ -0,0 +1,13 @@ +[Gyroscope-iframe-access.https.html] + expected: ERROR + [Gyroscope: sensor is suspended and resumed when focus traverses from to cross-origin frame] + expected: FAIL + + [Gyroscope: sensor is not suspended when focus traverses from to same-origin frame] + expected: NOTRUN + + [Gyroscope: losing a document's frame with an active sensor does not crash] + expected: NOTRUN + + [Gyroscope: calling start() in a non-fully active document does not crash] + expected: NOTRUN 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..9f91ad5cdb --- /dev/null +++ b/testing/web-platform/meta/gyroscope/Gyroscope.https.html.ini @@ -0,0 +1,64 @@ +[Gyroscope.https.html] + expected: ERROR + [Gyroscope: Test that sensor can be successfully created and its states are correct.] + expected: NOTRUN + + [Gyroscope: Test that onerror is sent when sensor is not supported.] + expected: FAIL + + [Gyroscope: no exception is thrown when calling stop() on already stopped sensor.] + expected: NOTRUN + + [Gyroscope: throw 'TypeError' if frequency is invalid.] + expected: FAIL + + [Gyroscope: Test that fresh reading is fetched on start().] + expected: NOTRUN + + [Gyroscope: Test that sensor cannot be constructed within iframe disallowed to use feature policy.] + expected: NOTRUN + + [Gyroscope: Test that frequency is capped to allowed maximum.] + expected: NOTRUN + + [Gyroscope: Test that 'onreading' is called and sensor reading is valid.] + expected: NOTRUN + + [Gyroscope: no exception is thrown when calling start() on already started sensor.] + expected: NOTRUN + + [Gyroscope: Test that onerror is send when start() call has failed.] + expected: NOTRUN + + [Gyroscope: Test that onerror is sent when permissions are not granted.] + expected: NOTRUN + + [Gyroscope: Test that sensor can be constructed within an iframe allowed to use feature policy.] + expected: NOTRUN + + [Gyroscope: sensor reading is correct.] + expected: NOTRUN + + [Gyroscope: frequency hint works.] + expected: NOTRUN + + [Gyroscope: sensor reading is correct when options.referenceFrame is 'screen'.] + expected: NOTRUN + + [Gyroscope: Test that frequency is capped to the maximum supported frequency.] + expected: NOTRUN + + [Gyroscope: sensor timestamp is updated when time passes.] + expected: NOTRUN + + [Gyroscope: Test that frequency is limited to the minimum supported frequency.] + expected: NOTRUN + + [Gyroscope: Readings delivered by shared platform sensor are immediately accessible to all sensors.] + expected: NOTRUN + + [Gyroscope: Test that readings are all mapped to expectedReadings correctly.] + expected: NOTRUN + + [Gyroscope: Losing visibility must cause readings to be suspended.] + expected: NOTRUN 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 + |