| Index: Source/bindings/tests/results/V8TestEventConstructor.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestEventConstructor.cpp b/Source/bindings/tests/results/V8TestEventConstructor.cpp
|
| index ea2b03f602823c569f91618604aa944889f02256..160ebb309a3d55c8a352b319171ebd37da1ec094 100644
|
| --- a/Source/bindings/tests/results/V8TestEventConstructor.cpp
|
| +++ b/Source/bindings/tests/results/V8TestEventConstructor.cpp
|
| @@ -127,7 +127,7 @@ void V8TestEventConstructor::constructorCallback(const v8::FunctionCallbackInfo<
|
| {
|
| TRACE_EVENT_SCOPED_SAMPLING_STATE("Blink", "DOMConstructor");
|
| if (!args.IsConstructCall()) {
|
| - throwTypeError("DOM object constructor cannot be called as a function.", args.GetIsolate());
|
| + throwTypeError(ExceptionMessages::failedToConstruct("TestEventConstructor", "Please use the 'new' operator, this DOM object constructor cannot be called as a function."), args.GetIsolate());
|
| return;
|
| }
|
|
|
|
|