| Index: Source/bindings/tests/results/V8TestExtendedEvent.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestExtendedEvent.cpp b/Source/bindings/tests/results/V8TestExtendedEvent.cpp
|
| index 24e208f0992f2137722c97578eb6d23a562f6007..c383b21e8dd0fb7ceb7063c7551f6b46fbf7e949 100644
|
| --- a/Source/bindings/tests/results/V8TestExtendedEvent.cpp
|
| +++ b/Source/bindings/tests/results/V8TestExtendedEvent.cpp
|
| @@ -137,7 +137,7 @@ void V8TestExtendedEvent::constructorCallback(const v8::FunctionCallbackInfo<v8:
|
| {
|
| 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("Event", "Please use the 'new' operator, this DOM object constructor cannot be called as a function."), args.GetIsolate());
|
| return;
|
| }
|
|
|
|
|