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

Unified Diff: modules/crypto/Crypto.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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/credentialmanager/PasswordCredentialData.idl ('k') | modules/crypto/CryptoKey.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/modules/crypto/Crypto.idl b/modules/crypto/Crypto.idl
index 2348d779845f8430026c4220581099c7fcdb977f..27182ef7dc6899ce8c58d6aa3cb0a049b9118ba9 100644
--- a/modules/crypto/Crypto.idl
+++ b/modules/crypto/Crypto.idl
@@ -28,15 +28,10 @@
[
GarbageCollected,
- NoInterfaceObject
+ Exposed=(Window,Worker)
] 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);
+ [RaisesException, MeasureAs=CryptoGetRandomValues] ArrayBufferView getRandomValues(ArrayBufferView array);
- [RuntimeEnabled=Crypto] readonly attribute SubtleCrypto subtle;
+ readonly attribute SubtleCrypto subtle;
};
« no previous file with comments | « modules/credentialmanager/PasswordCredentialData.idl ('k') | modules/crypto/CryptoKey.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698