Index: Source/modules/crypto/RandomSource.idl |
diff --git a/Source/modules/crypto/Crypto.idl b/Source/modules/crypto/RandomSource.idl |
similarity index 92% |
copy from Source/modules/crypto/Crypto.idl |
copy to Source/modules/crypto/RandomSource.idl |
index 0682853789128c922fc7d970861cc3702b197b39..2508c434c4a97d8e924840a5ddb1b56bdd72d5c5 100644 |
--- a/Source/modules/crypto/Crypto.idl |
+++ b/Source/modules/crypto/RandomSource.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,12 @@ |
[ |
NoInterfaceObject |
-] interface Crypto { |
+] interface RandomSource { |
// 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. |
Ryan Sleevi
2013/06/12 21:57:15
comment updates needed
eroman
2013/06/12 22:00:00
I will move some version of this comment to Crypto
|
[Custom, RaisesException] ArrayBufferView getRandomValues(ArrayBufferView array); |
- |
- [EnabledAtRuntime=Crypto] readonly attribute SubtleCrypto subtle; |
}; |