summaryrefslogtreecommitdiffstats
path: root/dom/webidl/Lock.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/webidl/Lock.webidl')
-rw-r--r--dom/webidl/Lock.webidl5
1 files changed, 5 insertions, 0 deletions
diff --git a/dom/webidl/Lock.webidl b/dom/webidl/Lock.webidl
new file mode 100644
index 0000000000..bed5dc59a2
--- /dev/null
+++ b/dom/webidl/Lock.webidl
@@ -0,0 +1,5 @@
+[SecureContext, Exposed=(Window,Worker), Pref="dom.weblocks.enabled"]
+interface Lock {
+ readonly attribute DOMString name;
+ readonly attribute LockMode mode;
+};