Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Unified Diff: Source/bindings/tests/results/V8TestObject.cpp

Issue 15290002: Rebaseline bindings test results after r150554. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/bindings/tests/results/V8TestObject.cpp
diff --git a/Source/bindings/tests/results/V8TestObject.cpp b/Source/bindings/tests/results/V8TestObject.cpp
index 6c5968b965aa14d5be202238a0de9a92e8c1395a..ab21cc5a2643616868f7f1b7ce5595160d59c75a 100644
--- a/Source/bindings/tests/results/V8TestObject.cpp
+++ b/Source/bindings/tests/results/V8TestObject.cpp
@@ -2328,7 +2328,6 @@ static v8::Handle<v8::Value> voidMethodWithArgsMethod(const v8::Arguments& args)
if (args.Length() < 3)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(int, longArg, toInt32(args[0]));
V8TRYCATCH_FOR_V8STRINGRESOURCE(V8StringResource<>, strArg, args[1]);
V8TRYCATCH(TestObj*, objArg, V8TestObject::HasInstance(args[2], args.GetIsolate(), worldType(args.GetIsolate())) ? V8TestObject::toNative(v8::Handle<v8::Object>::Cast(args[2])) : 0);
@@ -2357,7 +2356,6 @@ static v8::Handle<v8::Value> longMethodWithArgsMethod(const v8::Arguments& args)
if (args.Length() < 3)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(int, longArg, toInt32(args[0]));
V8TRYCATCH_FOR_V8STRINGRESOURCE(V8StringResource<>, strArg, args[1]);
V8TRYCATCH(TestObj*, objArg, V8TestObject::HasInstance(args[2], args.GetIsolate(), worldType(args.GetIsolate())) ? V8TestObject::toNative(v8::Handle<v8::Object>::Cast(args[2])) : 0);
@@ -2386,7 +2384,6 @@ static v8::Handle<v8::Value> objMethodWithArgsMethod(const v8::Arguments& args)
if (args.Length() < 3)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(int, longArg, toInt32(args[0]));
V8TRYCATCH_FOR_V8STRINGRESOURCE(V8StringResource<>, strArg, args[1]);
V8TRYCATCH(TestObj*, objArg, V8TestObject::HasInstance(args[2], args.GetIsolate(), worldType(args.GetIsolate())) ? V8TestObject::toNative(v8::Handle<v8::Object>::Cast(args[2])) : 0);
@@ -2403,7 +2400,6 @@ static v8::Handle<v8::Value> methodWithSequenceArgMethod(const v8::Arguments& ar
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(Vector<RefPtr<ScriptProfile> >, sequenceArg, (toRefPtrNativeArray<ScriptProfile, V8ScriptProfile>(args[0], args.GetIsolate())));
imp->methodWithSequenceArg(sequenceArg);
return v8Undefined();
@@ -2419,7 +2415,6 @@ static v8::Handle<v8::Value> methodReturningSequenceMethod(const v8::Arguments&
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(int, longArg, toInt32(args[0]));
return v8Array(imp->methodReturningSequence(longArg), args.GetIsolate());
}
@@ -2434,7 +2429,6 @@ static v8::Handle<v8::Value> methodWithEnumArgMethod(const v8::Arguments& args)
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH_FOR_V8STRINGRESOURCE(V8StringResource<>, enumArg, args[0]);
String string = enumArg;
if (!(string == "" || string == "EnumValue1" || string == "EnumValue2" || string == "EnumValue3"))
@@ -2472,7 +2466,6 @@ static v8::Handle<v8::Value> serializedValueMethod(const v8::Arguments& args)
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
bool serializedArgDidThrow = false;
RefPtr<SerializedScriptValue> serializedArg = SerializedScriptValue::create(args[0], 0, 0, serializedArgDidThrow, args.GetIsolate());
if (serializedArgDidThrow)
@@ -2491,7 +2484,6 @@ static v8::Handle<v8::Value> optionsObjectMethod(const v8::Arguments& args)
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(Dictionary, oo, Dictionary(args[0], args.GetIsolate()));
if (!oo.isUndefinedOrNull() && !oo.isObject())
return throwTypeError("Not an object.", args.GetIsolate());
@@ -2740,7 +2732,6 @@ static v8::Handle<v8::Value> withScriptExecutionContextAndScriptStateWithSpacesM
static v8::Handle<v8::Value> methodWithOptionalArgMethod(const v8::Arguments& args)
{
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
if (args.Length() <= 0) {
imp->methodWithOptionalArg();
return v8Undefined();
@@ -2760,7 +2751,6 @@ static v8::Handle<v8::Value> methodWithNonOptionalArgAndOptionalArgMethod(const
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(int, nonOpt, toInt32(args[0]));
if (args.Length() <= 1) {
imp->methodWithNonOptionalArgAndOptionalArg(nonOpt);
@@ -2781,7 +2771,6 @@ static v8::Handle<v8::Value> methodWithNonOptionalArgAndTwoOptionalArgsMethod(co
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(int, nonOpt, toInt32(args[0]));
if (args.Length() <= 1) {
imp->methodWithNonOptionalArgAndTwoOptionalArgs(nonOpt);
@@ -2805,7 +2794,6 @@ static v8::Handle<v8::Value> methodWithNonOptionalArgAndTwoOptionalArgsMethodCal
static v8::Handle<v8::Value> methodWithOptionalStringMethod(const v8::Arguments& args)
{
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
if (args.Length() <= 0) {
imp->methodWithOptionalString();
return v8Undefined();
@@ -2823,7 +2811,6 @@ static v8::Handle<v8::Value> methodWithOptionalStringMethodCallback(const v8::Ar
static v8::Handle<v8::Value> methodWithOptionalStringIsUndefinedMethod(const v8::Arguments& args)
{
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH_FOR_V8STRINGRESOURCE(V8StringResource<>, str, args[0]);
imp->methodWithOptionalStringIsUndefined(str);
return v8Undefined();
@@ -2837,7 +2824,6 @@ static v8::Handle<v8::Value> methodWithOptionalStringIsUndefinedMethodCallback(c
static v8::Handle<v8::Value> methodWithOptionalStringIsNullStringMethod(const v8::Arguments& args)
{
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH_FOR_V8STRINGRESOURCE(V8StringResource<>, str, argumentOrNull(args, 0));
imp->methodWithOptionalStringIsNullString(str);
return v8Undefined();
@@ -2870,7 +2856,6 @@ static v8::Handle<v8::Value> methodWithNonCallbackArgAndCallbackArgMethod(const
if (args.Length() < 2)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(int, nonCallback, toInt32(args[0]));
if (args.Length() <= 1 || !args[1]->IsFunction())
return throwTypeError(0, args.GetIsolate());
@@ -2940,7 +2925,6 @@ static v8::Handle<v8::Value> methodWithEnforceRangeInt32Method(const v8::Argumen
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH_WITH_TYPECHECK(int, value, toInt32(args[0], EnforceRange, ok), args.GetIsolate());
imp->methodWithEnforceRangeInt32(value);
return v8Undefined();
@@ -2956,7 +2940,6 @@ static v8::Handle<v8::Value> methodWithEnforceRangeUInt32Method(const v8::Argume
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH_WITH_TYPECHECK(unsigned, value, toUInt32(args[0], EnforceRange, ok), args.GetIsolate());
imp->methodWithEnforceRangeUInt32(value);
return v8Undefined();
@@ -2972,7 +2955,6 @@ static v8::Handle<v8::Value> methodWithEnforceRangeInt64Method(const v8::Argumen
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH_WITH_TYPECHECK(long long, value, toInt64(args[0], EnforceRange, ok), args.GetIsolate());
imp->methodWithEnforceRangeInt64(value);
return v8Undefined();
@@ -2988,7 +2970,6 @@ static v8::Handle<v8::Value> methodWithEnforceRangeUInt64Method(const v8::Argume
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH_WITH_TYPECHECK(unsigned long long, value, toUInt64(args[0], EnforceRange, ok), args.GetIsolate());
imp->methodWithEnforceRangeUInt64(value);
return v8Undefined();
@@ -3063,7 +3044,6 @@ static v8::Handle<v8::Value> overloadedMethod1Method(const v8::Arguments& args)
if (args.Length() < 2)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(TestObj*, objArg, V8TestObject::HasInstance(args[0], args.GetIsolate(), worldType(args.GetIsolate())) ? V8TestObject::toNative(v8::Handle<v8::Object>::Cast(args[0])) : 0);
V8TRYCATCH_FOR_V8STRINGRESOURCE(V8StringResource<>, strArg, args[1]);
imp->overloadedMethod(objArg, strArg);
@@ -3075,7 +3055,6 @@ static v8::Handle<v8::Value> overloadedMethod2Method(const v8::Arguments& args)
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(TestObj*, objArg, V8TestObject::HasInstance(args[0], args.GetIsolate(), worldType(args.GetIsolate())) ? V8TestObject::toNative(v8::Handle<v8::Object>::Cast(args[0])) : 0);
if (args.Length() <= 1) {
imp->overloadedMethod(objArg);
@@ -3091,7 +3070,6 @@ static v8::Handle<v8::Value> overloadedMethod3Method(const v8::Arguments& args)
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH_FOR_V8STRINGRESOURCE(V8StringResource<>, strArg, args[0]);
imp->overloadedMethod(strArg);
return v8Undefined();
@@ -3102,7 +3080,6 @@ static v8::Handle<v8::Value> overloadedMethod4Method(const v8::Arguments& args)
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(int, longArg, toInt32(args[0]));
imp->overloadedMethod(longArg);
return v8Undefined();
@@ -3125,7 +3102,6 @@ static v8::Handle<v8::Value> overloadedMethod6Method(const v8::Arguments& args)
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(RefPtr<DOMStringList>, listArg, toDOMStringList(args[0], args.GetIsolate()));
imp->overloadedMethod(listArg);
return v8Undefined();
@@ -3136,7 +3112,6 @@ static v8::Handle<v8::Value> overloadedMethod7Method(const v8::Arguments& args)
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(Vector<String>, arrayArg, toNativeArray<String>(args[0]));
imp->overloadedMethod(arrayArg);
return v8Undefined();
@@ -3147,7 +3122,6 @@ static v8::Handle<v8::Value> overloadedMethod8Method(const v8::Arguments& args)
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(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 v8Undefined();
@@ -3158,7 +3132,6 @@ static v8::Handle<v8::Value> overloadedMethod9Method(const v8::Arguments& args)
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(Vector<String>, arrayArg, toNativeArray<String>(args[0]));
imp->overloadedMethod(arrayArg);
return v8Undefined();
@@ -3169,7 +3142,6 @@ static v8::Handle<v8::Value> overloadedMethod10Method(const v8::Arguments& args)
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(Vector<unsigned>, arrayArg, toNativeArray<unsigned>(args[0]));
imp->overloadedMethod(arrayArg);
return v8Undefined();
@@ -3180,7 +3152,6 @@ static v8::Handle<v8::Value> overloadedMethod11Method(const v8::Arguments& args)
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH_FOR_V8STRINGRESOURCE(V8StringResource<>, strArg, args[0]);
imp->overloadedMethod(strArg);
return v8Undefined();
@@ -3233,7 +3204,6 @@ static v8::Handle<v8::Value> classMethodMethodCallback(const v8::Arguments& args
static v8::Handle<v8::Value> classMethodWithOptionalMethod(const v8::Arguments& args)
{
- ExceptionCode ec = 0;
if (args.Length() <= 0)
return v8Integer(TestObj::classMethodWithOptional(), args.GetIsolate());
@@ -3257,7 +3227,6 @@ static v8::Handle<v8::Value> overloadedMethod11Method(const v8::Arguments& args)
{
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
- ExceptionCode ec = 0;
V8TRYCATCH(int, arg, toInt32(args[0]));
TestObj::overloadedMethod1(arg);
return v8Undefined();
@@ -3271,7 +3240,6 @@ static v8::Handle<v8::Value> overloadedMethod12Method(const v8::Arguments& args)
{
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
- ExceptionCode ec = 0;
V8TRYCATCH_FOR_V8STRINGRESOURCE(V8StringResource<>, type, args[0]);
TestObj::overloadedMethod1(type);
return v8Undefined();
@@ -3308,7 +3276,6 @@ static v8::Handle<v8::Value> classMethodWithClampMethod(const v8::Arguments& arg
if (args.Length() < 2)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
unsigned short objArgsShort = 0;
V8TRYCATCH(double, objArgsShortNativeValue, args[0]->NumberValue());
if (!std::isnan(objArgsShortNativeValue))
@@ -3331,7 +3298,6 @@ static v8::Handle<v8::Value> enabledAtRuntimeMethod1Method(const v8::Arguments&
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(int, longArg, toInt32(args[0]));
imp->enabledAtRuntimeMethod1(longArg);
return v8Undefined();
@@ -3347,7 +3313,6 @@ static v8::Handle<v8::Value> enabledAtRuntimeMethod2Method(const v8::Arguments&
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(int, longArg, toInt32(args[0]));
imp->enabledAtRuntimeMethod2(longArg);
return v8Undefined();
@@ -3363,7 +3328,6 @@ static v8::Handle<v8::Value> enabledPerContextMethod1Method(const v8::Arguments&
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(int, longArg, toInt32(args[0]));
imp->enabledPerContextMethod1(longArg);
return v8Undefined();
@@ -3379,7 +3343,6 @@ static v8::Handle<v8::Value> enabledPerContextMethod2Method(const v8::Arguments&
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(int, longArg, toInt32(args[0]));
imp->enabledPerContextMethod2(longArg);
return v8Undefined();
@@ -3395,7 +3358,6 @@ static v8::Handle<v8::Value> methodWithUnsignedLongSequenceMethod(const v8::Argu
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(Vector<unsigned>, unsignedLongSequence, toNativeArray<unsigned>(args[0]));
imp->methodWithUnsignedLongSequence(unsignedLongSequence);
return v8Undefined();
@@ -3464,7 +3426,6 @@ static v8::Handle<v8::Value> convert1Method(const v8::Arguments& args)
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(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 v8Undefined();
@@ -3480,7 +3441,6 @@ static v8::Handle<v8::Value> convert2Method(const v8::Arguments& args)
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(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 v8Undefined();
@@ -3496,7 +3456,6 @@ static v8::Handle<v8::Value> convert4Method(const v8::Arguments& args)
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(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 v8Undefined();
@@ -3512,7 +3471,6 @@ static v8::Handle<v8::Value> convert5Method(const v8::Arguments& args)
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(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 v8Undefined();
@@ -3582,7 +3540,6 @@ static v8::Handle<v8::Value> variadicStringMethodMethod(const v8::Arguments& arg
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH_FOR_V8STRINGRESOURCE(V8StringResource<>, head, args[0]);
V8TRYCATCH(Vector<String>, tail, toNativeArguments<String>(args, 1));
imp->variadicStringMethod(head, tail);
@@ -3599,7 +3556,6 @@ static v8::Handle<v8::Value> variadicDoubleMethodMethod(const v8::Arguments& arg
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(double, head, static_cast<double>(args[0]->NumberValue()));
V8TRYCATCH(Vector<double>, tail, toNativeArguments<double>(args, 1));
imp->variadicDoubleMethod(head, tail);
@@ -3616,7 +3572,6 @@ static v8::Handle<v8::Value> variadicNodeMethodMethod(const v8::Arguments& args)
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(Node*, head, V8Node::HasInstance(args[0], args.GetIsolate(), worldType(args.GetIsolate())) ? V8Node::toNative(v8::Handle<v8::Object>::Cast(args[0])) : 0);
Vector<RefPtr<Node> > tail;
for (int i = 1; i < args.Length(); ++i) {
@@ -3662,7 +3617,6 @@ static v8::Handle<v8::Value> overloadedPerWorldMethod1Method(const v8::Arguments
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(int, longArg, toInt32(args[0]));
imp->overloadedPerWorldMethod(longArg);
return v8Undefined();
@@ -3673,7 +3627,6 @@ static v8::Handle<v8::Value> overloadedPerWorldMethod1MethodForMainWorld(const v
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(int, longArg, toInt32(args[0]));
imp->overloadedPerWorldMethod(longArg);
return v8Undefined();
@@ -3684,7 +3637,6 @@ static v8::Handle<v8::Value> overloadedPerWorldMethod2Method(const v8::Arguments
if (args.Length() < 2)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH_FOR_V8STRINGRESOURCE(V8StringResource<>, strArg, args[0]);
V8TRYCATCH(int, longArg, toInt32(args[1]));
imp->overloadedPerWorldMethod(strArg, longArg);
@@ -3696,7 +3648,6 @@ static v8::Handle<v8::Value> overloadedPerWorldMethod2MethodForMainWorld(const v
if (args.Length() < 2)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH_FOR_V8STRINGRESOURCE(V8StringResource<>, strArg, args[0]);
V8TRYCATCH(int, longArg, toInt32(args[1]));
imp->overloadedPerWorldMethod(strArg, longArg);
@@ -3740,7 +3691,6 @@ static v8::Handle<v8::Value> activityLoggedMethod1Method(const v8::Arguments& ar
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(int, longArg, toInt32(args[0]));
imp->activityLoggedMethod1(longArg);
return v8Undefined();
@@ -3761,7 +3711,6 @@ static v8::Handle<v8::Value> activityLoggedMethod2Method(const v8::Arguments& ar
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(int, longArg, toInt32(args[0]));
imp->activityLoggedMethod2(longArg);
return v8Undefined();
@@ -3772,7 +3721,6 @@ static v8::Handle<v8::Value> activityLoggedMethod2MethodForMainWorld(const v8::A
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(int, longArg, toInt32(args[0]));
imp->activityLoggedMethod2(longArg);
return v8Undefined();
@@ -3803,7 +3751,6 @@ static v8::Handle<v8::Value> activityLoggedInIsolatedWorldMethodMethod(const v8:
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(int, longArg, toInt32(args[0]));
imp->activityLoggedInIsolatedWorldMethod(longArg);
return v8Undefined();
@@ -3814,7 +3761,6 @@ static v8::Handle<v8::Value> activityLoggedInIsolatedWorldMethodMethodForMainWor
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(int, longArg, toInt32(args[0]));
imp->activityLoggedInIsolatedWorldMethod(longArg);
return v8Undefined();
@@ -3840,7 +3786,6 @@ static v8::Handle<v8::Value> overloadedActivityLoggedMethod1Method(const v8::Arg
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(int, longArg, toInt32(args[0]));
imp->overloadedActivityLoggedMethod(longArg);
return v8Undefined();
@@ -3851,7 +3796,6 @@ static v8::Handle<v8::Value> overloadedActivityLoggedMethod1MethodForMainWorld(c
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(int, longArg, toInt32(args[0]));
imp->overloadedActivityLoggedMethod(longArg);
return v8Undefined();
@@ -3862,7 +3806,6 @@ static v8::Handle<v8::Value> overloadedActivityLoggedMethod2Method(const v8::Arg
if (args.Length() < 2)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH_FOR_V8STRINGRESOURCE(V8StringResource<>, strArg, args[0]);
V8TRYCATCH(int, longArg, toInt32(args[1]));
imp->overloadedActivityLoggedMethod(strArg, longArg);
@@ -3874,7 +3817,6 @@ static v8::Handle<v8::Value> overloadedActivityLoggedMethod2MethodForMainWorld(c
if (args.Length() < 2)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestObj* imp = V8TestObject::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH_FOR_V8STRINGRESOURCE(V8StringResource<>, strArg, args[0]);
V8TRYCATCH(int, longArg, toInt32(args[1]));
imp->overloadedActivityLoggedMethod(strArg, longArg);
« no previous file with comments | « Source/bindings/tests/results/V8TestNode.h ('k') | Source/bindings/tests/results/V8TestOverloadedConstructors.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698