| Index: Source/modules/encryptedmedia/MediaKeySession.cpp
|
| diff --git a/Source/modules/encryptedmedia/MediaKeySession.cpp b/Source/modules/encryptedmedia/MediaKeySession.cpp
|
| index b980c46495d43d105aebf90db848d227a1795e49..c07ff04dced7734fed6eeb4b94d62768e21b555e 100644
|
| --- a/Source/modules/encryptedmedia/MediaKeySession.cpp
|
| +++ b/Source/modules/encryptedmedia/MediaKeySession.cpp
|
| @@ -117,7 +117,7 @@ void MediaKeySession::update(Uint8Array* key, ExceptionState& es)
|
| // 1. If the first or second argument [sic] is null or an empty array, throw an InvalidAccessError.
|
| // NOTE: the reference to a "second argument" is a spec bug.
|
| if (!key || !key->length()) {
|
| - es.throwDOMException(InvalidAccessError);
|
| + es.throwUninformativeAndGenericDOMException(InvalidAccessError);
|
| return;
|
| }
|
|
|
|
|