| Index: Source/bindings/tests/results/V8TestOverloadedConstructors.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestOverloadedConstructors.cpp b/Source/bindings/tests/results/V8TestOverloadedConstructors.cpp
|
| index 91b5ffe45b69e9899f32a0e4ecdd1041d8383d7c..44b8a5431d10a9e19c2158d2c122bcf808da6f49 100644
|
| --- a/Source/bindings/tests/results/V8TestOverloadedConstructors.cpp
|
| +++ b/Source/bindings/tests/results/V8TestOverloadedConstructors.cpp
|
| @@ -141,7 +141,7 @@ void V8TestOverloadedConstructors::constructorCallback(const v8::FunctionCallbac
|
| {
|
| 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("TestOverloadedConstructors", "Please use the 'new' operator, this DOM object constructor cannot be called as a function."), args.GetIsolate());
|
| return;
|
| }
|
|
|
|
|