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