| Index: Source/bindings/tests/results/V8TestObject.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestObject.cpp b/Source/bindings/tests/results/V8TestObject.cpp
|
| index d844dbf38595f946fa6b1b0926f367f975961577..30c1e3f6a07836cc927cd4cd6bc40a448a9718e8 100644
|
| --- a/Source/bindings/tests/results/V8TestObject.cpp
|
| +++ b/Source/bindings/tests/results/V8TestObject.cpp
|
| @@ -2825,7 +2825,6 @@ static void voidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| {
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| imp->voidMethod();
|
| -
|
| return;
|
| }
|
|
|
| @@ -2847,7 +2846,6 @@ static void voidMethodWithArgsMethod(const v8::FunctionCallbackInfo<v8::Value>&
|
| V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, strArg, args[1]);
|
| V8TRYCATCH_VOID(TestObj*, objArg, V8TestObject::HasInstance(args[2], args.GetIsolate(), worldType(args.GetIsolate())) ? V8TestObject::toNative(v8::Handle<v8::Object>::Cast(args[2])) : 0);
|
| imp->voidMethodWithArgs(longArg, strArg, objArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -2938,7 +2936,6 @@ static void methodWithSequenceArgMethod(const v8::FunctionCallbackInfo<v8::Value
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_VOID(Vector<RefPtr<TestInterface> >, sequenceArg, (toRefPtrNativeArray<TestInterface, V8TestInterface>(args[0], 1, args.GetIsolate())));
|
| imp->methodWithSequenceArg(sequenceArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -2982,7 +2979,6 @@ static void methodWithEnumArgMethod(const v8::FunctionCallbackInfo<v8::Value>& a
|
| return;
|
| }
|
| imp->methodWithEnumArg(enumArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3029,7 +3025,6 @@ static void serializedValueMethod(const v8::FunctionCallbackInfo<v8::Value>& arg
|
| if (serializedArgDidThrow)
|
| return;
|
| imp->serializedValue(serializedArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3058,7 +3053,6 @@ static void optionsObjectMethod(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| return;
|
| }
|
| imp->optionsObject(oo, ooo);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3076,7 +3070,6 @@ static void methodWithExceptionMethod(const v8::FunctionCallbackInfo<v8::Value>&
|
| imp->methodWithException(es);
|
| if (es.throwIfNeeded())
|
| return;
|
| -
|
| return;
|
| }
|
|
|
| @@ -3176,7 +3169,6 @@ static void withScriptStateVoidMethod(const v8::FunctionCallbackInfo<v8::Value>&
|
| throwError(exception, args.GetIsolate());
|
| return;
|
| }
|
| -
|
| return;
|
| }
|
|
|
| @@ -3229,7 +3221,6 @@ static void withScriptStateVoidExceptionMethod(const v8::FunctionCallbackInfo<v8
|
| throwError(exception, args.GetIsolate());
|
| return;
|
| }
|
| -
|
| return;
|
| }
|
|
|
| @@ -3273,7 +3264,6 @@ static void withExecutionContextMethod(const v8::FunctionCallbackInfo<v8::Value>
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| ExecutionContext* scriptContext = getExecutionContext();
|
| imp->withExecutionContext(scriptContext);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3299,7 +3289,6 @@ static void withExecutionContextAndScriptStateMethod(const v8::FunctionCallbackI
|
| throwError(exception, args.GetIsolate());
|
| return;
|
| }
|
| -
|
| return;
|
| }
|
|
|
| @@ -3369,7 +3358,6 @@ static void withActiveWindowAndFirstWindowMethod(const v8::FunctionCallbackInfo<
|
| {
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| imp->withActiveWindowAndFirstWindow(activeDOMWindow(), firstDOMWindow());
|
| -
|
| return;
|
| }
|
|
|
| @@ -3385,12 +3373,10 @@ static void methodWithOptionalArgMethod(const v8::FunctionCallbackInfo<v8::Value
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| if (UNLIKELY(args.Length() <= 0)) {
|
| imp->methodWithOptionalArg();
|
| -
|
| return;
|
| }
|
| V8TRYCATCH_VOID(int, opt, toInt32(args[0]));
|
| imp->methodWithOptionalArg(opt);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3411,12 +3397,10 @@ static void methodWithNonOptionalArgAndOptionalArgMethod(const v8::FunctionCallb
|
| V8TRYCATCH_VOID(int, nonOpt, toInt32(args[0]));
|
| if (UNLIKELY(args.Length() <= 1)) {
|
| imp->methodWithNonOptionalArgAndOptionalArg(nonOpt);
|
| -
|
| return;
|
| }
|
| V8TRYCATCH_VOID(int, opt, toInt32(args[1]));
|
| imp->methodWithNonOptionalArgAndOptionalArg(nonOpt, opt);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3437,18 +3421,15 @@ static void methodWithNonOptionalArgAndTwoOptionalArgsMethod(const v8::FunctionC
|
| V8TRYCATCH_VOID(int, nonOpt, toInt32(args[0]));
|
| if (UNLIKELY(args.Length() <= 1)) {
|
| imp->methodWithNonOptionalArgAndTwoOptionalArgs(nonOpt);
|
| -
|
| return;
|
| }
|
| V8TRYCATCH_VOID(int, opt1, toInt32(args[1]));
|
| if (UNLIKELY(args.Length() <= 2)) {
|
| imp->methodWithNonOptionalArgAndTwoOptionalArgs(nonOpt, opt1);
|
| -
|
| return;
|
| }
|
| V8TRYCATCH_VOID(int, opt2, toInt32(args[2]));
|
| imp->methodWithNonOptionalArgAndTwoOptionalArgs(nonOpt, opt1, opt2);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3464,12 +3445,10 @@ static void methodWithOptionalStringMethod(const v8::FunctionCallbackInfo<v8::Va
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| if (UNLIKELY(args.Length() <= 0)) {
|
| imp->methodWithOptionalString();
|
| -
|
| return;
|
| }
|
| V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, str, args[0]);
|
| imp->methodWithOptionalString(str);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3485,7 +3464,6 @@ static void methodWithOptionalStringIsUndefinedMethod(const v8::FunctionCallback
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, str, args[0]);
|
| imp->methodWithOptionalStringIsUndefined(str);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3501,7 +3479,6 @@ static void methodWithOptionalStringIsNullStringMethod(const v8::FunctionCallbac
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, str, argumentOrNull(args, 0));
|
| imp->methodWithOptionalStringIsNullString(str);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3525,7 +3502,6 @@ static void methodWithCallbackArgMethod(const v8::FunctionCallbackInfo<v8::Value
|
| }
|
| RefPtr<TestCallback> callback = V8TestCallback::create(args[0], getExecutionContext());
|
| imp->methodWithCallbackArg(callback);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3550,7 +3526,6 @@ static void methodWithNonCallbackArgAndCallbackArgMethod(const v8::FunctionCallb
|
| }
|
| RefPtr<TestCallback> callback = V8TestCallback::create(args[1], getExecutionContext());
|
| imp->methodWithNonCallbackArgAndCallbackArg(nonCallback, callback);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3573,7 +3548,6 @@ static void methodWithCallbackAndOptionalArgMethod(const v8::FunctionCallbackInf
|
| callback = V8TestCallback::create(args[0], getExecutionContext());
|
| }
|
| imp->methodWithCallbackAndOptionalArg(callback);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3597,7 +3571,6 @@ static void methodWithNullableCallbackArgMethod(const v8::FunctionCallbackInfo<v
|
| }
|
| RefPtr<TestCallback> callback = args[0]->IsNull() ? 0 : V8TestCallback::create(args[0], getExecutionContext());
|
| imp->methodWithNullableCallbackArg(callback);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3619,7 +3592,6 @@ static void staticMethodWithCallbackAndOptionalArgMethod(const v8::FunctionCallb
|
| callback = V8TestCallback::create(args[0], getExecutionContext());
|
| }
|
| TestObj::staticMethodWithCallbackAndOptionalArg(callback);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3642,7 +3614,6 @@ static void staticMethodWithCallbackArgMethod(const v8::FunctionCallbackInfo<v8:
|
| }
|
| RefPtr<TestCallback> callback = V8TestCallback::create(args[0], getExecutionContext());
|
| TestObj::staticMethodWithCallbackArg(callback);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3662,7 +3633,6 @@ static void methodWithEnforceRangeInt8Method(const v8::FunctionCallbackInfo<v8::
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_WITH_TYPECHECK_VOID(int, value, toInt8(args[0], EnforceRange, ok), args.GetIsolate());
|
| imp->methodWithEnforceRangeInt8(value);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3682,7 +3652,6 @@ static void methodWithEnforceRangeUInt8Method(const v8::FunctionCallbackInfo<v8:
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_WITH_TYPECHECK_VOID(unsigned, value, toUInt8(args[0], EnforceRange, ok), args.GetIsolate());
|
| imp->methodWithEnforceRangeUInt8(value);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3702,7 +3671,6 @@ static void methodWithEnforceRangeInt32Method(const v8::FunctionCallbackInfo<v8:
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_WITH_TYPECHECK_VOID(int, value, toInt32(args[0], EnforceRange, ok), args.GetIsolate());
|
| imp->methodWithEnforceRangeInt32(value);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3722,7 +3690,6 @@ static void methodWithEnforceRangeUInt32Method(const v8::FunctionCallbackInfo<v8
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_WITH_TYPECHECK_VOID(unsigned, value, toUInt32(args[0], EnforceRange, ok), args.GetIsolate());
|
| imp->methodWithEnforceRangeUInt32(value);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3742,7 +3709,6 @@ static void methodWithEnforceRangeInt64Method(const v8::FunctionCallbackInfo<v8:
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_WITH_TYPECHECK_VOID(long long, value, toInt64(args[0], EnforceRange, ok), args.GetIsolate());
|
| imp->methodWithEnforceRangeInt64(value);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3762,7 +3728,6 @@ static void methodWithEnforceRangeUInt64Method(const v8::FunctionCallbackInfo<v8
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_WITH_TYPECHECK_VOID(unsigned long long, value, toUInt64(args[0], EnforceRange, ok), args.GetIsolate());
|
| imp->methodWithEnforceRangeUInt64(value);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3801,7 +3766,6 @@ static void conditionalMethod2Method(const v8::FunctionCallbackInfo<v8::Value>&
|
| {
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| imp->conditionalMethod2();
|
| -
|
| return;
|
| }
|
|
|
| @@ -3824,7 +3788,6 @@ static void conditionalMethod3Method(const v8::FunctionCallbackInfo<v8::Value>&
|
| {
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| imp->conditionalMethod3();
|
| -
|
| return;
|
| }
|
|
|
| @@ -3864,7 +3827,6 @@ static void callbackFunctionArgumentMethod(const v8::FunctionCallbackInfo<v8::Va
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_VOID(ScriptValue, function, ScriptValue(args[0], args.GetIsolate()));
|
| imp->callbackFunctionArgument(function);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3885,7 +3847,6 @@ static void overloadedMethod1Method(const v8::FunctionCallbackInfo<v8::Value>& a
|
| V8TRYCATCH_VOID(TestObj*, objArg, V8TestObject::HasInstance(args[0], args.GetIsolate(), worldType(args.GetIsolate())) ? V8TestObject::toNative(v8::Handle<v8::Object>::Cast(args[0])) : 0);
|
| V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, strArg, args[1]);
|
| imp->overloadedMethod(objArg, strArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3899,12 +3860,10 @@ static void overloadedMethod2Method(const v8::FunctionCallbackInfo<v8::Value>& a
|
| V8TRYCATCH_VOID(TestObj*, objArg, V8TestObject::HasInstance(args[0], args.GetIsolate(), worldType(args.GetIsolate())) ? V8TestObject::toNative(v8::Handle<v8::Object>::Cast(args[0])) : 0);
|
| if (UNLIKELY(args.Length() <= 1)) {
|
| imp->overloadedMethod(objArg);
|
| -
|
| return;
|
| }
|
| V8TRYCATCH_VOID(int, longArg, toInt32(args[1]));
|
| imp->overloadedMethod(objArg, longArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3917,7 +3876,6 @@ static void overloadedMethod3Method(const v8::FunctionCallbackInfo<v8::Value>& a
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, strArg, args[0]);
|
| imp->overloadedMethod(strArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3930,7 +3888,6 @@ static void overloadedMethod4Method(const v8::FunctionCallbackInfo<v8::Value>& a
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_VOID(int, longArg, toInt32(args[0]));
|
| imp->overloadedMethod(longArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3947,7 +3904,6 @@ static void overloadedMethod5Method(const v8::FunctionCallbackInfo<v8::Value>& a
|
| }
|
| RefPtr<TestCallback> callback = V8TestCallback::create(args[0], getExecutionContext());
|
| imp->overloadedMethod(callback);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3960,7 +3916,6 @@ static void overloadedMethod6Method(const v8::FunctionCallbackInfo<v8::Value>& a
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_VOID(RefPtr<DOMStringList>, listArg, toDOMStringList(args[0], args.GetIsolate()));
|
| imp->overloadedMethod(listArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3974,7 +3929,6 @@ static void overloadedMethod7Method(const v8::FunctionCallbackInfo<v8::Value>& a
|
| bool arrayArgIsNull = args[0]->IsNull();
|
| V8TRYCATCH_VOID(Vector<String>, arrayArg, toNativeArray<String>(args[0], 1, args.GetIsolate()));
|
| imp->overloadedMethod(arrayArgIsNull ? 0 : &arrayArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -3987,7 +3941,6 @@ static void overloadedMethod8Method(const v8::FunctionCallbackInfo<v8::Value>& a
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_VOID(TestObj*, objArg, V8TestObject::HasInstance(args[0], args.GetIsolate(), worldType(args.GetIsolate())) ? V8TestObject::toNative(v8::Handle<v8::Object>::Cast(args[0])) : 0);
|
| imp->overloadedMethod(objArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4000,7 +3953,6 @@ static void overloadedMethod9Method(const v8::FunctionCallbackInfo<v8::Value>& a
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_VOID(Vector<String>, arrayArg, toNativeArray<String>(args[0], 1, args.GetIsolate()));
|
| imp->overloadedMethod(arrayArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4013,7 +3965,6 @@ static void overloadedMethod10Method(const v8::FunctionCallbackInfo<v8::Value>&
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_VOID(Vector<unsigned>, arrayArg, toNativeArray<unsigned>(args[0], 1, args.GetIsolate()));
|
| imp->overloadedMethod(arrayArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4026,7 +3977,6 @@ static void overloadedMethod11Method(const v8::FunctionCallbackInfo<v8::Value>&
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, strArg, args[0]);
|
| imp->overloadedMethod(strArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4093,7 +4043,6 @@ static void overloadedMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Va
|
| static void classMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| {
|
| TestObj::classMethod();
|
| -
|
| return;
|
| }
|
|
|
| @@ -4139,7 +4088,6 @@ static void overloadedMethod11Method(const v8::FunctionCallbackInfo<v8::Value>&
|
| }
|
| V8TRYCATCH_VOID(int, arg, toInt32(args[0]));
|
| TestObj::overloadedMethod1(arg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4155,7 +4103,6 @@ static void overloadedMethod12Method(const v8::FunctionCallbackInfo<v8::Value>&
|
| }
|
| V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, type, args[0]);
|
| TestObj::overloadedMethod1(type);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4209,7 +4156,6 @@ static void classMethodWithClampMethod(const v8::FunctionCallbackInfo<v8::Value>
|
| if (!std::isnan(objArgsLongNativeValue))
|
| objArgsLong = clampTo<unsigned long>(objArgsLongNativeValue);
|
| imp->classMethodWithClamp(objArgsShort, objArgsLong);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4229,7 +4175,6 @@ static void enabledAtRuntimeMethodMethod(const v8::FunctionCallbackInfo<v8::Valu
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_VOID(int, longArg, toInt32(args[0]));
|
| imp->enabledAtRuntimeMethod(longArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4249,7 +4194,6 @@ static void enabledPerContextMethodMethod(const v8::FunctionCallbackInfo<v8::Val
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_VOID(int, longArg, toInt32(args[0]));
|
| imp->enabledPerContextMethod(longArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4269,7 +4213,6 @@ static void methodWithUnsignedLongSequenceMethod(const v8::FunctionCallbackInfo<
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_VOID(Vector<unsigned>, unsignedLongSequence, toNativeArray<unsigned>(args[0], 1, args.GetIsolate()));
|
| imp->methodWithUnsignedLongSequence(unsignedLongSequence);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4358,7 +4301,6 @@ static void convert1Method(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_VOID(TestNode*, value, V8TestNode::HasInstance(args[0], args.GetIsolate(), worldType(args.GetIsolate())) ? V8TestNode::toNative(v8::Handle<v8::Object>::Cast(args[0])) : 0);
|
| imp->convert1(value);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4378,7 +4320,6 @@ static void convert2Method(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_VOID(TestNode*, value, V8TestNode::HasInstance(args[0], args.GetIsolate(), worldType(args.GetIsolate())) ? V8TestNode::toNative(v8::Handle<v8::Object>::Cast(args[0])) : 0);
|
| imp->convert2(value);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4398,7 +4339,6 @@ static void convert4Method(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_VOID(TestNode*, value, V8TestNode::HasInstance(args[0], args.GetIsolate(), worldType(args.GetIsolate())) ? V8TestNode::toNative(v8::Handle<v8::Object>::Cast(args[0])) : 0);
|
| imp->convert4(value);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4418,7 +4358,6 @@ static void convert5Method(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_VOID(TestNode*, value, V8TestNode::HasInstance(args[0], args.GetIsolate(), worldType(args.GetIsolate())) ? V8TestNode::toNative(v8::Handle<v8::Object>::Cast(args[0])) : 0);
|
| imp->convert5(value);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4517,7 +4456,6 @@ static void orangeMethod(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| {
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| imp->banana();
|
| -
|
| return;
|
| }
|
|
|
| @@ -4563,7 +4501,6 @@ static void variadicStringMethodMethod(const v8::FunctionCallbackInfo<v8::Value>
|
| V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, head, args[0]);
|
| V8TRYCATCH_VOID(Vector<String>, tail, toNativeArguments<String>(args, 1));
|
| imp->variadicStringMethod(head, tail);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4584,7 +4521,6 @@ static void variadicDoubleMethodMethod(const v8::FunctionCallbackInfo<v8::Value>
|
| V8TRYCATCH_VOID(double, head, static_cast<double>(args[0]->NumberValue()));
|
| V8TRYCATCH_VOID(Vector<double>, tail, toNativeArguments<double>(args, 1));
|
| imp->variadicDoubleMethod(head, tail);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4612,7 +4548,6 @@ static void variadicNodeMethodMethod(const v8::FunctionCallbackInfo<v8::Value>&
|
| tail.append(V8Node::toNative(v8::Handle<v8::Object>::Cast(args[i])));
|
| }
|
| imp->variadicNodeMethod(head, tail);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4638,13 +4573,11 @@ static void methodWithNullableArgumentsMethod(const v8::FunctionCallbackInfo<v8:
|
| V8TRYCATCH_VOID(TestObj*, obj, V8TestObject::HasInstance(args[2], args.GetIsolate(), worldType(args.GetIsolate())) ? V8TestObject::toNative(v8::Handle<v8::Object>::Cast(args[2])) : 0);
|
| if (UNLIKELY(args.Length() <= 3)) {
|
| imp->methodWithNullableArguments(strIsNull ? 0 : &str, lIsNull ? 0 : &l, obj);
|
| -
|
| return;
|
| }
|
| bool dIsNull = args[3]->IsNull();
|
| V8TRYCATCH_VOID(double, d, static_cast<double>(args[3]->NumberValue()));
|
| imp->methodWithNullableArguments(strIsNull ? 0 : &str, lIsNull ? 0 : &l, obj, dIsNull ? 0 : &d);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4659,7 +4592,6 @@ static void perWorldMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& args
|
| {
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| imp->perWorldMethod();
|
| -
|
| return;
|
| }
|
|
|
| @@ -4667,7 +4599,6 @@ static void perWorldMethodMethodForMainWorld(const v8::FunctionCallbackInfo<v8::
|
| {
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| imp->perWorldMethod();
|
| -
|
| return;
|
| }
|
|
|
| @@ -4694,7 +4625,6 @@ static void overloadedPerWorldMethod1Method(const v8::FunctionCallbackInfo<v8::V
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_VOID(int, longArg, toInt32(args[0]));
|
| imp->overloadedPerWorldMethod(longArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4707,7 +4637,6 @@ static void overloadedPerWorldMethod1MethodForMainWorld(const v8::FunctionCallba
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_VOID(int, longArg, toInt32(args[0]));
|
| imp->overloadedPerWorldMethod(longArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4721,7 +4650,6 @@ static void overloadedPerWorldMethod2Method(const v8::FunctionCallbackInfo<v8::V
|
| V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, strArg, args[0]);
|
| V8TRYCATCH_VOID(int, longArg, toInt32(args[1]));
|
| imp->overloadedPerWorldMethod(strArg, longArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4735,7 +4663,6 @@ static void overloadedPerWorldMethod2MethodForMainWorld(const v8::FunctionCallba
|
| V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, strArg, args[0]);
|
| V8TRYCATCH_VOID(int, longArg, toInt32(args[1]));
|
| imp->overloadedPerWorldMethod(strArg, longArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4796,7 +4723,6 @@ static void activityLoggedMethod1Method(const v8::FunctionCallbackInfo<v8::Value
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_VOID(int, longArg, toInt32(args[0]));
|
| imp->activityLoggedMethod1(longArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4821,7 +4747,6 @@ static void activityLoggedMethod2Method(const v8::FunctionCallbackInfo<v8::Value
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_VOID(int, longArg, toInt32(args[0]));
|
| imp->activityLoggedMethod2(longArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4834,7 +4759,6 @@ static void activityLoggedMethod2MethodForMainWorld(const v8::FunctionCallbackIn
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_VOID(int, longArg, toInt32(args[0]));
|
| imp->activityLoggedMethod2(longArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4871,7 +4795,6 @@ static void activityLoggedInIsolatedWorldMethodMethod(const v8::FunctionCallback
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_VOID(int, longArg, toInt32(args[0]));
|
| imp->activityLoggedInIsolatedWorldMethod(longArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4884,7 +4807,6 @@ static void activityLoggedInIsolatedWorldMethodMethodForMainWorld(const v8::Func
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_VOID(int, longArg, toInt32(args[0]));
|
| imp->activityLoggedInIsolatedWorldMethod(longArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4916,7 +4838,6 @@ static void overloadedActivityLoggedMethod1Method(const v8::FunctionCallbackInfo
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_VOID(int, longArg, toInt32(args[0]));
|
| imp->overloadedActivityLoggedMethod(longArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4929,7 +4850,6 @@ static void overloadedActivityLoggedMethod1MethodForMainWorld(const v8::Function
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| V8TRYCATCH_VOID(int, longArg, toInt32(args[0]));
|
| imp->overloadedActivityLoggedMethod(longArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4943,7 +4863,6 @@ static void overloadedActivityLoggedMethod2Method(const v8::FunctionCallbackInfo
|
| V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, strArg, args[0]);
|
| V8TRYCATCH_VOID(int, longArg, toInt32(args[1]));
|
| imp->overloadedActivityLoggedMethod(strArg, longArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -4957,7 +4876,6 @@ static void overloadedActivityLoggedMethod2MethodForMainWorld(const v8::Function
|
| V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, strArg, args[0]);
|
| V8TRYCATCH_VOID(int, longArg, toInt32(args[1]));
|
| imp->overloadedActivityLoggedMethod(strArg, longArg);
|
| -
|
| return;
|
| }
|
|
|
| @@ -5023,7 +4941,6 @@ static void deprecatedMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& ar
|
| {
|
| TestObj* imp = V8TestObject::toNative(args.Holder());
|
| imp->deprecatedMethod();
|
| -
|
| return;
|
| }
|
|
|
| @@ -5038,7 +4955,6 @@ static void deprecatedMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Va
|
| static void deprecatedStaticMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| {
|
| TestObj::deprecatedStaticMethod();
|
| -
|
| return;
|
| }
|
|
|
|
|