Skip to content

Commit

Permalink
Bug 1693525 [wpt PR 27676] - Update interfaces/permissions.idl, a=tes…
Browse files Browse the repository at this point in the history
…tonly

Automatic update from web-platform-tests
Update interfaces/permissions.idl (#27676)

Source: https://github.com/w3c/webref/blob/4531bf6/ed/idl/permissions.idl
Build: https://travis-ci.org/w3c/webref/builds/217493628
--

wpt-commits: 8602e9c9a168c25838bc4b808e3d213ce94ccac1
wpt-pr: 27676
  • Loading branch information
autofoolip authored and moz-wptsync-bot committed Mar 8, 2021
1 parent d97066d commit 6b19813
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions testing/web-platform/tests/interfaces/permissions.idl
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,29 @@ interface Permissions {
Promise<PermissionStatus> query(object permissionDesc);
};

enum PermissionName {
"geolocation",
"notifications",
"push",
"midi",
"camera",
"microphone",
"speaker-selection",
"device-info",
"background-fetch",
"background-sync",
"bluetooth",
"persistent-storage",
"ambient-light-sensor",
"accelerometer",
"gyroscope",
"magnetometer",
"clipboard-read",
"clipboard-write",
"display-capture",
"nfc",
};

dictionary PushPermissionDescriptor : PermissionDescriptor {
boolean userVisibleOnly = false;
};
Expand Down

0 comments on commit 6b19813

Please sign in to comment.