forked from web-platform-tests/wpt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Device Posture] Add IDLHarness test for Device Posture.
This is just a very basic IDL test as full testing will be coming later (we need to be able to change the posture in the tests). Bug: 40124716 Change-Id: Ife9ee4efdc5d40cac301e0cc308111b182d4d253 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5354691 Reviewed-by: Raphael Kubo Da Costa <[email protected]> Reviewed-by: Reilly Grant <[email protected]> Commit-Queue: Alexis Menard <[email protected]> Cr-Commit-Position: refs/heads/main@{#1270447}
- Loading branch information
1 parent
69e720a
commit b1a2508
Showing
3 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
spec: https://w3c.github.io/device-posture/ | ||
suggested_reviewers: | ||
- reillyeon | ||
- darktears |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
This directory contains (tentative) tests for the | ||
[Device Posture](https://w3c.github.io/device-posture/) specification. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"], | ||
}); | ||
}); |