| Index: Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp b/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp
|
| index 54e5bec57b7eb5e4882340fe993d0657bd0f1d59..b3b28f9beed99841b9e18e5a4c4b13675dfff8a3 100644
|
| --- a/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp
|
| +++ b/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp
|
| @@ -49,7 +49,7 @@ void V8TestInterfaceCustomConstructor::constructorCallback(const v8::FunctionCal
|
| {
|
| TRACE_EVENT_SCOPED_SAMPLING_STATE("Blink", "DOMConstructor");
|
| if (!info.IsConstructCall()) {
|
| - throwTypeError(ExceptionMessages::failedToConstruct("TestInterfaceCustomConstructor", "Please use the 'new' operator, this DOM object constructor cannot be called as a function."), info.GetIsolate());
|
| + throwTypeError(ExceptionMessages::constructorNotCallableAsFunction("TestInterfaceCustomConstructor"), info.GetIsolate());
|
| return;
|
| }
|
|
|
|
|