From 6b19813e40df1c2a9d606d4a3be28241db998875 Mon Sep 17 00:00:00 2001 From: autofoolip Date: Mon, 22 Feb 2021 21:47:23 +0000 Subject: [PATCH] Bug 1693525 [wpt PR 27676] - Update interfaces/permissions.idl, a=testonly 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 --- .../tests/interfaces/permissions.idl | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/testing/web-platform/tests/interfaces/permissions.idl b/testing/web-platform/tests/interfaces/permissions.idl index dfc934f9ce399..2f7fc1ed83d68 100644 --- a/testing/web-platform/tests/interfaces/permissions.idl +++ b/testing/web-platform/tests/interfaces/permissions.idl @@ -34,6 +34,29 @@ interface Permissions { Promise 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; };