summaryrefslogtreecommitdiffstats
path: root/dom/chrome-webidl/PermissionSetParameters.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/chrome-webidl/PermissionSetParameters.webidl')
-rw-r--r--dom/chrome-webidl/PermissionSetParameters.webidl18
1 files changed, 18 insertions, 0 deletions
diff --git a/dom/chrome-webidl/PermissionSetParameters.webidl b/dom/chrome-webidl/PermissionSetParameters.webidl
new file mode 100644
index 0000000000..d56b14ab79
--- /dev/null
+++ b/dom/chrome-webidl/PermissionSetParameters.webidl
@@ -0,0 +1,18 @@
+/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * The origin of this IDL file is
+ * https://w3c.github.io/permissions/#permissions-interface
+ *
+ * This file is in chrome-webidl as:
+ * 1. This is for webdriver and is not directly exposed to web
+ * 2. Putting this to webidl/Permissions.webidl causes header inclusion conflict
+ */
+
+[GenerateInit]
+dictionary PermissionSetParameters {
+ required object descriptor;
+ required PermissionState state;
+};