summaryrefslogtreecommitdiff
path: root/Source/WebCore/page/Crypto.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/page/Crypto.idl')
-rw-r--r--Source/WebCore/page/Crypto.idl10
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/WebCore/page/Crypto.idl b/Source/WebCore/page/Crypto.idl
index 4e63ecf09..05dbee1f4 100644
--- a/Source/WebCore/page/Crypto.idl
+++ b/Source/WebCore/page/Crypto.idl
@@ -28,10 +28,12 @@
*/
[
- NoInterfaceObject,
- GenerateIsReachable=ImplDocument,
+ Exposed=(Window,Worker),
+ GenerateIsReachable=ImplScriptExecutionContext,
] interface Crypto {
- [Custom, RaisesException] ArrayBufferView getRandomValues(ArrayBufferView array);
+ [Conditional=SUBTLE_CRYPTO, EnabledAtRuntime=SubtleCrypto] readonly attribute SubtleCrypto subtle;
+ [Custom, MayThrowException] ArrayBufferView getRandomValues(ArrayBufferView array);
- [Conditional=SUBTLE_CRYPTO, ImplementedAs=subtle] readonly attribute SubtleCrypto webkitSubtle;
+ // Will be deprecated.
+ [Conditional=SUBTLE_CRYPTO, GetterMayThrowException] readonly attribute WebKitSubtleCrypto webkitSubtle;
};