| Index: Source/modules/crypto/Crypto.idl
|
| diff --git a/Source/modules/crypto/Crypto.idl b/Source/modules/crypto/Crypto.idl
|
| index 0cabce2f3da34e3719b2237d7092467b2086a17a..0682853789128c922fc7d970861cc3702b197b39 100644
|
| --- a/Source/modules/crypto/Crypto.idl
|
| +++ b/Source/modules/crypto/Crypto.idl
|
| @@ -29,6 +29,13 @@
|
| [
|
| NoInterfaceObject
|
| ] interface Crypto {
|
| + // Note that getRandomValues() is available even when the "Crypto"
|
| + // runtime feature is disabled.
|
| + //
|
| + // This is for compatibility sake, since getRandomValues() predates the full
|
| + // Web Crypto API spec.
|
| [Custom, RaisesException] ArrayBufferView getRandomValues(ArrayBufferView array);
|
| +
|
| + [EnabledAtRuntime=Crypto] readonly attribute SubtleCrypto subtle;
|
| };
|
|
|
|
|