diff options
Diffstat (limited to 'testing/web-platform/tests/device-posture')
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"], + }); +}); |