From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- ...ensor-disabled-by-feature-policy.https.html.ini | 10 +++ ...olicy-attribute-redirect-on-load.https.html.ini | 7 ++ ...bled-by-feature-policy-attribute.https.html.ini | 7 ++ ...Sensor-enabled-by-feature-policy.https.html.ini | 10 +++ ...on-self-origin-by-feature-policy.https.html.ini | 10 +++ ...eOrientationSensor-iframe-access.https.html.ini | 12 ++++ .../AbsoluteOrientationSensor.https.html.ini | 60 ++++++++++++++++ ...ensor-disabled-by-feature-policy.https.html.ini | 10 +++ ...olicy-attribute-redirect-on-load.https.html.ini | 7 ++ ...bled-by-feature-policy-attribute.https.html.ini | 7 ++ ...Sensor-enabled-by-feature-policy.https.html.ini | 10 +++ ...on-self-origin-by-feature-policy.https.html.ini | 10 +++ ...eOrientationSensor-iframe-access.https.html.ini | 12 ++++ .../RelativeOrientationSensor.https.html.ini | 60 ++++++++++++++++ .../meta/orientation-sensor/__dir__.ini | 2 + .../idlharness.https.window.js.ini | 82 ++++++++++++++++++++++ 16 files changed, 316 insertions(+) create mode 100644 testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor-disabled-by-feature-policy.https.html.ini create mode 100644 testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html.ini create mode 100644 testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor-enabled-by-feature-policy-attribute.https.html.ini create mode 100644 testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor-enabled-by-feature-policy.https.html.ini create mode 100644 testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor-enabled-on-self-origin-by-feature-policy.https.html.ini create mode 100644 testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor-iframe-access.https.html.ini create mode 100644 testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor.https.html.ini create mode 100644 testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor-disabled-by-feature-policy.https.html.ini create mode 100644 testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html.ini create mode 100644 testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor-enabled-by-feature-policy-attribute.https.html.ini create mode 100644 testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor-enabled-by-feature-policy.https.html.ini create mode 100644 testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor-enabled-on-self-origin-by-feature-policy.https.html.ini create mode 100644 testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor-iframe-access.https.html.ini create mode 100644 testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor.https.html.ini create mode 100644 testing/web-platform/meta/orientation-sensor/__dir__.ini create mode 100644 testing/web-platform/meta/orientation-sensor/idlharness.https.window.js.ini (limited to 'testing/web-platform/meta/orientation-sensor') diff --git a/testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor-disabled-by-feature-policy.https.html.ini b/testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor-disabled-by-feature-policy.https.html.ini new file mode 100644 index 0000000000..2bf2a6905a --- /dev/null +++ b/testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor-disabled-by-feature-policy.https.html.ini @@ -0,0 +1,10 @@ +[AbsoluteOrientationSensor-disabled-by-feature-policy.https.html] + [AbsoluteOrientationSensor: Feature-Policy header accelerometer 'none';gyroscope 'none';magnetometer 'none' disallows the top-level document.] + expected: FAIL + + [AbsoluteOrientationSensor: Feature-Policy header accelerometer 'none';gyroscope 'none';magnetometer 'none' disallows same-origin iframes.] + expected: FAIL + + [AbsoluteOrientationSensor: Feature-Policy header accelerometer 'none';gyroscope 'none';magnetometer 'none' disallows cross-origin iframes.] + expected: FAIL + diff --git a/testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html.ini b/testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html.ini new file mode 100644 index 0000000000..1a9b3fd667 --- /dev/null +++ b/testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html.ini @@ -0,0 +1,7 @@ +[AbsoluteOrientationSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html] + [AbsoluteOrientationSensor: Feature-Policy allow='accelerometer gyroscope magnetometer' attribute allows same-origin relocation] + expected: FAIL + + [AbsoluteOrientationSensor: Feature-Policy allow='accelerometer gyroscope magnetometer' attribute disallows cross-origin relocation] + expected: FAIL + diff --git a/testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor-enabled-by-feature-policy-attribute.https.html.ini b/testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor-enabled-by-feature-policy-attribute.https.html.ini new file mode 100644 index 0000000000..ae482220c8 --- /dev/null +++ b/testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor-enabled-by-feature-policy-attribute.https.html.ini @@ -0,0 +1,7 @@ +[AbsoluteOrientationSensor-enabled-by-feature-policy-attribute.https.html] + [AbsoluteOrientationSensor: Feature-Policy allow='accelerometer gyroscope magnetometer' attribute allows same-origin iframe] + expected: FAIL + + [AbsoluteOrientationSensor: Feature-Policy allow='accelerometer gyroscope magnetometer' attribute allows cross-origin iframe] + expected: FAIL + diff --git a/testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor-enabled-by-feature-policy.https.html.ini b/testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor-enabled-by-feature-policy.https.html.ini new file mode 100644 index 0000000000..1ee530ca0a --- /dev/null +++ b/testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor-enabled-by-feature-policy.https.html.ini @@ -0,0 +1,10 @@ +[AbsoluteOrientationSensor-enabled-by-feature-policy.https.html] + [AbsoluteOrientationSensor: Feature-Policy header accelerometer *;gyroscope *;magnetometer * allows the top-level document.] + expected: FAIL + + [AbsoluteOrientationSensor: Feature-Policy header accelerometer *;gyroscope *;magnetometer * allows same-origin iframes.] + expected: FAIL + + [AbsoluteOrientationSensor: Feature-Policy header accelerometer *;gyroscope *;magnetometer * allows cross-origin iframes.] + expected: FAIL + diff --git a/testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor-enabled-on-self-origin-by-feature-policy.https.html.ini b/testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor-enabled-on-self-origin-by-feature-policy.https.html.ini new file mode 100644 index 0000000000..275dd46a00 --- /dev/null +++ b/testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor-enabled-on-self-origin-by-feature-policy.https.html.ini @@ -0,0 +1,10 @@ +[AbsoluteOrientationSensor-enabled-on-self-origin-by-feature-policy.https.html] + [AbsoluteOrientationSensor: Feature-Policy header accelerometer 'self';gyroscope 'self';magnetometer 'self' allows the top-level document.] + expected: FAIL + + [AbsoluteOrientationSensor: Feature-Policy header accelerometer 'self';gyroscope 'self';magnetometer 'self' allows same-origin iframes.] + expected: FAIL + + [AbsoluteOrientationSensor: Feature-Policy header accelerometer 'self';gyroscope 'self';magnetometer 'self' disallows cross-origin iframes.] + expected: FAIL + diff --git a/testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor-iframe-access.https.html.ini b/testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor-iframe-access.https.html.ini new file mode 100644 index 0000000000..0f20a6db8c --- /dev/null +++ b/testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor-iframe-access.https.html.ini @@ -0,0 +1,12 @@ +[AbsoluteOrientationSensor-iframe-access.https.html] + [AbsoluteOrientationSensor: losing a document's frame with an active sensor does not crash] + expected: FAIL + + [AbsoluteOrientationSensor: calling start() in a non-fully active document does not crash] + expected: FAIL + + [AbsoluteOrientationSensor: sensors in same-origin frames are updated if one of the frames is focused] + expected: FAIL + + [AbsoluteOrientationSensor: unfocused sensors in cross-origin frames are not updated] + expected: FAIL diff --git a/testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor.https.html.ini b/testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor.https.html.ini new file mode 100644 index 0000000000..5846cd7a7b --- /dev/null +++ b/testing/web-platform/meta/orientation-sensor/AbsoluteOrientationSensor.https.html.ini @@ -0,0 +1,60 @@ +[AbsoluteOrientationSensor.https.html] + [AbsoluteOrientationSensor.quaternion return a four-element FrozenArray.] + expected: FAIL + + [AbsoluteOrientationSensor.populateMatrix() method works correctly.] + expected: FAIL + + [AbsoluteOrientationSensor: Test that sensor can be successfully created and its states are correct.] + expected: FAIL + + [AbsoluteOrientationSensor: Test that 'onreading' is called and sensor reading is valid.] + expected: FAIL + + [AbsoluteOrientationSensor: Test that sensor can be constructed within an iframe allowed to use feature policy.] + expected: FAIL + + [AbsoluteOrientationSensor: Test that frequency is capped to allowed maximum.] + expected: FAIL + + [AbsoluteOrientationSensor: Test that frequency is capped to the maximum supported frequency.] + expected: FAIL + + [AbsoluteOrientationSensor: Test that frequency is limited to the minimum supported frequency.] + expected: FAIL + + [AbsoluteOrientationSensor: no exception is thrown when calling start() on already started sensor.] + expected: FAIL + + [AbsoluteOrientationSensor: Test that onerror is sent when permissions are not granted.] + expected: FAIL + + [AbsoluteOrientationSensor: frequency hint works.] + expected: FAIL + + [AbsoluteOrientationSensor: Test that sensor cannot be constructed within iframe disallowed to use feature policy.] + expected: FAIL + + [AbsoluteOrientationSensor: sensor reading is correct.] + expected: FAIL + + [AbsoluteOrientationSensor: Test that fresh reading is fetched on start().] + expected: FAIL + + [AbsoluteOrientationSensor: sensor timestamp is updated when time passes.] + expected: FAIL + + [AbsoluteOrientationSensor: Test that onerror is send when start() call has failed.] + expected: FAIL + + [AbsoluteOrientationSensor: no exception is thrown when calling stop() on already stopped sensor.] + expected: FAIL + + [AbsoluteOrientationSensor: Readings delivered by shared platform sensor are immediately accessible to all sensors.] + expected: FAIL + + [AbsoluteOrientationSensor: Test that readings are all mapped to expectedReadings correctly.] + expected: FAIL + + [AbsoluteOrientationSensor: Readings are not delivered when the page has no visibility] + expected: FAIL diff --git a/testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor-disabled-by-feature-policy.https.html.ini b/testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor-disabled-by-feature-policy.https.html.ini new file mode 100644 index 0000000000..d4a660dcce --- /dev/null +++ b/testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor-disabled-by-feature-policy.https.html.ini @@ -0,0 +1,10 @@ +[RelativeOrientationSensor-disabled-by-feature-policy.https.html] + [RelativeOrientationSensor: Feature-Policy header accelerometer 'none';gyroscope 'none' disallows the top-level document.] + expected: FAIL + + [RelativeOrientationSensor: Feature-Policy header accelerometer 'none';gyroscope 'none' disallows same-origin iframes.] + expected: FAIL + + [RelativeOrientationSensor: Feature-Policy header accelerometer 'none';gyroscope 'none' disallows cross-origin iframes.] + expected: FAIL + diff --git a/testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html.ini b/testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html.ini new file mode 100644 index 0000000000..74132e7b0a --- /dev/null +++ b/testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html.ini @@ -0,0 +1,7 @@ +[RelativeOrientationSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html] + [RelativeOrientationSensor: Feature-Policy allow='accelerometer gyroscope' attribute allows same-origin relocation] + expected: FAIL + + [RelativeOrientationSensor: Feature-Policy allow='accelerometer gyroscope' attribute disallows cross-origin relocation] + expected: FAIL + diff --git a/testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor-enabled-by-feature-policy-attribute.https.html.ini b/testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor-enabled-by-feature-policy-attribute.https.html.ini new file mode 100644 index 0000000000..65120e26db --- /dev/null +++ b/testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor-enabled-by-feature-policy-attribute.https.html.ini @@ -0,0 +1,7 @@ +[RelativeOrientationSensor-enabled-by-feature-policy-attribute.https.html] + [RelativeOrientationSensor: Feature-Policy allow='accelerometer gyroscope' attribute allows same-origin iframe] + expected: FAIL + + [RelativeOrientationSensor: Feature-Policy allow='accelerometer gyroscope' attribute allows cross-origin iframe] + expected: FAIL + diff --git a/testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor-enabled-by-feature-policy.https.html.ini b/testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor-enabled-by-feature-policy.https.html.ini new file mode 100644 index 0000000000..ee7ab997a6 --- /dev/null +++ b/testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor-enabled-by-feature-policy.https.html.ini @@ -0,0 +1,10 @@ +[RelativeOrientationSensor-enabled-by-feature-policy.https.html] + [RelativeOrientationSensor: Feature-Policy header accelerometer *;gyroscope * allows the top-level document.] + expected: FAIL + + [RelativeOrientationSensor: Feature-Policy header accelerometer *;gyroscope * allows same-origin iframes.] + expected: FAIL + + [RelativeOrientationSensor: Feature-Policy header accelerometer *;gyroscope * allows cross-origin iframes.] + expected: FAIL + diff --git a/testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor-enabled-on-self-origin-by-feature-policy.https.html.ini b/testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor-enabled-on-self-origin-by-feature-policy.https.html.ini new file mode 100644 index 0000000000..eefa4a16ec --- /dev/null +++ b/testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor-enabled-on-self-origin-by-feature-policy.https.html.ini @@ -0,0 +1,10 @@ +[RelativeOrientationSensor-enabled-on-self-origin-by-feature-policy.https.html] + [RelativeOrientationSensor: Feature-Policy header accelerometer 'self';gyroscope 'self' allows the top-level document.] + expected: FAIL + + [RelativeOrientationSensor: Feature-Policy header accelerometer 'self';gyroscope 'self' allows same-origin iframes.] + expected: FAIL + + [RelativeOrientationSensor: Feature-Policy header accelerometer 'self';gyroscope 'self' disallows cross-origin iframes.] + expected: FAIL + diff --git a/testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor-iframe-access.https.html.ini b/testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor-iframe-access.https.html.ini new file mode 100644 index 0000000000..bbc303f3c5 --- /dev/null +++ b/testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor-iframe-access.https.html.ini @@ -0,0 +1,12 @@ +[RelativeOrientationSensor-iframe-access.https.html] + [RelativeOrientationSensor: losing a document's frame with an active sensor does not crash] + expected: FAIL + + [RelativeOrientationSensor: calling start() in a non-fully active document does not crash] + expected: FAIL + + [RelativeOrientationSensor: unfocused sensors in cross-origin frames are not updated] + expected: FAIL + + [RelativeOrientationSensor: sensors in same-origin frames are updated if one of the frames is focused] + expected: FAIL diff --git a/testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor.https.html.ini b/testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor.https.html.ini new file mode 100644 index 0000000000..ad72e86f57 --- /dev/null +++ b/testing/web-platform/meta/orientation-sensor/RelativeOrientationSensor.https.html.ini @@ -0,0 +1,60 @@ +[RelativeOrientationSensor.https.html] + [RelativeOrientationSensor.quaternion return a four-element FrozenArray.] + expected: FAIL + + [RelativeOrientationSensor.populateMatrix() method works correctly.] + expected: FAIL + + [RelativeOrientationSensor: Test that sensor can be successfully created and its states are correct.] + expected: FAIL + + [RelativeOrientationSensor: frequency hint works.] + expected: FAIL + + [RelativeOrientationSensor: Test that frequency is capped to the maximum supported frequency.] + expected: FAIL + + [RelativeOrientationSensor: sensor timestamp is updated when time passes.] + expected: FAIL + + [RelativeOrientationSensor: no exception is thrown when calling stop() on already stopped sensor.] + expected: FAIL + + [RelativeOrientationSensor: Test that onerror is send when start() call has failed.] + expected: FAIL + + [RelativeOrientationSensor: sensor reading is correct.] + expected: FAIL + + [RelativeOrientationSensor: Test that onerror is sent when permissions are not granted.] + expected: FAIL + + [RelativeOrientationSensor: Test that frequency is limited to the minimum supported frequency.] + expected: FAIL + + [RelativeOrientationSensor: Test that 'onreading' is called and sensor reading is valid.] + expected: FAIL + + [RelativeOrientationSensor: Test that sensor can be constructed within an iframe allowed to use feature policy.] + expected: FAIL + + [RelativeOrientationSensor: Test that frequency is capped to allowed maximum.] + expected: FAIL + + [RelativeOrientationSensor: Test that fresh reading is fetched on start().] + expected: FAIL + + [RelativeOrientationSensor: no exception is thrown when calling start() on already started sensor.] + expected: FAIL + + [RelativeOrientationSensor: Test that sensor cannot be constructed within iframe disallowed to use feature policy.] + expected: FAIL + + [RelativeOrientationSensor: Readings delivered by shared platform sensor are immediately accessible to all sensors.] + expected: FAIL + + [RelativeOrientationSensor: Test that readings are all mapped to expectedReadings correctly.] + expected: FAIL + + [RelativeOrientationSensor: Readings are not delivered when the page has no visibility] + expected: FAIL diff --git a/testing/web-platform/meta/orientation-sensor/__dir__.ini b/testing/web-platform/meta/orientation-sensor/__dir__.ini new file mode 100644 index 0000000000..6f1b5a6c7c --- /dev/null +++ b/testing/web-platform/meta/orientation-sensor/__dir__.ini @@ -0,0 +1,2 @@ +implementation-status: backlog +leak-threshold: [default: 51200] diff --git a/testing/web-platform/meta/orientation-sensor/idlharness.https.window.js.ini b/testing/web-platform/meta/orientation-sensor/idlharness.https.window.js.ini new file mode 100644 index 0000000000..aba85050f5 --- /dev/null +++ b/testing/web-platform/meta/orientation-sensor/idlharness.https.window.js.ini @@ -0,0 +1,82 @@ +[idlharness.https.window.html] + [AbsoluteOrientationSensor interface object name] + expected: FAIL + + [RelativeOrientationSensor interface: existence and properties of interface prototype object] + expected: FAIL + + [OrientationSensor interface: new AbsoluteOrientationSensor(); must inherit property "populateMatrix(RotationMatrixType)" with the proper type] + expected: FAIL + + [RelativeOrientationSensor interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [RelativeOrientationSensor interface object name] + expected: FAIL + + [OrientationSensor interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [Stringification of new AbsoluteOrientationSensor();] + expected: FAIL + + [Stringification of new RelativeOrientationSensor();] + expected: FAIL + + [AbsoluteOrientationSensor interface: existence and properties of interface object] + expected: FAIL + + [OrientationSensor interface: existence and properties of interface prototype object] + expected: FAIL + + [OrientationSensor interface: attribute quaternion] + expected: FAIL + + [AbsoluteOrientationSensor must be primary interface of new AbsoluteOrientationSensor();] + expected: FAIL + + [OrientationSensor interface: calling populateMatrix(RotationMatrixType) on new AbsoluteOrientationSensor(); with too few arguments must throw TypeError] + expected: FAIL + + [AbsoluteOrientationSensor interface: existence and properties of interface prototype object] + expected: FAIL + + [RelativeOrientationSensor interface: existence and properties of interface object] + expected: FAIL + + [RelativeOrientationSensor interface object length] + expected: FAIL + + [OrientationSensor interface: new AbsoluteOrientationSensor(); must inherit property "quaternion" with the proper type] + expected: FAIL + + [RelativeOrientationSensor interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [OrientationSensor interface object length] + expected: FAIL + + [OrientationSensor interface object name] + expected: FAIL + + [AbsoluteOrientationSensor interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [AbsoluteOrientationSensor interface object length] + expected: FAIL + + [AbsoluteOrientationSensor interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [OrientationSensor interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [OrientationSensor interface: existence and properties of interface object] + expected: FAIL + + [RelativeOrientationSensor must be primary interface of new RelativeOrientationSensor();] + expected: FAIL + + [OrientationSensor interface: operation populateMatrix(RotationMatrixType)] + expected: FAIL + -- cgit v1.2.3