| Index: Source/core/css/MediaList.cpp
|
| diff --git a/Source/core/css/MediaList.cpp b/Source/core/css/MediaList.cpp
|
| index 607ca4af3e7bf55a2ea2aea173252ede1bb436b8..fdc4b368c00a584d6f269d0084b7782347947f2c 100644
|
| --- a/Source/core/css/MediaList.cpp
|
| +++ b/Source/core/css/MediaList.cpp
|
| @@ -202,7 +202,7 @@ void MediaList::deleteMedium(const String& medium, ExceptionState& es)
|
|
|
| bool success = m_mediaQueries->remove(medium);
|
| if (!success) {
|
| - es.throwDOMException(NotFoundError);
|
| + es.throwUninformativeAndGenericDOMException(NotFoundError);
|
| return;
|
| }
|
| if (m_parentStyleSheet)
|
| @@ -215,7 +215,7 @@ void MediaList::appendMedium(const String& medium, ExceptionState& es)
|
|
|
| bool success = m_mediaQueries->add(medium);
|
| if (!success) {
|
| - es.throwDOMException(InvalidCharacterError);
|
| + es.throwUninformativeAndGenericDOMException(InvalidCharacterError);
|
| return;
|
| }
|
|
|
|
|