| Index: Source/core/dom/MutationObserver.cpp
|
| diff --git a/Source/core/dom/MutationObserver.cpp b/Source/core/dom/MutationObserver.cpp
|
| index a8a6af61db8ac74f43170ac35a5abddcd07cc15b..06e610a33f477d2dceb0905820a1564dc6644b58 100644
|
| --- a/Source/core/dom/MutationObserver.cpp
|
| +++ b/Source/core/dom/MutationObserver.cpp
|
| @@ -33,7 +33,6 @@
|
|
|
| #include <algorithm>
|
| #include "bindings/v8/Dictionary.h"
|
| -#include "bindings/v8/ExceptionMessages.h"
|
| #include "bindings/v8/ExceptionState.h"
|
| #include "core/dom/Document.h"
|
| #include "core/dom/ExceptionCode.h"
|
| @@ -75,7 +74,7 @@ MutationObserver::~MutationObserver()
|
| void MutationObserver::observe(Node* node, const Dictionary& optionsDictionary, ExceptionState& exceptionState)
|
| {
|
| if (!node) {
|
| - exceptionState.throwDOMException(NotFoundError, ExceptionMessages::failedToExecute("observe", "MutationObserver", "The provided node was null."));
|
| + exceptionState.throwDOMException(NotFoundError, "The provided node was null.");
|
| return;
|
| }
|
|
|
| @@ -116,21 +115,21 @@ void MutationObserver::observe(Node* node, const Dictionary& optionsDictionary,
|
|
|
| if (!(options & Attributes)) {
|
| if (options & AttributeOldValue) {
|
| - exceptionState.throwDOMException(TypeError, ExceptionMessages::failedToExecute("observe", "MutationObserver", "The options object may only set 'attributeOldValue' to true when 'attributes' is true or not present."));
|
| + exceptionState.throwDOMException(TypeError, "The options object may only set 'attributeOldValue' to true when 'attributes' is true or not present.");
|
| return;
|
| }
|
| if (options & AttributeFilter) {
|
| - exceptionState.throwDOMException(TypeError, ExceptionMessages::failedToExecute("observe", "MutationObserver", "The options object may only set 'attributeFilter' when 'attributes' is true or not present."));
|
| + exceptionState.throwDOMException(TypeError, "The options object may only set 'attributeFilter' when 'attributes' is true or not present.");
|
| return;
|
| }
|
| }
|
| if (!((options & CharacterData) || !(options & CharacterDataOldValue))) {
|
| - exceptionState.throwDOMException(TypeError, ExceptionMessages::failedToExecute("observe", "MutationObserver", "The options object may only set 'characterDataOldValue' to true when 'characterData' is true or not present."));
|
| + exceptionState.throwDOMException(TypeError, "The options object may only set 'characterDataOldValue' to true when 'characterData' is true or not present.");
|
| return;
|
| }
|
|
|
| if (!(options & (Attributes | CharacterData | ChildList))) {
|
| - exceptionState.throwDOMException(TypeError, ExceptionMessages::failedToExecute("observe", "MutationObserver", "The options object must set at least one of 'attributes', 'characterData', or 'childList' to true."));
|
| + exceptionState.throwDOMException(TypeError, "The options object must set at least one of 'attributes', 'characterData', or 'childList' to true.");
|
| return;
|
| }
|
|
|
|
|