| Index: Source/bindings/tests/results/V8TestOverloadedConstructors.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestOverloadedConstructors.cpp b/Source/bindings/tests/results/V8TestOverloadedConstructors.cpp
|
| index 3d7413d5c522933ff4355198b481109fe7646932..91b5ffe45b69e9899f32a0e4ecdd1041d8383d7c 100644
|
| --- a/Source/bindings/tests/results/V8TestOverloadedConstructors.cpp
|
| +++ b/Source/bindings/tests/results/V8TestOverloadedConstructors.cpp
|
| @@ -23,6 +23,7 @@
|
|
|
| #include "RuntimeEnabledFeatures.h"
|
| #include "V8Blob.h"
|
| +#include "bindings/v8/ExceptionMessages.h"
|
| #include "bindings/v8/ExceptionState.h"
|
| #include "bindings/v8/ScriptController.h"
|
| #include "bindings/v8/V8Binding.h"
|
| @@ -127,7 +128,7 @@ static void constructor(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| return;
|
| }
|
| if (UNLIKELY(args.Length() < 1)) {
|
| - throwNotEnoughArgumentsError(args.GetIsolate());
|
| + throwTypeError(ExceptionMessages::failedToConstruct("TestOverloadedConstructors", ExceptionMessages::notEnoughArguments(1, args.Length())), args.GetIsolate());
|
| return;
|
| }
|
| throwTypeError(args.GetIsolate());
|
|
|