| Index: Source/bindings/tests/results/V8TestActiveDOMObject.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestActiveDOMObject.cpp b/Source/bindings/tests/results/V8TestActiveDOMObject.cpp
|
| index fbfc54207d6a8157d69a06553f59fff771dc2a15..4561fc3778dcb981be21fb1c35e61da5ed23fca0 100644
|
| --- a/Source/bindings/tests/results/V8TestActiveDOMObject.cpp
|
| +++ b/Source/bindings/tests/results/V8TestActiveDOMObject.cpp
|
| @@ -24,6 +24,7 @@
|
| #include "RuntimeEnabledFeatures.h"
|
| #include "V8Node.h"
|
| #include "bindings/v8/BindingSecurity.h"
|
| +#include "bindings/v8/ExceptionMessages.h"
|
| #include "bindings/v8/ExceptionState.h"
|
| #include "bindings/v8/ScriptController.h"
|
| #include "bindings/v8/V8Binding.h"
|
| @@ -91,7 +92,7 @@ bool namedSecurityCheck(v8::Local<v8::Object> host, v8::Local<v8::Value> key, v8
|
| static void excitingFunctionMethod(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| {
|
| if (UNLIKELY(args.Length() < 1)) {
|
| - throwNotEnoughArgumentsError(args.GetIsolate());
|
| + throwTypeError(ExceptionMessages::failedToExecute("excitingFunction", "TestActiveDOMObject", ExceptionMessages::notEnoughArguments(1, args.Length())), args.GetIsolate());
|
| return;
|
| }
|
| TestActiveDOMObject* imp = V8TestActiveDOMObject::toNative(args.Holder());
|
| @@ -113,7 +114,7 @@ static void excitingFunctionMethodCallback(const v8::FunctionCallbackInfo<v8::Va
|
| static void postMessageMethod(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| {
|
| if (UNLIKELY(args.Length() < 1)) {
|
| - throwNotEnoughArgumentsError(args.GetIsolate());
|
| + throwTypeError(ExceptionMessages::failedToExecute("postMessage", "TestActiveDOMObject", ExceptionMessages::notEnoughArguments(1, args.Length())), args.GetIsolate());
|
| return;
|
| }
|
| TestActiveDOMObject* imp = V8TestActiveDOMObject::toNative(args.Holder());
|
|
|