summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/device-posture
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:14:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:14:29 +0000
commitfbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch)
tree4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /testing/web-platform/tests/device-posture
parentReleasing progress-linux version 124.0.1-1~progress7.99u1. (diff)
downloadfirefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.tar.xz
firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.zip
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/device-posture')
-rw-r--r--testing/web-platform/tests/device-posture/META.yml4
-rw-r--r--testing/web-platform/tests/device-posture/README.md2
-rw-r--r--testing/web-platform/tests/device-posture/idlharness.https.window.js12
3 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/tests/device-posture/META.yml b/testing/web-platform/tests/device-posture/META.yml
new file mode 100644
index 0000000000..d4dc2c24e6
--- /dev/null
+++ b/testing/web-platform/tests/device-posture/META.yml
@@ -0,0 +1,4 @@
+spec: https://w3c.github.io/device-posture/
+suggested_reviewers:
+ - reillyeon
+ - darktears
diff --git a/testing/web-platform/tests/device-posture/README.md b/testing/web-platform/tests/device-posture/README.md
new file mode 100644
index 0000000000..60559c1f72
--- /dev/null
+++ b/testing/web-platform/tests/device-posture/README.md
@@ -0,0 +1,2 @@
+This directory contains (tentative) tests for the
+[Device Posture](https://w3c.github.io/device-posture/) specification.
diff --git a/testing/web-platform/tests/device-posture/idlharness.https.window.js b/testing/web-platform/tests/device-posture/idlharness.https.window.js
new file mode 100644
index 0000000000..74ebd11af9
--- /dev/null
+++ b/testing/web-platform/tests/device-posture/idlharness.https.window.js
@@ -0,0 +1,12 @@
+// META: script=/resources/WebIDLParser.js
+// META: script=/resources/idlharness.js
+
+// https://w3c.github.io/device-posture/
+
+'use strict';
+
+idl_test(["device-posture"], ["html", "dom", "webidl"], (idl_array) => {
+ idl_array.add_objects({
+ DevicePosture: ["navigator.devicePosture"],
+ });
+});