| Index: Source/modules/crypto/Crypto.cpp
|
| diff --git a/Source/modules/crypto/Crypto.cpp b/Source/modules/crypto/Crypto.cpp
|
| index 6ad57e90e6fb19c211e6892cb7c37197b87bee19..fbbebc6249067d2a2a74e9412504de1a52f113a7 100644
|
| --- a/Source/modules/crypto/Crypto.cpp
|
| +++ b/Source/modules/crypto/Crypto.cpp
|
| @@ -62,11 +62,11 @@ Crypto::Crypto()
|
| void Crypto::getRandomValues(ArrayBufferView* array, ExceptionState& es)
|
| {
|
| if (!array || !isIntegerArray(array)) {
|
| - es.throwDOMException(TypeMismatchError);
|
| + es.throwUninformativeAndGenericDOMException(TypeMismatchError);
|
| return;
|
| }
|
| if (array->byteLength() > 65536) {
|
| - es.throwDOMException(QuotaExceededError);
|
| + es.throwUninformativeAndGenericDOMException(QuotaExceededError);
|
| return;
|
| }
|
| cryptographicallyRandomValues(array->baseAddress(), array->byteLength());
|
|
|