From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- ...lerometer-disabled-by-feature-policy.https.html | 15 ++++++++++ ...r-disabled-by-feature-policy.https.html.headers | 1 + ...re-policy-attribute-redirect-on-load.https.html | 15 ++++++++++ ...-enabled-by-feature-policy-attribute.https.html | 15 ++++++++++ ...elerometer-enabled-by-feature-policy.https.html | 15 ++++++++++ ...er-enabled-by-feature-policy.https.html.headers | 1 + ...led-on-self-origin-by-feature-policy.https.html | 15 ++++++++++ ...elf-origin-by-feature-policy.https.html.headers | 1 + .../Accelerometer-iframe-access.https.html | 17 +++++++++++ .../Accelerometer-supported-by-feature-policy.html | 11 ++++++++ .../tests/accelerometer/Accelerometer.https.html | 33 ++++++++++++++++++++++ .../Accelerometer_insecure_context.html | 22 +++++++++++++++ .../tests/accelerometer/GravitySensor.https.html | 33 ++++++++++++++++++++++ ...erationSensor-shake-threshold-manual.https.html | 32 +++++++++++++++++++++ .../LinearAccelerationSensor.https.html | 33 ++++++++++++++++++++++ testing/web-platform/tests/accelerometer/META.yml | 5 ++++ .../tests/accelerometer/idlharness.https.window.js | 18 ++++++++++++ 17 files changed, 282 insertions(+) create mode 100644 testing/web-platform/tests/accelerometer/Accelerometer-disabled-by-feature-policy.https.html create mode 100644 testing/web-platform/tests/accelerometer/Accelerometer-disabled-by-feature-policy.https.html.headers create mode 100644 testing/web-platform/tests/accelerometer/Accelerometer-enabled-by-feature-policy-attribute-redirect-on-load.https.html create mode 100644 testing/web-platform/tests/accelerometer/Accelerometer-enabled-by-feature-policy-attribute.https.html create mode 100644 testing/web-platform/tests/accelerometer/Accelerometer-enabled-by-feature-policy.https.html create mode 100644 testing/web-platform/tests/accelerometer/Accelerometer-enabled-by-feature-policy.https.html.headers create mode 100644 testing/web-platform/tests/accelerometer/Accelerometer-enabled-on-self-origin-by-feature-policy.https.html create mode 100644 testing/web-platform/tests/accelerometer/Accelerometer-enabled-on-self-origin-by-feature-policy.https.html.headers create mode 100644 testing/web-platform/tests/accelerometer/Accelerometer-iframe-access.https.html create mode 100644 testing/web-platform/tests/accelerometer/Accelerometer-supported-by-feature-policy.html create mode 100644 testing/web-platform/tests/accelerometer/Accelerometer.https.html create mode 100644 testing/web-platform/tests/accelerometer/Accelerometer_insecure_context.html create mode 100644 testing/web-platform/tests/accelerometer/GravitySensor.https.html create mode 100644 testing/web-platform/tests/accelerometer/LinearAccelerationSensor-shake-threshold-manual.https.html create mode 100644 testing/web-platform/tests/accelerometer/LinearAccelerationSensor.https.html create mode 100644 testing/web-platform/tests/accelerometer/META.yml create mode 100644 testing/web-platform/tests/accelerometer/idlharness.https.window.js (limited to 'testing/web-platform/tests/accelerometer') diff --git a/testing/web-platform/tests/accelerometer/Accelerometer-disabled-by-feature-policy.https.html b/testing/web-platform/tests/accelerometer/Accelerometer-disabled-by-feature-policy.https.html new file mode 100644 index 0000000000..041ddc4470 --- /dev/null +++ b/testing/web-platform/tests/accelerometer/Accelerometer-disabled-by-feature-policy.https.html @@ -0,0 +1,15 @@ + + +Accelerometer Feature Policy Test: Disabled + + + + + + diff --git a/testing/web-platform/tests/accelerometer/Accelerometer-disabled-by-feature-policy.https.html.headers b/testing/web-platform/tests/accelerometer/Accelerometer-disabled-by-feature-policy.https.html.headers new file mode 100644 index 0000000000..beea0422d9 --- /dev/null +++ b/testing/web-platform/tests/accelerometer/Accelerometer-disabled-by-feature-policy.https.html.headers @@ -0,0 +1 @@ +Feature-Policy: accelerometer 'none' diff --git a/testing/web-platform/tests/accelerometer/Accelerometer-enabled-by-feature-policy-attribute-redirect-on-load.https.html b/testing/web-platform/tests/accelerometer/Accelerometer-enabled-by-feature-policy-attribute-redirect-on-load.https.html new file mode 100644 index 0000000000..53f6960ce5 --- /dev/null +++ b/testing/web-platform/tests/accelerometer/Accelerometer-enabled-by-feature-policy-attribute-redirect-on-load.https.html @@ -0,0 +1,15 @@ + + +Accelerometer Feature Policy Test: Enabled by attribute redirect on load + + + + + + diff --git a/testing/web-platform/tests/accelerometer/Accelerometer-enabled-by-feature-policy-attribute.https.html b/testing/web-platform/tests/accelerometer/Accelerometer-enabled-by-feature-policy-attribute.https.html new file mode 100644 index 0000000000..3dd49d330e --- /dev/null +++ b/testing/web-platform/tests/accelerometer/Accelerometer-enabled-by-feature-policy-attribute.https.html @@ -0,0 +1,15 @@ + + +Accelerometer Feature Policy Test: Enabled by attribute + + + + + + diff --git a/testing/web-platform/tests/accelerometer/Accelerometer-enabled-by-feature-policy.https.html b/testing/web-platform/tests/accelerometer/Accelerometer-enabled-by-feature-policy.https.html new file mode 100644 index 0000000000..f5d08972d5 --- /dev/null +++ b/testing/web-platform/tests/accelerometer/Accelerometer-enabled-by-feature-policy.https.html @@ -0,0 +1,15 @@ + + +Accelerometer Feature Policy Test: Enabled + + + + + + diff --git a/testing/web-platform/tests/accelerometer/Accelerometer-enabled-by-feature-policy.https.html.headers b/testing/web-platform/tests/accelerometer/Accelerometer-enabled-by-feature-policy.https.html.headers new file mode 100644 index 0000000000..5df2754abf --- /dev/null +++ b/testing/web-platform/tests/accelerometer/Accelerometer-enabled-by-feature-policy.https.html.headers @@ -0,0 +1 @@ +Feature-Policy: accelerometer * diff --git a/testing/web-platform/tests/accelerometer/Accelerometer-enabled-on-self-origin-by-feature-policy.https.html b/testing/web-platform/tests/accelerometer/Accelerometer-enabled-on-self-origin-by-feature-policy.https.html new file mode 100644 index 0000000000..2074562b7a --- /dev/null +++ b/testing/web-platform/tests/accelerometer/Accelerometer-enabled-on-self-origin-by-feature-policy.https.html @@ -0,0 +1,15 @@ + + +Accelerometer Feature Policy Test: Enabled on self origin + + + + + + diff --git a/testing/web-platform/tests/accelerometer/Accelerometer-enabled-on-self-origin-by-feature-policy.https.html.headers b/testing/web-platform/tests/accelerometer/Accelerometer-enabled-on-self-origin-by-feature-policy.https.html.headers new file mode 100644 index 0000000000..cdefed843e --- /dev/null +++ b/testing/web-platform/tests/accelerometer/Accelerometer-enabled-on-self-origin-by-feature-policy.https.html.headers @@ -0,0 +1 @@ +Feature-Policy: accelerometer 'self' diff --git a/testing/web-platform/tests/accelerometer/Accelerometer-iframe-access.https.html b/testing/web-platform/tests/accelerometer/Accelerometer-iframe-access.https.html new file mode 100644 index 0000000000..bec1705780 --- /dev/null +++ b/testing/web-platform/tests/accelerometer/Accelerometer-iframe-access.https.html @@ -0,0 +1,17 @@ + + +Accelerometer iframe test + + + + + + + + +
+ diff --git a/testing/web-platform/tests/accelerometer/Accelerometer-supported-by-feature-policy.html b/testing/web-platform/tests/accelerometer/Accelerometer-supported-by-feature-policy.html new file mode 100644 index 0000000000..8e09c7acdf --- /dev/null +++ b/testing/web-platform/tests/accelerometer/Accelerometer-supported-by-feature-policy.html @@ -0,0 +1,11 @@ + +Test that accelerometer is advertised in the feature list + + + + + diff --git a/testing/web-platform/tests/accelerometer/Accelerometer.https.html b/testing/web-platform/tests/accelerometer/Accelerometer.https.html new file mode 100644 index 0000000000..0db87d2efc --- /dev/null +++ b/testing/web-platform/tests/accelerometer/Accelerometer.https.html @@ -0,0 +1,33 @@ + + +Accelerometer Test + + + + + + + + diff --git a/testing/web-platform/tests/accelerometer/Accelerometer_insecure_context.html b/testing/web-platform/tests/accelerometer/Accelerometer_insecure_context.html new file mode 100644 index 0000000000..ff1f0832c3 --- /dev/null +++ b/testing/web-platform/tests/accelerometer/Accelerometer_insecure_context.html @@ -0,0 +1,22 @@ + + +Accelerometer Test: insecure context + + + + + +
+

