| Index: Source/bindings/tests/results/V8TestNamedConstructor.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestNamedConstructor.cpp b/Source/bindings/tests/results/V8TestNamedConstructor.cpp
|
| index bdb59f7e6a9320fda67b2cb5e507fa2c4aa8fd64..51c534e7447e6b419dea83506dc2cef253e684c4 100644
|
| --- a/Source/bindings/tests/results/V8TestNamedConstructor.cpp
|
| +++ b/Source/bindings/tests/results/V8TestNamedConstructor.cpp
|
| @@ -70,7 +70,7 @@ WrapperTypeInfo V8TestNamedConstructorConstructor::info = { V8TestNamedConstruct
|
| static void V8TestNamedConstructorConstructorCallback(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| {
|
| if (!args.IsConstructCall()) {
|
| - throwTypeError("DOM object constructor cannot be called as a function.", args.GetIsolate());
|
| + throwTypeError(ExceptionMessages::failedToConstruct("TestNamedConstructor", "Please use the 'new' operator, this DOM object constructor cannot be called as a function."), args.GetIsolate());
|
| return;
|
| }
|
|
|
|
|