| Index: Source/bindings/tests/results/V8TestEventTarget.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestEventTarget.cpp b/Source/bindings/tests/results/V8TestEventTarget.cpp
|
| index 833bc312b370160b825a33935e91060cc493d46a..dd12ad8415bb66376c9cc0a956587adbb3da5707 100644
|
| --- a/Source/bindings/tests/results/V8TestEventTarget.cpp
|
| +++ b/Source/bindings/tests/results/V8TestEventTarget.cpp
|
| @@ -24,6 +24,7 @@
|
| #include "RuntimeEnabledFeatures.h"
|
| #include "V8EventTarget.h"
|
| #include "V8Node.h"
|
| +#include "bindings/v8/ExceptionMessages.h"
|
| #include "bindings/v8/ExceptionState.h"
|
| #include "bindings/v8/ScriptController.h"
|
| #include "bindings/v8/V8Binding.h"
|
| @@ -67,7 +68,7 @@ template <typename T> void V8_USE(T) { }
|
| static void itemMethod(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| {
|
| if (UNLIKELY(args.Length() < 1)) {
|
| - throwNotEnoughArgumentsError(args.GetIsolate());
|
| + throwTypeError(ExceptionMessages::failedToExecute("item", "TestEventTarget", ExceptionMessages::notEnoughArguments(1, args.Length())), args.GetIsolate());
|
| return;
|
| }
|
| TestEventTarget* imp = V8TestEventTarget::toNative(args.Holder());
|
| @@ -86,7 +87,7 @@ static void itemMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| static void namedItemMethod(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| {
|
| if (UNLIKELY(args.Length() < 1)) {
|
| - throwNotEnoughArgumentsError(args.GetIsolate());
|
| + throwTypeError(ExceptionMessages::failedToExecute("namedItem", "TestEventTarget", ExceptionMessages::notEnoughArguments(1, args.Length())), args.GetIsolate());
|
| return;
|
| }
|
| TestEventTarget* imp = V8TestEventTarget::toNative(args.Holder());
|
|
|