Note:

+
    +
  1. + Run test in an insecure context, e.g. http://example.com/. +
  2. +
+ diff --git a/testing/web-platform/tests/accelerometer/GravitySensor.https.html b/testing/web-platform/tests/accelerometer/GravitySensor.https.html new file mode 100644 index 0000000000..6fb21e5572 --- /dev/null +++ b/testing/web-platform/tests/accelerometer/GravitySensor.https.html @@ -0,0 +1,33 @@ + + +Gravity Sensor Test + + + + + + + + diff --git a/testing/web-platform/tests/accelerometer/LinearAccelerationSensor-shake-threshold-manual.https.html b/testing/web-platform/tests/accelerometer/LinearAccelerationSensor-shake-threshold-manual.https.html new file mode 100644 index 0000000000..c0746e5ebd --- /dev/null +++ b/testing/web-platform/tests/accelerometer/LinearAccelerationSensor-shake-threshold-manual.https.html @@ -0,0 +1,32 @@ + + +LinearAccelerationSensor Shake Threshold Test + + + + +

+ Shake gesture along x axis of the device. +

+ diff --git a/testing/web-platform/tests/accelerometer/LinearAccelerationSensor.https.html b/testing/web-platform/tests/accelerometer/LinearAccelerationSensor.https.html new file mode 100644 index 0000000000..8dd3446f40 --- /dev/null +++ b/testing/web-platform/tests/accelerometer/LinearAccelerationSensor.https.html @@ -0,0 +1,33 @@ + + +Linear Acceleration Sensor Test + + + + + + + + diff --git a/testing/web-platform/tests/accelerometer/META.yml b/testing/web-platform/tests/accelerometer/META.yml new file mode 100644 index 0000000000..dbfac71522 --- /dev/null +++ b/testing/web-platform/tests/accelerometer/META.yml @@ -0,0 +1,5 @@ +spec: https://w3c.github.io/accelerometer/ +suggested_reviewers: + - riju + - Honry + - rakuco diff --git a/testing/web-platform/tests/accelerometer/idlharness.https.window.js b/testing/web-platform/tests/accelerometer/idlharness.https.window.js new file mode 100644 index 0000000000..1e041e9a23 --- /dev/null +++ b/testing/web-platform/tests/accelerometer/idlharness.https.window.js @@ -0,0 +1,18 @@ +// META: script=/resources/WebIDLParser.js +// META: script=/resources/idlharness.js + +// https://w3c.github.io/accelerometer/ + +"use strict"; + +idl_test( + ['accelerometer'], + ['generic-sensor', 'dom'], + idl_array => { + idl_array.add_objects({ + Accelerometer: ['new Accelerometer();'], + LinearAccelerationSensor: ['new LinearAccelerationSensor();'], + GravitySensor: ['new GravitySensor();'] + }); + } +); -- cgit v1.2.3