Index: Source/modules/crypto/Crypto.idl |
diff --git a/Source/modules/crypto/Crypto.idl b/Source/modules/crypto/Crypto.idl |
index 0682853789128c922fc7d970861cc3702b197b39..6c4b53c31bc4314c6ebeaacc62d0d4b86f8ada82 100644 |
--- a/Source/modules/crypto/Crypto.idl |
+++ b/Source/modules/crypto/Crypto.idl |
@@ -10,7 +10,7 @@ |
* 2. Redistributions in binary form must reproduce the above copyright |
* notice, this list of conditions and the following disclaimer in the |
* documentation and/or other materials provided with the distribution. |
- * 3. Neither the name of Googl, Inc. ("Google") nor the names of |
+ * 3. Neither the name of Google, Inc. ("Google") nor the names of |
* its contributors may be used to endorse or promote products derived |
* from this software without specific prior written permission. |
* |
@@ -28,14 +28,7 @@ |
[ |
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); |
- |
+] interface Crypto : RandomSource { |
abarth-chromium
2013/06/12 23:18:16
Is this how this works in the spec? This change i
|
[EnabledAtRuntime=Crypto] readonly attribute SubtleCrypto subtle; |
}; |