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 | 8 ++++ ...Sensor-enabled-by-feature-policy.https.html.ini | 10 ++++ ...on-self-origin-by-feature-policy.https.html.ini | 10 ++++ ...AmbientLightSensor-iframe-access.https.html.ini | 12 +++++ ...ightSensor-supported-by-feature-policy.html.ini | 4 ++ .../AmbientLightSensor.https.html.ini | 54 ++++++++++++++++++++++ .../web-platform/meta/ambient-light/__dir__.ini | 1 + .../ambient-light/idlharness.https.window.js.ini | 31 +++++++++++++ 10 files changed, 147 insertions(+) create mode 100644 testing/web-platform/meta/ambient-light/AmbientLightSensor-disabled-by-feature-policy.https.html.ini create mode 100644 testing/web-platform/meta/ambient-light/AmbientLightSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html.ini create mode 100644 testing/web-platform/meta/ambient-light/AmbientLightSensor-enabled-by-feature-policy-attribute.https.html.ini create mode 100644 testing/web-platform/meta/ambient-light/AmbientLightSensor-enabled-by-feature-policy.https.html.ini create mode 100644 testing/web-platform/meta/ambient-light/AmbientLightSensor-enabled-on-self-origin-by-feature-policy.https.html.ini create mode 100644 testing/web-platform/meta/ambient-light/AmbientLightSensor-iframe-access.https.html.ini create mode 100644 testing/web-platform/meta/ambient-light/AmbientLightSensor-supported-by-feature-policy.html.ini create mode 100644 testing/web-platform/meta/ambient-light/AmbientLightSensor.https.html.ini create mode 100644 testing/web-platform/meta/ambient-light/__dir__.ini create mode 100644 testing/web-platform/meta/ambient-light/idlharness.https.window.js.ini (limited to 'testing/web-platform/meta/ambient-light') diff --git a/testing/web-platform/meta/ambient-light/AmbientLightSensor-disabled-by-feature-policy.https.html.ini b/testing/web-platform/meta/ambient-light/AmbientLightSensor-disabled-by-feature-policy.https.html.ini new file mode 100644 index 0000000000..687631a5cb --- /dev/null +++ b/testing/web-platform/meta/ambient-light/AmbientLightSensor-disabled-by-feature-policy.https.html.ini @@ -0,0 +1,10 @@ +[AmbientLightSensor-disabled-by-feature-policy.https.html] + [AmbientLightSensor: Feature-Policy header ambient-light-sensor 'none' disallows the top-level document.] + expected: FAIL + + [AmbientLightSensor: Feature-Policy header ambient-light-sensor 'none' disallows same-origin iframes.] + expected: FAIL + + [AmbientLightSensor: Feature-Policy header ambient-light-sensor 'none' disallows cross-origin iframes.] + expected: FAIL + diff --git a/testing/web-platform/meta/ambient-light/AmbientLightSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html.ini b/testing/web-platform/meta/ambient-light/AmbientLightSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html.ini new file mode 100644 index 0000000000..745006d757 --- /dev/null +++ b/testing/web-platform/meta/ambient-light/AmbientLightSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html.ini @@ -0,0 +1,7 @@ +[AmbientLightSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html] + [AmbientLightSensor: Feature-Policy allow='ambient-light-sensor' attribute allows same-origin relocation] + expected: FAIL + + [AmbientLightSensor: Feature-Policy allow='ambient-light-sensor' attribute disallows cross-origin relocation] + expected: FAIL + diff --git a/testing/web-platform/meta/ambient-light/AmbientLightSensor-enabled-by-feature-policy-attribute.https.html.ini b/testing/web-platform/meta/ambient-light/AmbientLightSensor-enabled-by-feature-policy-attribute.https.html.ini new file mode 100644 index 0000000000..9603f934db --- /dev/null +++ b/testing/web-platform/meta/ambient-light/AmbientLightSensor-enabled-by-feature-policy-attribute.https.html.ini @@ -0,0 +1,8 @@ +[AmbientLightSensor-enabled-by-feature-policy-attribute.https.html] + expected: + if os == "win": [OK, TIMEOUT] + [AmbientLightSensor: Feature-Policy allow='ambient-light-sensor' attribute allows same-origin iframe] + expected: FAIL + + [AmbientLightSensor: Feature-Policy allow='ambient-light-sensor' attribute allows cross-origin iframe] + expected: FAIL diff --git a/testing/web-platform/meta/ambient-light/AmbientLightSensor-enabled-by-feature-policy.https.html.ini b/testing/web-platform/meta/ambient-light/AmbientLightSensor-enabled-by-feature-policy.https.html.ini new file mode 100644 index 0000000000..ad7f31e093 --- /dev/null +++ b/testing/web-platform/meta/ambient-light/AmbientLightSensor-enabled-by-feature-policy.https.html.ini @@ -0,0 +1,10 @@ +[AmbientLightSensor-enabled-by-feature-policy.https.html] + [AmbientLightSensor: Feature-Policy header ambient-light-sensor * allows the top-level document.] + expected: FAIL + + [AmbientLightSensor: Feature-Policy header ambient-light-sensor * allows same-origin iframes.] + expected: FAIL + + [AmbientLightSensor: Feature-Policy header ambient-light-sensor * allows cross-origin iframes.] + expected: FAIL + diff --git a/testing/web-platform/meta/ambient-light/AmbientLightSensor-enabled-on-self-origin-by-feature-policy.https.html.ini b/testing/web-platform/meta/ambient-light/AmbientLightSensor-enabled-on-self-origin-by-feature-policy.https.html.ini new file mode 100644 index 0000000000..3e75d3606e --- /dev/null +++ b/testing/web-platform/meta/ambient-light/AmbientLightSensor-enabled-on-self-origin-by-feature-policy.https.html.ini @@ -0,0 +1,10 @@ +[AmbientLightSensor-enabled-on-self-origin-by-feature-policy.https.html] + [AmbientLightSensor: Feature-Policy header ambient-light-sensor 'self' allows the top-level document.] + expected: FAIL + + [AmbientLightSensor: Feature-Policy header ambient-light-sensor 'self' allows same-origin iframes.] + expected: FAIL + + [AmbientLightSensor: Feature-Policy header ambient-light-sensor 'self' disallows cross-origin iframes.] + expected: FAIL + diff --git a/testing/web-platform/meta/ambient-light/AmbientLightSensor-iframe-access.https.html.ini b/testing/web-platform/meta/ambient-light/AmbientLightSensor-iframe-access.https.html.ini new file mode 100644 index 0000000000..7d5a85d726 --- /dev/null +++ b/testing/web-platform/meta/ambient-light/AmbientLightSensor-iframe-access.https.html.ini @@ -0,0 +1,12 @@ +[AmbientLightSensor-iframe-access.https.html] + [AmbientLightSensor: losing a document's frame with an active sensor does not crash] + expected: FAIL + + [AmbientLightSensor: calling start() in a non-fully active document does not crash] + expected: FAIL + + [AmbientLightSensor: sensors in same-origin frames are updated if one of the frames is focused] + expected: FAIL + + [AmbientLightSensor: unfocused sensors in cross-origin frames are not updated] + expected: FAIL diff --git a/testing/web-platform/meta/ambient-light/AmbientLightSensor-supported-by-feature-policy.html.ini b/testing/web-platform/meta/ambient-light/AmbientLightSensor-supported-by-feature-policy.html.ini new file mode 100644 index 0000000000..87364e4d20 --- /dev/null +++ b/testing/web-platform/meta/ambient-light/AmbientLightSensor-supported-by-feature-policy.html.ini @@ -0,0 +1,4 @@ +[AmbientLightSensor-supported-by-feature-policy.html] + [document.featurePolicy.features should advertise ambient-light-sensor.] + expected: FAIL + diff --git a/testing/web-platform/meta/ambient-light/AmbientLightSensor.https.html.ini b/testing/web-platform/meta/ambient-light/AmbientLightSensor.https.html.ini new file mode 100644 index 0000000000..60eed48898 --- /dev/null +++ b/testing/web-platform/meta/ambient-light/AmbientLightSensor.https.html.ini @@ -0,0 +1,54 @@ +[AmbientLightSensor.https.html] + [AmbientLightSensor: Test that sensor can be successfully created and its states are correct.] + expected: FAIL + + [AmbientLightSensor: Test that frequency is capped to the maximum supported frequency.] + expected: FAIL + + [AmbientLightSensor: Test that onerror is send when start() call has failed.] + expected: FAIL + + [AmbientLightSensor: Test that frequency is capped to allowed maximum.] + expected: FAIL + + [AmbientLightSensor: Test that frequency is limited to the minimum supported frequency.] + expected: FAIL + + [AmbientLightSensor: sensor reading is correct.] + expected: FAIL + + [AmbientLightSensor: Test that sensor cannot be constructed within iframe disallowed to use feature policy.] + expected: FAIL + + [AmbientLightSensor: frequency hint works.] + expected: FAIL + + [AmbientLightSensor: Test that onerror is sent when permissions are not granted.] + expected: FAIL + + [AmbientLightSensor: no exception is thrown when calling stop() on already stopped sensor.] + expected: FAIL + + [AmbientLightSensor: Test that 'onreading' is called and sensor reading is valid.] + expected: FAIL + + [AmbientLightSensor: sensor timestamp is updated when time passes.] + expected: FAIL + + [AmbientLightSensor: Test that fresh reading is fetched on start().] + expected: FAIL + + [AmbientLightSensor: Test that sensor can be constructed within an iframe allowed to use feature policy.] + expected: FAIL + + [AmbientLightSensor: no exception is thrown when calling start() on already started sensor.] + expected: FAIL + + [AmbientLightSensor: Readings delivered by shared platform sensor are immediately accessible to all sensors.] + expected: FAIL + + [AmbientLightSensor: Test that readings are all mapped to expectedReadings correctly.] + expected: FAIL + + [AmbientLightSensor: Readings are not delivered when the page has no visibility] + expected: FAIL diff --git a/testing/web-platform/meta/ambient-light/__dir__.ini b/testing/web-platform/meta/ambient-light/__dir__.ini new file mode 100644 index 0000000000..2ef043b928 --- /dev/null +++ b/testing/web-platform/meta/ambient-light/__dir__.ini @@ -0,0 +1 @@ +implementation-status: backlog diff --git a/testing/web-platform/meta/ambient-light/idlharness.https.window.js.ini b/testing/web-platform/meta/ambient-light/idlharness.https.window.js.ini new file mode 100644 index 0000000000..f20352e9d1 --- /dev/null +++ b/testing/web-platform/meta/ambient-light/idlharness.https.window.js.ini @@ -0,0 +1,31 @@ +[idlharness.https.window.html] + [AmbientLightSensor interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [AmbientLightSensor interface object length] + expected: FAIL + + [AmbientLightSensor interface: existence and properties of interface object] + expected: FAIL + + [AmbientLightSensor interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [AmbientLightSensor interface object name] + expected: FAIL + + [AmbientLightSensor must be primary interface of new AmbientLightSensor()] + expected: FAIL + + [AmbientLightSensor interface: new AmbientLightSensor() must inherit property "illuminance" with the proper type] + expected: FAIL + + [Stringification of new AmbientLightSensor()] + expected: FAIL + + [AmbientLightSensor interface: attribute illuminance] + expected: FAIL + + [AmbientLightSensor interface: existence and properties of interface prototype object] + expected: FAIL + -- cgit v1.2.3