Index: Source/bindings/tests/results/V8TestInterface.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterface.cpp b/Source/bindings/tests/results/V8TestInterface.cpp |
index 722c16b0b49f7ea6720d423da3e68918290b3ef2..86a1a0f53de7793e86b73eb3a466a15f3e7d6bd7 100644 |
--- a/Source/bindings/tests/results/V8TestInterface.cpp |
+++ b/Source/bindings/tests/results/V8TestInterface.cpp |
@@ -747,7 +747,7 @@ void V8TestInterface::constructorCallback(const v8::FunctionCallbackInfo<v8::Val |
{ |
TRACE_EVENT_SCOPED_SAMPLING_STATE("Blink", "DOMConstructor"); |
if (!info.IsConstructCall()) { |
- throwTypeError(ExceptionMessages::failedToConstruct("TestInterface", "Please use the 'new' operator, this DOM object constructor cannot be called as a function."), info.GetIsolate()); |
+ throwTypeError(ExceptionMessages::constructorNotCallableAsFunction("TestInterface"), info.GetIsolate()); |
return; |
} |