Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Unified Diff: modules/crypto/Crypto.idl

Issue 19605006: Roll IDL to multivm@1316 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/battery/NavigatorBattery.idl ('k') | modules/crypto/SubtleCrypto.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/crypto/Crypto.idl
diff --git a/core/page/Crypto.idl b/modules/crypto/Crypto.idl
similarity index 85%
copy from core/page/Crypto.idl
copy to modules/crypto/Crypto.idl
index 0cabce2f3da34e3719b2237d7092467b2086a17a..0682853789128c922fc7d970861cc3702b197b39 100644
--- a/core/page/Crypto.idl
+++ b/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;
};
« no previous file with comments | « modules/battery/NavigatorBattery.idl ('k') | modules/crypto/SubtleCrypto.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698