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 | 16 +++++ ...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 +++ .../GeolocationSensor-iframe-access.https.html.ini | 12 ++++ .../GeolocationSensor.https.html.ini | 54 +++++++++++++++ .../GeolocationSensor_read.https.html.ini | 10 +++ .../meta/geolocation-sensor/__dir__.ini | 2 + .../idlharness.https.window.js.ini | 76 ++++++++++++++++++++++ 10 files changed, 204 insertions(+) create mode 100644 testing/web-platform/meta/geolocation-sensor/GeolocationSensor-disabled-by-feature-policy.https.html.ini create mode 100644 testing/web-platform/meta/geolocation-sensor/GeolocationSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html.ini create mode 100644 testing/web-platform/meta/geolocation-sensor/GeolocationSensor-enabled-by-feature-policy-attribute.https.html.ini create mode 100644 testing/web-platform/meta/geolocation-sensor/GeolocationSensor-enabled-by-feature-policy.https.html.ini create mode 100644 testing/web-platform/meta/geolocation-sensor/GeolocationSensor-enabled-on-self-origin-by-feature-policy.https.html.ini create mode 100644 testing/web-platform/meta/geolocation-sensor/GeolocationSensor-iframe-access.https.html.ini create mode 100644 testing/web-platform/meta/geolocation-sensor/GeolocationSensor.https.html.ini create mode 100644 testing/web-platform/meta/geolocation-sensor/GeolocationSensor_read.https.html.ini create mode 100644 testing/web-platform/meta/geolocation-sensor/__dir__.ini create mode 100644 testing/web-platform/meta/geolocation-sensor/idlharness.https.window.js.ini (limited to 'testing/web-platform/meta/geolocation-sensor') diff --git a/testing/web-platform/meta/geolocation-sensor/GeolocationSensor-disabled-by-feature-policy.https.html.ini b/testing/web-platform/meta/geolocation-sensor/GeolocationSensor-disabled-by-feature-policy.https.html.ini new file mode 100644 index 0000000000..275216d8a8 --- /dev/null +++ b/testing/web-platform/meta/geolocation-sensor/GeolocationSensor-disabled-by-feature-policy.https.html.ini @@ -0,0 +1,16 @@ +[GeolocationSensor-disabled-by-feature-policy.https.html] + [GeolocationSensor: Feature-Policy header geolocation 'none' disallows the top-level document.] + expected: FAIL + + [GeolocationSensor: Feature-Policy header geolocation 'none' disallows same-origin iframes.] + expected: FAIL + + [GeolocationSensor: Feature-Policy header geolocation 'none' disallows cross-origin iframes.] + expected: FAIL + + [GeolocationSensor.read(): 'SecurityError' is thrown when disabled by Feature Policy] + expected: FAIL + + [GeolocationSensor.read(): 'AbortError' takes priority] + expected: FAIL + diff --git a/testing/web-platform/meta/geolocation-sensor/GeolocationSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html.ini b/testing/web-platform/meta/geolocation-sensor/GeolocationSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html.ini new file mode 100644 index 0000000000..e2d9f09904 --- /dev/null +++ b/testing/web-platform/meta/geolocation-sensor/GeolocationSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html.ini @@ -0,0 +1,7 @@ +[GeolocationSensor-enabled-by-feature-policy-attribute-redirect-on-load.https.html] + [GeolocationSensor: Feature-Policy allow='geolocation' attribute allows same-origin relocation] + expected: FAIL + + [GeolocationSensor: Feature-Policy allow='geolocation' attribute disallows cross-origin relocation] + expected: FAIL + diff --git a/testing/web-platform/meta/geolocation-sensor/GeolocationSensor-enabled-by-feature-policy-attribute.https.html.ini b/testing/web-platform/meta/geolocation-sensor/GeolocationSensor-enabled-by-feature-policy-attribute.https.html.ini new file mode 100644 index 0000000000..181ee6de91 --- /dev/null +++ b/testing/web-platform/meta/geolocation-sensor/GeolocationSensor-enabled-by-feature-policy-attribute.https.html.ini @@ -0,0 +1,7 @@ +[GeolocationSensor-enabled-by-feature-policy-attribute.https.html] + [GeolocationSensor: Feature-Policy allow='geolocation' attribute allows same-origin iframe] + expected: FAIL + + [GeolocationSensor: Feature-Policy allow='geolocation' attribute allows cross-origin iframe] + expected: FAIL + diff --git a/testing/web-platform/meta/geolocation-sensor/GeolocationSensor-enabled-by-feature-policy.https.html.ini b/testing/web-platform/meta/geolocation-sensor/GeolocationSensor-enabled-by-feature-policy.https.html.ini new file mode 100644 index 0000000000..5ab27b0de3 --- /dev/null +++ b/testing/web-platform/meta/geolocation-sensor/GeolocationSensor-enabled-by-feature-policy.https.html.ini @@ -0,0 +1,10 @@ +[GeolocationSensor-enabled-by-feature-policy.https.html] + [GeolocationSensor: Feature-Policy header geolocation * allows the top-level document.] + expected: FAIL + + [GeolocationSensor: Feature-Policy header geolocation * allows same-origin iframes.] + expected: FAIL + + [GeolocationSensor: Feature-Policy header geolocation * allows cross-origin iframes.] + expected: FAIL + diff --git a/testing/web-platform/meta/geolocation-sensor/GeolocationSensor-enabled-on-self-origin-by-feature-policy.https.html.ini b/testing/web-platform/meta/geolocation-sensor/GeolocationSensor-enabled-on-self-origin-by-feature-policy.https.html.ini new file mode 100644 index 0000000000..c5ba3268aa --- /dev/null +++ b/testing/web-platform/meta/geolocation-sensor/GeolocationSensor-enabled-on-self-origin-by-feature-policy.https.html.ini @@ -0,0 +1,10 @@ +[GeolocationSensor-enabled-on-self-origin-by-feature-policy.https.html] + [GeolocationSensor: Feature-Policy header geolocation 'self' allows the top-level document.] + expected: FAIL + + [GeolocationSensor: Feature-Policy header geolocation 'self' allows same-origin iframes.] + expected: FAIL + + [GeolocationSensor: Feature-Policy header geolocation 'self' disallows cross-origin iframes.] + expected: FAIL + diff --git a/testing/web-platform/meta/geolocation-sensor/GeolocationSensor-iframe-access.https.html.ini b/testing/web-platform/meta/geolocation-sensor/GeolocationSensor-iframe-access.https.html.ini new file mode 100644 index 0000000000..b554dd3469 --- /dev/null +++ b/testing/web-platform/meta/geolocation-sensor/GeolocationSensor-iframe-access.https.html.ini @@ -0,0 +1,12 @@ +[GeolocationSensor-iframe-access.https.html] + [GeolocationSensor: losing a document's frame with an active sensor does not crash] + expected: FAIL + + [GeolocationSensor: calling start() in a non-fully active document does not crash] + expected: FAIL + + [GeolocationSensor: sensors in same-origin frames are updated if one of the frames is focused] + expected: FAIL + + [GeolocationSensor: unfocused sensors in cross-origin frames are not updated] + expected: FAIL diff --git a/testing/web-platform/meta/geolocation-sensor/GeolocationSensor.https.html.ini b/testing/web-platform/meta/geolocation-sensor/GeolocationSensor.https.html.ini new file mode 100644 index 0000000000..f9569d0443 --- /dev/null +++ b/testing/web-platform/meta/geolocation-sensor/GeolocationSensor.https.html.ini @@ -0,0 +1,54 @@ +[GeolocationSensor.https.html] + [GeolocationSensor: Test that sensor can be successfully created and its states are correct.] + expected: FAIL + + [GeolocationSensor: no exception is thrown when calling stop() on already stopped sensor.] + expected: FAIL + + [GeolocationSensor: no exception is thrown when calling start() on already started sensor.] + expected: FAIL + + [GeolocationSensor: sensor timestamp is updated when time passes.] + expected: FAIL + + [GeolocationSensor: Test that fresh reading is fetched on start().] + expected: FAIL + + [GeolocationSensor: Test that frequency is capped to the maximum supported frequency.] + expected: FAIL + + [GeolocationSensor: Test that onerror is sent when permissions are not granted.] + expected: FAIL + + [GeolocationSensor: frequency hint works.] + expected: FAIL + + [GeolocationSensor: sensor reading is correct.] + expected: FAIL + + [GeolocationSensor: Test that onerror is send when start() call has failed.] + expected: FAIL + + [GeolocationSensor: Test that frequency is capped to allowed maximum.] + expected: FAIL + + [GeolocationSensor: Test that frequency is limited to the minimum supported frequency.] + expected: FAIL + + [GeolocationSensor: Test that sensor cannot be constructed within iframe disallowed to use feature policy.] + expected: FAIL + + [GeolocationSensor: Test that sensor can be constructed within an iframe allowed to use feature policy.] + expected: FAIL + + [GeolocationSensor: Test that 'onreading' is called and sensor reading is valid.] + expected: FAIL + + [GeolocationSensor: Readings delivered by shared platform sensor are immediately accessible to all sensors.] + expected: FAIL + + [GeolocationSensor: Test that readings are all mapped to expectedReadings correctly.] + expected: FAIL + + [GeolocationSensor: Readings are not delivered when the page has no visibility] + expected: FAIL diff --git a/testing/web-platform/meta/geolocation-sensor/GeolocationSensor_read.https.html.ini b/testing/web-platform/meta/geolocation-sensor/GeolocationSensor_read.https.html.ini new file mode 100644 index 0000000000..d08e10fea6 --- /dev/null +++ b/testing/web-platform/meta/geolocation-sensor/GeolocationSensor_read.https.html.ini @@ -0,0 +1,10 @@ +[GeolocationSensor_read.https.html] + [Test that read() method resolves with valid reading when signal is null] + expected: FAIL + + [Test that read() method resolves with valid reading] + expected: FAIL + + [Test that read() method rejects 'AbortError' if signal's aborted flag is set] + expected: FAIL + diff --git a/testing/web-platform/meta/geolocation-sensor/__dir__.ini b/testing/web-platform/meta/geolocation-sensor/__dir__.ini new file mode 100644 index 0000000000..7e95ffa665 --- /dev/null +++ b/testing/web-platform/meta/geolocation-sensor/__dir__.ini @@ -0,0 +1,2 @@ +implementation-status: backlog +prefs: [dom.security.featurePolicy.experimental.enabled:true, dom.reporting.enabled:true, dom.reporting.featurePolicy.enabled:true, dom.security.featurePolicy.header.enabled:true, dom.security.featurePolicy.webidl.enabled:true] diff --git a/testing/web-platform/meta/geolocation-sensor/idlharness.https.window.js.ini b/testing/web-platform/meta/geolocation-sensor/idlharness.https.window.js.ini new file mode 100644 index 0000000000..8aae90a9a2 --- /dev/null +++ b/testing/web-platform/meta/geolocation-sensor/idlharness.https.window.js.ini @@ -0,0 +1,76 @@ +[idlharness.https.window.html] + [GeolocationSensor interface: new GeolocationSensor must inherit property "speed" with the proper type] + expected: FAIL + + [Stringification of new GeolocationSensor] + expected: FAIL + + [GeolocationSensor interface: attribute altitudeAccuracy] + expected: FAIL + + [GeolocationSensor interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [GeolocationSensor interface: existence and properties of interface object] + expected: FAIL + + [GeolocationSensor interface object name] + expected: FAIL + + [GeolocationSensor interface: new GeolocationSensor must inherit property "heading" with the proper type] + expected: FAIL + + [GeolocationSensor interface: attribute latitude] + expected: FAIL + + [GeolocationSensor interface: attribute altitude] + expected: FAIL + + [GeolocationSensor interface: new GeolocationSensor must inherit property "altitudeAccuracy" with the proper type] + expected: FAIL + + [GeolocationSensor interface: new GeolocationSensor must inherit property "latitude" with the proper type] + expected: FAIL + + [GeolocationSensor interface: existence and properties of interface prototype object] + expected: FAIL + + [GeolocationSensor interface: attribute speed] + expected: FAIL + + [GeolocationSensor interface: new GeolocationSensor must inherit property "accuracy" with the proper type] + expected: FAIL + + [GeolocationSensor interface: new GeolocationSensor must inherit property "altitude" with the proper type] + expected: FAIL + + [GeolocationSensor interface: attribute accuracy] + expected: FAIL + + [GeolocationSensor interface object length] + expected: FAIL + + [GeolocationSensor interface: attribute heading] + expected: FAIL + + [GeolocationSensor must be primary interface of new GeolocationSensor] + expected: FAIL + + [GeolocationSensor interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [GeolocationSensor interface: new GeolocationSensor must inherit property "longitude" with the proper type] + expected: FAIL + + [GeolocationSensor interface: attribute longitude] + expected: FAIL + + [GeolocationSensor interface: operation read(optional ReadOptions)] + expected: FAIL + + [GeolocationSensor interface: calling read(optional ReadOptions) on new GeolocationSensor with too few arguments must throw TypeError] + expected: FAIL + + [GeolocationSensor interface: new GeolocationSensor must inherit property "read(optional ReadOptions)" with the proper type] + expected: FAIL + -- cgit v1.2.3