| Index: Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp b/Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp
|
| index bbe41c310396a2fac9af6f4c9346f26416b01024..2d013c163588bb03551cbca134db5fbd847a5ee6 100644
|
| --- a/Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp
|
| +++ b/Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp
|
| @@ -50,7 +50,7 @@ const WrapperTypeInfo V8TestInterfaceNamedConstructor2Constructor::wrapperTypeIn
|
| static void V8TestInterfaceNamedConstructor2ConstructorCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| if (!info.IsConstructCall()) {
|
| - throwTypeError(ExceptionMessages::failedToConstruct("Audio", "Please use the 'new' operator, this DOM object constructor cannot be called as a function."), info.GetIsolate());
|
| + throwTypeError(ExceptionMessages::constructorNotCallableAsFunction("Audio"), info.GetIsolate());
|
| return;
|
| }
|
|
|
|
|