| Index: Source/bindings/tests/results/V8TestNamedConstructor.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestNamedConstructor.cpp b/Source/bindings/tests/results/V8TestNamedConstructor.cpp
|
| index 34669c6fc2c4f73184e6db3a29e47fdab2d8c6bc..bdb59f7e6a9320fda67b2cb5e507fa2c4aa8fd64 100644
|
| --- a/Source/bindings/tests/results/V8TestNamedConstructor.cpp
|
| +++ b/Source/bindings/tests/results/V8TestNamedConstructor.cpp
|
| @@ -23,6 +23,7 @@
|
|
|
| #include "RuntimeEnabledFeatures.h"
|
| #include "V8Document.h"
|
| +#include "bindings/v8/ExceptionMessages.h"
|
| #include "bindings/v8/ExceptionState.h"
|
| #include "bindings/v8/ScriptController.h"
|
| #include "bindings/v8/V8Binding.h"
|
| @@ -86,7 +87,7 @@ static void V8TestNamedConstructorConstructorCallback(const v8::FunctionCallback
|
| toV8(document, args.Holder(), args.GetIsolate());
|
|
|
| if (UNLIKELY(args.Length() < 1)) {
|
| - throwNotEnoughArgumentsError(args.GetIsolate());
|
| + throwTypeError(ExceptionMessages::failedToExecute("NamedConstructor", "TestNamedConstructor", ExceptionMessages::notEnoughArguments(1, args.Length())), args.GetIsolate());
|
| return;
|
| }
|
| ExceptionState es(args.GetIsolate());
|
|
|