| Index: Source/core/dom/MutationObserver.cpp
|
| diff --git a/Source/core/dom/MutationObserver.cpp b/Source/core/dom/MutationObserver.cpp
|
| index e2d5fec85cb5d01ee6b975a9af9869bdc538162c..36d1100378f7a8c86f90a228caa7f5ae00681feb 100644
|
| --- a/Source/core/dom/MutationObserver.cpp
|
| +++ b/Source/core/dom/MutationObserver.cpp
|
| @@ -84,7 +84,7 @@ bool MutationObserver::validateOptions(MutationObserverOptions options)
|
| void MutationObserver::observe(Node* node, const Dictionary& optionsDictionary, ExceptionState& es)
|
| {
|
| if (!node) {
|
| - es.throwDOMException(NotFoundError);
|
| + es.throwUninformativeAndGenericDOMException(NotFoundError);
|
| return;
|
| }
|
|
|
| @@ -111,7 +111,7 @@ void MutationObserver::observe(Node* node, const Dictionary& optionsDictionary,
|
| options |= AttributeFilter;
|
|
|
| if (!validateOptions(options)) {
|
| - es.throwDOMException(SyntaxError);
|
| + es.throwUninformativeAndGenericDOMException(SyntaxError);
|
| return;
|
| }
|
|
|
|
|