summaryrefslogtreecommitdiff
path: root/dom/webidl/Crypto.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/webidl/Crypto.webidl')
-rw-r--r--dom/webidl/Crypto.webidl3
1 files changed, 3 insertions, 0 deletions
diff --git a/dom/webidl/Crypto.webidl b/dom/webidl/Crypto.webidl
index 31574a219c..2ef7b5d21d 100644
--- a/dom/webidl/Crypto.webidl
+++ b/dom/webidl/Crypto.webidl
@@ -18,4 +18,7 @@ interface Crypto {
[Throws]
ArrayBufferView getRandomValues(ArrayBufferView array);
+
+ [SecureContext]
+ DOMString randomUUID();
};