| Index: Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp
|
| diff --git a/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp b/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp
|
| index e88ed8b31dcb8d89cf179a679aa3e3b3ef3c7c78..f49dd9a97b543351adf3fc6f89ce3b7d7451aea5 100644
|
| --- a/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp
|
| +++ b/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp
|
| @@ -197,7 +197,7 @@ void HTMLMediaElementEncryptedMedia::addKey(blink::WebMediaPlayer* webMediaPlaye
|
| }
|
|
|
| if (!key->length()) {
|
| - exceptionState.throwDOMException(TypeMismatchError, "The key provided is invalid.");
|
| + exceptionState.throwDOMException(TypeError, "The key provided is invalid.");
|
| return;
|
| }
|
|
|
|
|