| Index: Source/core/dom/CharacterData.cpp
|
| diff --git a/Source/core/dom/CharacterData.cpp b/Source/core/dom/CharacterData.cpp
|
| index d7f818af911aa1f6fc8e69481268aab746b92f9f..d0344f255cd4ef2439a1fe46a54527ea67f6a648 100644
|
| --- a/Source/core/dom/CharacterData.cpp
|
| +++ b/Source/core/dom/CharacterData.cpp
|
| @@ -22,7 +22,6 @@
|
| #include "config.h"
|
| #include "core/dom/CharacterData.h"
|
|
|
| -#include "bindings/v8/ExceptionMessages.h"
|
| #include "bindings/v8/ExceptionState.h"
|
| #include "core/dom/Document.h"
|
| #include "core/dom/ExceptionCode.h"
|
| @@ -61,7 +60,7 @@ void CharacterData::setData(const String& data)
|
| String CharacterData::substringData(unsigned offset, unsigned count, ExceptionState& exceptionState)
|
| {
|
| if (offset > length()) {
|
| - exceptionState.throwDOMException(IndexSizeError, ExceptionMessages::failedToExecute("substringData", "CharacterData", "The offset " + String::number(offset) + " is greater than the node's length (" + String::number(length()) + ")."));
|
| + exceptionState.throwDOMException(IndexSizeError, "The offset " + String::number(offset) + " is greater than the node's length (" + String::number(length()) + ").");
|
| return String();
|
| }
|
|
|
| @@ -95,7 +94,7 @@ void CharacterData::appendData(const String& data)
|
| void CharacterData::insertData(unsigned offset, const String& data, ExceptionState& exceptionState, RecalcStyleBehavior recalcStyleBehavior)
|
| {
|
| if (offset > length()) {
|
| - exceptionState.throwDOMException(IndexSizeError, ExceptionMessages::failedToExecute("insertData", "CharacterData", "The offset " + String::number(offset) + " is greater than the node's length (" + String::number(length()) + ")."));
|
| + exceptionState.throwDOMException(IndexSizeError, "The offset " + String::number(offset) + " is greater than the node's length (" + String::number(length()) + ").");
|
| return;
|
| }
|
|
|
| @@ -110,7 +109,7 @@ void CharacterData::insertData(unsigned offset, const String& data, ExceptionSta
|
| void CharacterData::deleteData(unsigned offset, unsigned count, ExceptionState& exceptionState, RecalcStyleBehavior recalcStyleBehavior)
|
| {
|
| if (offset > length()) {
|
| - exceptionState.throwDOMException(IndexSizeError, ExceptionMessages::failedToExecute("deleteData", "CharacterData", "The offset " + String::number(offset) + " is greater than the node's length (" + String::number(length()) + ")."));
|
| + exceptionState.throwDOMException(IndexSizeError, "The offset " + String::number(offset) + " is greater than the node's length (" + String::number(length()) + ").");
|
| return;
|
| }
|
|
|
| @@ -131,7 +130,7 @@ void CharacterData::deleteData(unsigned offset, unsigned count, ExceptionState&
|
| void CharacterData::replaceData(unsigned offset, unsigned count, const String& data, ExceptionState& exceptionState)
|
| {
|
| if (offset > length()) {
|
| - exceptionState.throwDOMException(IndexSizeError, ExceptionMessages::failedToExecute("replaceData", "CharacterData", "The offset " + String::number(offset) + " is greater than the node's length (" + String::number(length()) + ")."));
|
| + exceptionState.throwDOMException(IndexSizeError, "The offset " + String::number(offset) + " is greater than the node's length (" + String::number(length()) + ").");
|
| return;
|
| }
|
|
|
|
|