Index: Source/bindings/tests/results/V8TestObject.cpp |
diff --git a/Source/bindings/tests/results/V8TestObject.cpp b/Source/bindings/tests/results/V8TestObject.cpp |
index a047d61788b9848643a9e5d2a816b5a3c03cc137..2011d721dca4f9e3870f79a564725546955dcaef 100644 |
--- a/Source/bindings/tests/results/V8TestObject.cpp |
+++ b/Source/bindings/tests/results/V8TestObject.cpp |
@@ -178,7 +178,7 @@ static void stringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value); |
impl->setStringAttribute(cppValue); |
} |
@@ -208,7 +208,7 @@ static void domTimeStampAttributeAttributeSetter(v8::Local<v8::Value> v8Value, c |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "domTimeStampAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(unsigned long long, cppValue, toUInt64(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(unsigned long long, cppValue, toUInt64(v8Value, exceptionState), exceptionState); |
impl->setDomTimeStampAttribute(cppValue); |
} |
@@ -267,7 +267,7 @@ static void byteAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8: |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "byteAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt8(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt8(v8Value, exceptionState), exceptionState); |
impl->setByteAttribute(cppValue); |
} |
@@ -355,7 +355,7 @@ static void longAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8: |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "longAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setLongAttribute(cppValue); |
} |
@@ -385,7 +385,7 @@ static void longLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "longLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(long long, cppValue, toInt64(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(long long, cppValue, toInt64(v8Value, exceptionState), exceptionState); |
impl->setLongLongAttribute(cppValue); |
} |
@@ -415,7 +415,7 @@ static void octetAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8 |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "octetAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(unsigned, cppValue, toUInt8(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(unsigned, cppValue, toUInt8(v8Value, exceptionState), exceptionState); |
impl->setOctetAttribute(cppValue); |
} |
@@ -445,7 +445,7 @@ static void shortAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8 |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "shortAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt16(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt16(v8Value, exceptionState), exceptionState); |
impl->setShortAttribute(cppValue); |
} |
@@ -475,7 +475,7 @@ static void unsignedLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, c |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "unsignedLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(unsigned, cppValue, toUInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(unsigned, cppValue, toUInt32(v8Value, exceptionState), exceptionState); |
impl->setUnsignedLongAttribute(cppValue); |
} |
@@ -505,7 +505,7 @@ static void unsignedLongLongAttributeAttributeSetter(v8::Local<v8::Value> v8Valu |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "unsignedLongLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(unsigned long long, cppValue, toUInt64(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(unsigned long long, cppValue, toUInt64(v8Value, exceptionState), exceptionState); |
impl->setUnsignedLongLongAttribute(cppValue); |
} |
@@ -535,7 +535,7 @@ static void unsignedShortAttributeAttributeSetter(v8::Local<v8::Value> v8Value, |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "unsignedShortAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(unsigned, cppValue, toUInt16(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(unsigned, cppValue, toUInt16(v8Value, exceptionState), exceptionState); |
impl->setUnsignedShortAttribute(cppValue); |
} |
@@ -681,7 +681,7 @@ static void cssAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8:: |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "cssAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setCSSAttribute(cppValue); |
} |
@@ -711,7 +711,7 @@ static void imeAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8:: |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "imeAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setIMEAttribute(cppValue); |
} |
@@ -741,7 +741,7 @@ static void svgAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8:: |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "svgAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setSVGAttribute(cppValue); |
} |
@@ -771,7 +771,7 @@ static void xmlAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8:: |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "xmlAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setXMLAttribute(cppValue); |
} |
@@ -1389,7 +1389,7 @@ static void stringOrNullAttributeAttributeSetter(v8::Local<v8::Value> v8Value, c |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value); |
impl->setStringOrNullAttribute(cppValue); |
} |
@@ -1425,7 +1425,7 @@ static void longOrNullAttributeAttributeSetter(v8::Local<v8::Value> v8Value, con |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "longOrNullAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setLongOrNullAttribute(cppValue); |
} |
@@ -1489,7 +1489,7 @@ static void testEnumAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value); |
String string = cppValue; |
if (!(string == "" || string == "EnumValue1" || string == "EnumValue2" || string == "EnumValue3")) |
return; |
@@ -1517,7 +1517,7 @@ static void staticStringAttributeAttributeGetterCallback(v8::Local<v8::String>, |
static void staticStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
{ |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value); |
TestObject::setStaticStringAttribute(cppValue); |
} |
@@ -1543,7 +1543,7 @@ static void staticLongAttributeAttributeGetterCallback(v8::Local<v8::String>, co |
static void staticLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
{ |
ExceptionState exceptionState(ExceptionState::SetterContext, "staticLongAttribute", "TestObject", holder, info.GetIsolate()); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
TestObject::setStaticLongAttribute(cppValue); |
} |
@@ -1606,7 +1606,7 @@ static void activityLoggingAccessForAllWorldsLongAttributeAttributeSetter(v8::Lo |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingAccessForAllWorldsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setActivityLoggingAccessForAllWorldsLongAttribute(cppValue); |
} |
@@ -1644,7 +1644,7 @@ static void activityLoggingGetterForAllWorldsLongAttributeAttributeSetter(v8::Lo |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingGetterForAllWorldsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setActivityLoggingGetterForAllWorldsLongAttribute(cppValue); |
} |
@@ -1674,7 +1674,7 @@ static void activityLoggingSetterForAllWorldsLongAttributeAttributeSetter(v8::Lo |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingSetterForAllWorldsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setActivityLoggingSetterForAllWorldsLongAttribute(cppValue); |
} |
@@ -1805,7 +1805,7 @@ static void conditionalLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "conditionalLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setConditionalLongAttribute(cppValue); |
} |
#endif // ENABLE(CONDITION) |
@@ -1843,7 +1843,7 @@ static void conditionalAndLongAttributeAttributeSetter(v8::Local<v8::Value> v8Va |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "conditionalAndLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setConditionalAndLongAttribute(cppValue); |
} |
#endif // ENABLE(CONDITION_1) && ENABLE(CONDITION_2) |
@@ -1881,7 +1881,7 @@ static void conditionalOrLongAttributeAttributeSetter(v8::Local<v8::Value> v8Val |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "conditionalOrLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setConditionalOrLongAttribute(cppValue); |
} |
#endif // ENABLE(CONDITION_1) || ENABLE(CONDITION_2) |
@@ -1921,7 +1921,7 @@ static void customGetterLongAttributeAttributeSetter(v8::Local<v8::Value> v8Valu |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "customGetterLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setCustomGetterLongAttribute(cppValue); |
} |
@@ -2012,7 +2012,7 @@ static void deprecatedLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "deprecatedLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setDeprecatedLongAttribute(cppValue); |
} |
@@ -2043,7 +2043,7 @@ static void enforceRangeLongAttributeAttributeSetter(v8::Local<v8::Value> v8Valu |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "enforceRangeLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, EnforceRange, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, EnforceRange, exceptionState), exceptionState); |
impl->setEnforceRangeLongAttribute(cppValue); |
} |
@@ -2073,7 +2073,7 @@ static void exposeJSAccessorsLongAttributeAttributeSetter(v8::Local<v8::Value> v |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "exposeJSAccessorsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setExposeJSAccessorsLongAttribute(cppValue); |
} |
@@ -2104,7 +2104,7 @@ static void implementedAsLongAttributeAttributeSetter(v8::Local<v8::Value> v8Val |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "implementedAsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setImplementedAsName(cppValue); |
} |
@@ -2141,7 +2141,7 @@ static void customGetterImplementedAsLongAttributeAttributeSetter(v8::Local<v8:: |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "customGetterImplementedAsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setImplementedAsNameWithCustomGetter(cppValue); |
} |
@@ -2193,7 +2193,7 @@ static void measureAsLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "measureAsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setMeasureAsLongAttribute(cppValue); |
} |
@@ -2224,7 +2224,7 @@ static void notEnumerableLongAttributeAttributeSetter(v8::Local<v8::Value> v8Val |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "notEnumerableLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setNotEnumerableLongAttribute(cppValue); |
} |
@@ -2254,7 +2254,7 @@ static void perContextEnabledLongAttributeAttributeSetter(v8::Local<v8::Value> v |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "perContextEnabledLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setPerContextEnabledLongAttribute(cppValue); |
} |
@@ -2284,7 +2284,7 @@ static void perWorldBindingsLongAttributeAttributeSetter(v8::Local<v8::Value> v8 |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "perWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setPerWorldBindingsLongAttribute(cppValue); |
} |
@@ -2314,7 +2314,7 @@ static void perWorldBindingsLongAttributeAttributeSetterForMainWorld(v8::Local<v |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "perWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setPerWorldBindingsLongAttribute(cppValue); |
} |
@@ -2417,7 +2417,7 @@ static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetter(v8 |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingAccessPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setActivityLoggingAccessPerWorldBindingsLongAttribute(cppValue); |
} |
@@ -2455,7 +2455,7 @@ static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetterFor |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingAccessPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setActivityLoggingAccessPerWorldBindingsLongAttribute(cppValue); |
} |
@@ -2493,7 +2493,7 @@ static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setActivityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute(cppValue); |
} |
@@ -2528,7 +2528,7 @@ static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setActivityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute(cppValue); |
} |
@@ -2561,7 +2561,7 @@ static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeSetter(v8 |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingGetterPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setActivityLoggingGetterPerWorldBindingsLongAttribute(cppValue); |
} |
@@ -2594,7 +2594,7 @@ static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeSetterFor |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingGetterPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setActivityLoggingGetterPerWorldBindingsLongAttribute(cppValue); |
} |
@@ -2627,7 +2627,7 @@ static void activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeA |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setActivityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttribute(cppValue); |
} |
@@ -2657,7 +2657,7 @@ static void activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeA |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setActivityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttribute(cppValue); |
} |
@@ -2689,7 +2689,7 @@ static void locationAttributeSetter(v8::Local<v8::Value> v8Value, const v8::Prop |
RefPtr<TestNode> impl = WTF::getPtr(proxyImpl->location()); |
if (!impl) |
return; |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value); |
impl->setHref(cppValue); |
} |
@@ -2721,7 +2721,7 @@ static void locationWithExceptionAttributeSetter(v8::Local<v8::Value> v8Value, c |
RefPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationWithException()); |
if (!impl) |
return; |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value); |
impl->setHrefThrows(cppValue); |
} |
@@ -2753,7 +2753,7 @@ static void locationWithCallWithAttributeSetter(v8::Local<v8::Value> v8Value, co |
RefPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationWithCallWith()); |
if (!impl) |
return; |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value); |
impl->setHrefCallWith(callingDOMWindow(info.GetIsolate()), enteredDOMWindow(info.GetIsolate()), cppValue); |
} |
@@ -2785,7 +2785,7 @@ static void locationWithPerWorldBindingsAttributeSetter(v8::Local<v8::Value> v8V |
RefPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationWithPerWorldBindings()); |
if (!impl) |
return; |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value); |
impl->setHref(cppValue); |
} |
@@ -2817,7 +2817,7 @@ static void locationWithPerWorldBindingsAttributeSetterForMainWorld(v8::Local<v8 |
RefPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationWithPerWorldBindings()); |
if (!impl) |
return; |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value); |
impl->setHref(cppValue); |
} |
@@ -2890,7 +2890,7 @@ static void raisesExceptionLongAttributeAttributeSetter(v8::Local<v8::Value> v8V |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "raisesExceptionLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setRaisesExceptionLongAttribute(cppValue, exceptionState); |
exceptionState.throwIfNeeded(); |
} |
@@ -2925,7 +2925,7 @@ static void raisesExceptionGetterLongAttributeAttributeSetter(v8::Local<v8::Valu |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "raisesExceptionGetterLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setRaisesExceptionGetterLongAttribute(cppValue); |
} |
@@ -2955,7 +2955,7 @@ static void setterRaisesExceptionLongAttributeAttributeSetter(v8::Local<v8::Valu |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "setterRaisesExceptionLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setSetterRaisesExceptionLongAttribute(cppValue, exceptionState); |
exceptionState.throwIfNeeded(); |
} |
@@ -3159,7 +3159,7 @@ static void reflectLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, co |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "reflectLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
impl->setIntegralAttribute(HTMLNames::reflectlongattributeAttr, cppValue); |
} |
@@ -3191,7 +3191,7 @@ static void reflectUnsignedShortAttributeAttributeSetter(v8::Local<v8::Value> v8 |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "reflectUnsignedShortAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(unsigned, cppValue, toUInt16(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(unsigned, cppValue, toUInt16(v8Value, exceptionState), exceptionState); |
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
impl->setAttribute(HTMLNames::reflectunsignedshortattributeAttr, cppValue); |
} |
@@ -3223,7 +3223,7 @@ static void reflectUnsignedLongAttributeAttributeSetter(v8::Local<v8::Value> v8V |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "reflectUnsignedLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(unsigned, cppValue, toUInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(unsigned, cppValue, toUInt32(v8Value, exceptionState), exceptionState); |
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
impl->setUnsignedIntegralAttribute(HTMLNames::reflectunsignedlongattributeAttr, cppValue); |
} |
@@ -3254,7 +3254,7 @@ static void idAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCa |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value); |
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
impl->setAttribute(HTMLNames::idAttr, cppValue); |
} |
@@ -3285,7 +3285,7 @@ static void nameAttributeSetter(v8::Local<v8::Value> v8Value, const v8::Property |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value); |
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
impl->setAttribute(HTMLNames::nameAttr, cppValue); |
} |
@@ -3316,7 +3316,7 @@ static void classAttributeSetter(v8::Local<v8::Value> v8Value, const v8::Propert |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value); |
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
impl->setAttribute(HTMLNames::classAttr, cppValue); |
} |
@@ -3347,7 +3347,7 @@ static void reflectedIdAttributeSetter(v8::Local<v8::Value> v8Value, const v8::P |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value); |
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
impl->setAttribute(HTMLNames::idAttr, cppValue); |
} |
@@ -3378,7 +3378,7 @@ static void reflectedNameAttributeSetter(v8::Local<v8::Value> v8Value, const v8: |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value); |
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
impl->setAttribute(HTMLNames::nameAttr, cppValue); |
} |
@@ -3409,7 +3409,7 @@ static void reflectedClassAttributeSetter(v8::Local<v8::Value> v8Value, const v8 |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value); |
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
impl->setAttribute(HTMLNames::classAttr, cppValue); |
} |
@@ -3448,7 +3448,7 @@ static void limitedToOnlyOneAttributeAttributeSetter(v8::Local<v8::Value> v8Valu |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value); |
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
impl->setAttribute(HTMLNames::limitedtoonlyoneattributeAttr, cppValue); |
} |
@@ -3491,7 +3491,7 @@ static void limitedToOnlyAttributeAttributeSetter(v8::Local<v8::Value> v8Value, |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value); |
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
impl->setAttribute(HTMLNames::limitedtoonlyattributeAttr, cppValue); |
} |
@@ -3532,7 +3532,7 @@ static void limitedToOnlyOtherAttributeAttributeSetter(v8::Local<v8::Value> v8Va |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value); |
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
impl->setAttribute(HTMLNames::otherAttr, cppValue); |
} |
@@ -3573,7 +3573,7 @@ static void limitedWithMissingDefaultAttributeAttributeSetter(v8::Local<v8::Valu |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value); |
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
impl->setAttribute(HTMLNames::limitedwithmissingdefaultattributeAttr, cppValue); |
} |
@@ -3616,7 +3616,7 @@ static void limitedWithInvalidMissingDefaultAttributeAttributeSetter(v8::Local<v |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value); |
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
impl->setAttribute(HTMLNames::limitedwithinvalidmissingdefaultattributeAttr, cppValue); |
} |
@@ -3720,7 +3720,7 @@ static void locationReplaceableAttributeSetter(v8::Local<v8::Value> v8Value, con |
RefPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationReplaceable()); |
if (!impl) |
return; |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value); |
impl->setHref(cppValue); |
} |
@@ -3750,7 +3750,7 @@ static void runtimeEnabledLongAttributeAttributeSetter(v8::Local<v8::Value> v8Va |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "runtimeEnabledLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setRuntimeEnabledLongAttribute(cppValue); |
} |
@@ -3780,7 +3780,7 @@ static void perContextEnabledRuntimeEnabledLongAttributeAttributeSetter(v8::Loca |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "perContextEnabledRuntimeEnabledLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setPerContextEnabledRuntimeEnabledLongAttribute(cppValue); |
} |
@@ -3815,7 +3815,7 @@ static void conditionalRuntimeEnabledLongAttributeAttributeSetter(v8::Local<v8:: |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "conditionalRuntimeEnabledLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setConditionalRuntimeEnabledLongAttribute(cppValue); |
} |
#endif // ENABLE(CONDITION) |
@@ -3847,7 +3847,7 @@ static void setterCallWithActiveWindowAndFirstWindowStringAttributeAttributeSett |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value); |
impl->setSetterCallWithActiveWindowAndFirstWindowStringAttribute(callingDOMWindow(info.GetIsolate()), enteredDOMWindow(info.GetIsolate()), cppValue); |
} |
@@ -3876,7 +3876,7 @@ static void setterCallWithExecutionContextStringAttributeAttributeSetter(v8::Loc |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value); |
ExecutionContext* scriptContext = currentExecutionContext(info.GetIsolate()); |
impl->setSetterCallWithExecutionContextStringAttribute(scriptContext, cppValue); |
} |
@@ -4010,7 +4010,7 @@ static void treatNullAsNullStringStringAttributeAttributeSetter(v8::Local<v8::Va |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithNullCheck>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<WithNullCheck>, cppValue, v8Value); |
impl->setTreatNullAsNullStringStringAttribute(cppValue); |
} |
@@ -4039,7 +4039,7 @@ static void treatReturnedNullStringAsNullStringAttributeAttributeSetter(v8::Loca |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value); |
impl->setTreatReturnedNullStringAsNullStringAttribute(cppValue); |
} |
@@ -4068,7 +4068,7 @@ static void treatReturnedNullStringAsUndefinedStringAttributeAttributeSetter(v8: |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value); |
impl->setTreatReturnedNullStringAsUndefinedStringAttribute(cppValue); |
} |
@@ -4097,7 +4097,7 @@ static void urlStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, cons |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value); |
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
impl->setAttribute(HTMLNames::urlstringattributeAttr, cppValue); |
} |
@@ -4128,7 +4128,7 @@ static void urlStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, cons |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value); |
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
impl->setAttribute(HTMLNames::reflectUrlAttributeAttr, cppValue); |
} |
@@ -4162,7 +4162,7 @@ static void unforgeableLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value |
v8::Handle<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "unforgeableLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(holder); |
- V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); |
impl->setUnforgeableLongAttribute(cppValue); |
} |
@@ -4534,7 +4534,7 @@ static void voidMethodStringArgMethod(const v8::FunctionCallbackInfo<v8::Value>& |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, stringArg, info[0]); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, stringArg, info[0]); |
impl->voidMethodStringArg(stringArg); |
} |
@@ -4553,7 +4553,7 @@ static void voidMethodDOMTimeStampArgMethod(const v8::FunctionCallbackInfo<v8::V |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_EXCEPTION_VOID(unsigned long long, domTimeStampArg, toUInt64(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(unsigned long long, domTimeStampArg, toUInt64(info[0], exceptionState), exceptionState); |
impl->voidMethodDOMTimeStampArg(domTimeStampArg); |
} |
@@ -4590,7 +4590,7 @@ static void voidMethodByteArgMethod(const v8::FunctionCallbackInfo<v8::Value>& i |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_EXCEPTION_VOID(int, byteArg, toInt8(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, byteArg, toInt8(info[0], exceptionState), exceptionState); |
impl->voidMethodByteArg(byteArg); |
} |
@@ -4645,7 +4645,7 @@ static void voidMethodLongArgMethod(const v8::FunctionCallbackInfo<v8::Value>& i |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_EXCEPTION_VOID(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
impl->voidMethodLongArg(longArg); |
} |
@@ -4664,7 +4664,7 @@ static void voidMethodLongLongArgMethod(const v8::FunctionCallbackInfo<v8::Value |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_EXCEPTION_VOID(long long, longLongArg, toInt64(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(long long, longLongArg, toInt64(info[0], exceptionState), exceptionState); |
impl->voidMethodLongLongArg(longLongArg); |
} |
@@ -4683,7 +4683,7 @@ static void voidMethodOctetArgMethod(const v8::FunctionCallbackInfo<v8::Value>& |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_EXCEPTION_VOID(unsigned, octetArg, toUInt8(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(unsigned, octetArg, toUInt8(info[0], exceptionState), exceptionState); |
impl->voidMethodOctetArg(octetArg); |
} |
@@ -4702,7 +4702,7 @@ static void voidMethodShortArgMethod(const v8::FunctionCallbackInfo<v8::Value>& |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_EXCEPTION_VOID(int, shortArg, toInt16(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, shortArg, toInt16(info[0], exceptionState), exceptionState); |
impl->voidMethodShortArg(shortArg); |
} |
@@ -4721,7 +4721,7 @@ static void voidMethodUnsignedLongArgMethod(const v8::FunctionCallbackInfo<v8::V |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_EXCEPTION_VOID(unsigned, unsignedLongArg, toUInt32(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(unsigned, unsignedLongArg, toUInt32(info[0], exceptionState), exceptionState); |
impl->voidMethodUnsignedLongArg(unsignedLongArg); |
} |
@@ -4740,7 +4740,7 @@ static void voidMethodUnsignedLongLongArgMethod(const v8::FunctionCallbackInfo<v |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_EXCEPTION_VOID(unsigned long long, unsignedLongLongArg, toUInt64(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(unsigned long long, unsignedLongLongArg, toUInt64(info[0], exceptionState), exceptionState); |
impl->voidMethodUnsignedLongLongArg(unsignedLongLongArg); |
} |
@@ -4759,7 +4759,7 @@ static void voidMethodUnsignedShortArgMethod(const v8::FunctionCallbackInfo<v8:: |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_EXCEPTION_VOID(unsigned, unsignedShortArg, toUInt16(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(unsigned, unsignedShortArg, toUInt16(info[0], exceptionState), exceptionState); |
impl->voidMethodUnsignedShortArg(unsignedShortArg); |
} |
@@ -4809,7 +4809,7 @@ static void voidMethodLongArgTestInterfaceEmptyArgMethod(const v8::FunctionCallb |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_EXCEPTION_VOID(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
V8TRYCATCH_VOID(TestInterfaceEmpty*, testInterfaceEmptyArg, V8TestInterfaceEmpty::toNativeWithTypeCheck(info.GetIsolate(), info[1])); |
impl->voidMethodLongArgTestInterfaceEmptyArg(longArg, testInterfaceEmptyArg); |
} |
@@ -5533,7 +5533,7 @@ static void voidMethodTestEnumArgMethod(const v8::FunctionCallbackInfo<v8::Value |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, testEnumTypeArg, info[0]); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, testEnumTypeArg, info[0]); |
String string = testEnumTypeArg; |
if (!(string == "" || string == "EnumValue1" || string == "EnumValue2" || string == "EnumValue3")) { |
throwTypeError(ExceptionMessages::failedToExecute("voidMethodTestEnumArg", "TestObject", "parameter 1 ('" + string + "') is not a valid enum value."), info.GetIsolate()); |
@@ -5762,8 +5762,8 @@ static void voidMethodStringArgLongArgMethod(const v8::FunctionCallbackInfo<v8:: |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, stringArg, info[0]); |
- V8TRYCATCH_EXCEPTION_VOID(int, longArg, toInt32(info[1], exceptionState), exceptionState); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, stringArg, info[0]); |
+ V8TRYCATCH_VOID_EXCEPTION(int, longArg, toInt32(info[1], exceptionState), exceptionState); |
impl->voidMethodStringArgLongArg(stringArg, longArg); |
} |
@@ -5781,7 +5781,7 @@ static void voidMethodOptionalStringArgMethod(const v8::FunctionCallbackInfo<v8: |
impl->voidMethodOptionalStringArg(); |
return; |
} |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, optionalStringArg, info[0]); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, optionalStringArg, info[0]); |
impl->voidMethodOptionalStringArg(optionalStringArg); |
} |
@@ -5818,7 +5818,7 @@ static void voidMethodOptionalLongArgMethod(const v8::FunctionCallbackInfo<v8::V |
impl->voidMethodOptionalLongArg(); |
return; |
} |
- V8TRYCATCH_EXCEPTION_VOID(int, optionalLongArg, toInt32(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, optionalLongArg, toInt32(info[0], exceptionState), exceptionState); |
impl->voidMethodOptionalLongArg(optionalLongArg); |
} |
@@ -5837,7 +5837,7 @@ static void stringMethodOptionalLongArgMethod(const v8::FunctionCallbackInfo<v8: |
v8SetReturnValueString(info, impl->stringMethodOptionalLongArg(), info.GetIsolate()); |
return; |
} |
- V8TRYCATCH_EXCEPTION_VOID(int, optionalLongArg, toInt32(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, optionalLongArg, toInt32(info[0], exceptionState), exceptionState); |
v8SetReturnValueString(info, impl->stringMethodOptionalLongArg(optionalLongArg), info.GetIsolate()); |
} |
@@ -5856,7 +5856,7 @@ static void testInterfaceEmptyMethodOptionalLongArgMethod(const v8::FunctionCall |
v8SetReturnValue(info, impl->testInterfaceEmptyMethodOptionalLongArg()); |
return; |
} |
- V8TRYCATCH_EXCEPTION_VOID(int, optionalLongArg, toInt32(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, optionalLongArg, toInt32(info[0], exceptionState), exceptionState); |
v8SetReturnValue(info, impl->testInterfaceEmptyMethodOptionalLongArg(optionalLongArg)); |
} |
@@ -5875,7 +5875,7 @@ static void longMethodOptionalLongArgMethod(const v8::FunctionCallbackInfo<v8::V |
v8SetReturnValueInt(info, impl->longMethodOptionalLongArg()); |
return; |
} |
- V8TRYCATCH_EXCEPTION_VOID(int, optionalLongArg, toInt32(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, optionalLongArg, toInt32(info[0], exceptionState), exceptionState); |
v8SetReturnValueInt(info, impl->longMethodOptionalLongArg(optionalLongArg)); |
} |
@@ -5894,12 +5894,12 @@ static void voidMethodLongArgOptionalLongArgMethod(const v8::FunctionCallbackInf |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_EXCEPTION_VOID(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
if (UNLIKELY(info.Length() <= 1)) { |
impl->voidMethodLongArgOptionalLongArg(longArg); |
return; |
} |
- V8TRYCATCH_EXCEPTION_VOID(int, optionalLongArg, toInt32(info[1], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, optionalLongArg, toInt32(info[1], exceptionState), exceptionState); |
impl->voidMethodLongArgOptionalLongArg(longArg, optionalLongArg); |
} |
@@ -5918,17 +5918,17 @@ static void voidMethodLongArgOptionalLongArgOptionalLongArgMethod(const v8::Func |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_EXCEPTION_VOID(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
if (UNLIKELY(info.Length() <= 1)) { |
impl->voidMethodLongArgOptionalLongArgOptionalLongArg(longArg); |
return; |
} |
- V8TRYCATCH_EXCEPTION_VOID(int, optionalLongArg1, toInt32(info[1], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, optionalLongArg1, toInt32(info[1], exceptionState), exceptionState); |
if (UNLIKELY(info.Length() <= 2)) { |
impl->voidMethodLongArgOptionalLongArgOptionalLongArg(longArg, optionalLongArg1); |
return; |
} |
- V8TRYCATCH_EXCEPTION_VOID(int, optionalLongArg2, toInt32(info[2], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, optionalLongArg2, toInt32(info[2], exceptionState), exceptionState); |
impl->voidMethodLongArgOptionalLongArgOptionalLongArg(longArg, optionalLongArg1, optionalLongArg2); |
} |
@@ -5947,7 +5947,7 @@ static void voidMethodLongArgOptionalTestInterfaceEmptyArgMethod(const v8::Funct |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_EXCEPTION_VOID(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
if (UNLIKELY(info.Length() <= 1)) { |
impl->voidMethodLongArgOptionalTestInterfaceEmptyArg(longArg); |
return; |
@@ -5976,7 +5976,7 @@ static void voidMethodTestInterfaceEmptyArgOptionalLongArgMethod(const v8::Funct |
impl->voidMethodTestInterfaceEmptyArgOptionalLongArg(optionalTestInterfaceEmpty); |
return; |
} |
- V8TRYCATCH_EXCEPTION_VOID(int, longArg, toInt32(info[1], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, longArg, toInt32(info[1], exceptionState), exceptionState); |
impl->voidMethodTestInterfaceEmptyArgOptionalLongArg(optionalTestInterfaceEmpty, longArg); |
} |
@@ -6026,7 +6026,7 @@ static void voidMethodStringArgVariadicStringArgMethod(const v8::FunctionCallbac |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, stringArg, info[0]); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, stringArg, info[0]); |
V8TRYCATCH_VOID(Vector<String>, variadicStringArgs, toNativeArguments<String>(info, 1)); |
impl->voidMethodStringArgVariadicStringArg(stringArg, variadicStringArgs); |
} |
@@ -6114,7 +6114,7 @@ static void overloadedMethodA1Method(const v8::FunctionCallbackInfo<v8::Value>& |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_EXCEPTION_VOID(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
impl->overloadedMethodA(longArg); |
} |
@@ -6126,8 +6126,8 @@ static void overloadedMethodA2Method(const v8::FunctionCallbackInfo<v8::Value>& |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_EXCEPTION_VOID(int, longArg1, toInt32(info[0], exceptionState), exceptionState); |
- V8TRYCATCH_EXCEPTION_VOID(int, longArg2, toInt32(info[1], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, longArg1, toInt32(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, longArg2, toInt32(info[1], exceptionState), exceptionState); |
impl->overloadedMethodA(longArg1, longArg2); |
} |
@@ -6165,7 +6165,7 @@ static void overloadedMethodB1Method(const v8::FunctionCallbackInfo<v8::Value>& |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_EXCEPTION_VOID(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
impl->overloadedMethodB(longArg); |
} |
@@ -6177,12 +6177,12 @@ static void overloadedMethodB2Method(const v8::FunctionCallbackInfo<v8::Value>& |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_EXCEPTION_VOID(int, longArg1, toInt32(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, longArg1, toInt32(info[0], exceptionState), exceptionState); |
if (UNLIKELY(info.Length() <= 1)) { |
impl->overloadedMethodB(longArg1); |
return; |
} |
- V8TRYCATCH_EXCEPTION_VOID(int, longArg2, toInt32(info[1], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, longArg2, toInt32(info[1], exceptionState), exceptionState); |
impl->overloadedMethodB(longArg1, longArg2); |
} |
@@ -6220,7 +6220,7 @@ static void overloadedMethodC1Method(const v8::FunctionCallbackInfo<v8::Value>& |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_EXCEPTION_VOID(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
impl->overloadedMethodC(longArg); |
} |
@@ -6232,7 +6232,7 @@ static void overloadedMethodC2Method(const v8::FunctionCallbackInfo<v8::Value>& |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_EXCEPTION_VOID(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
V8TRYCATCH_VOID(Vector<int>, longArgs, toNativeArguments<int>(info, 1)); |
impl->overloadedMethodC(longArg, longArgs); |
} |
@@ -6271,7 +6271,7 @@ static void overloadedMethodD1Method(const v8::FunctionCallbackInfo<v8::Value>& |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_EXCEPTION_VOID(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
impl->overloadedMethodD(longArg); |
} |
@@ -6320,7 +6320,7 @@ static void overloadedMethodE1Method(const v8::FunctionCallbackInfo<v8::Value>& |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_EXCEPTION_VOID(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
impl->overloadedMethodE(longArg); |
} |
@@ -6369,7 +6369,7 @@ static void overloadedMethodF1Method(const v8::FunctionCallbackInfo<v8::Value>& |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_EXCEPTION_VOID(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
impl->overloadedMethodF(longArg); |
} |
@@ -6423,7 +6423,7 @@ static void overloadedMethodG2Method(const v8::FunctionCallbackInfo<v8::Value>& |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, strictTypeCheckingStringArg, info[0]); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, strictTypeCheckingStringArg, info[0]); |
impl->overloadedMethodG(strictTypeCheckingStringArg); |
} |
@@ -6560,7 +6560,7 @@ static void overloadedPerWorldBindingsMethod2Method(const v8::FunctionCallbackIn |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_EXCEPTION_VOID(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
impl->overloadedPerWorldBindingsMethod(longArg); |
} |
@@ -6592,7 +6592,7 @@ static void overloadedPerWorldBindingsMethod2MethodForMainWorld(const v8::Functi |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_EXCEPTION_VOID(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
impl->overloadedPerWorldBindingsMethod(longArg); |
} |
@@ -6623,7 +6623,7 @@ static void overloadedStaticMethod1Method(const v8::FunctionCallbackInfo<v8::Val |
throwArityTypeError(exceptionState, 1, info.Length()); |
return; |
} |
- V8TRYCATCH_EXCEPTION_VOID(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
TestObject::overloadedStaticMethod(longArg); |
} |
@@ -6634,8 +6634,8 @@ static void overloadedStaticMethod2Method(const v8::FunctionCallbackInfo<v8::Val |
throwArityTypeError(exceptionState, 2, info.Length()); |
return; |
} |
- V8TRYCATCH_EXCEPTION_VOID(int, longArg1, toInt32(info[0], exceptionState), exceptionState); |
- V8TRYCATCH_EXCEPTION_VOID(int, longArg2, toInt32(info[1], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, longArg1, toInt32(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, longArg2, toInt32(info[1], exceptionState), exceptionState); |
TestObject::overloadedStaticMethod(longArg1, longArg2); |
} |
@@ -6727,7 +6727,7 @@ static void voidMethodDefaultUndefinedLongArgMethod(const v8::FunctionCallbackIn |
{ |
ExceptionState exceptionState(ExceptionState::ExecutionContext, "voidMethodDefaultUndefinedLongArg", "TestObject", info.Holder(), info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_EXCEPTION_VOID(int, defaultUndefinedLongArg, toInt32(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, defaultUndefinedLongArg, toInt32(info[0], exceptionState), exceptionState); |
impl->voidMethodDefaultUndefinedLongArg(defaultUndefinedLongArg); |
} |
@@ -6741,7 +6741,7 @@ static void voidMethodDefaultUndefinedLongArgMethodCallback(const v8::FunctionCa |
static void voidMethodDefaultUndefinedStringArgMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, defaultUndefinedStringArg, info[0]); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, defaultUndefinedStringArg, info[0]); |
impl->voidMethodDefaultUndefinedStringArg(defaultUndefinedStringArg); |
} |
@@ -6755,7 +6755,7 @@ static void voidMethodDefaultUndefinedStringArgMethodCallback(const v8::Function |
static void voidMethodDefaultNullStringStringArgMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, defaultNullStringStringArg, argumentOrNull(info, 0)); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, defaultNullStringStringArg, argumentOrNull(info, 0)); |
impl->voidMethodDefaultNullStringStringArg(defaultNullStringStringArg); |
} |
@@ -6774,7 +6774,7 @@ static void voidMethodEnforceRangeLongArgMethod(const v8::FunctionCallbackInfo<v |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_EXCEPTION_VOID(int, enforceRangeLongArg, toInt32(info[0], EnforceRange, exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, enforceRangeLongArg, toInt32(info[0], EnforceRange, exceptionState), exceptionState); |
impl->voidMethodEnforceRangeLongArg(enforceRangeLongArg); |
} |
@@ -6792,7 +6792,7 @@ static void voidMethodTreatNullAsNullStringStringArgMethod(const v8::FunctionCal |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithNullCheck>, treatNullAsNullStringStringArg, info[0]); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<WithNullCheck>, treatNullAsNullStringStringArg, info[0]); |
impl->voidMethodTreatNullAsNullStringStringArg(treatNullAsNullStringStringArg); |
} |
@@ -6810,7 +6810,7 @@ static void voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArgMe |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithUndefinedOrNullCheck>, treatNullAsNullStringStringArg, info[0]); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<WithUndefinedOrNullCheck>, treatNullAsNullStringStringArg, info[0]); |
impl->voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArg(treatNullAsNullStringStringArg); |
} |
@@ -7403,7 +7403,7 @@ static void raisesExceptionVoidMethodOptionalLongArgMethod(const v8::FunctionCal |
return; |
return; |
} |
- V8TRYCATCH_EXCEPTION_VOID(int, optionalLongArg, toInt32(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, optionalLongArg, toInt32(info[0], exceptionState), exceptionState); |
impl->raisesExceptionVoidMethodOptionalLongArg(optionalLongArg, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
@@ -7492,7 +7492,7 @@ static void callWithExecutionContextRaisesExceptionVoidMethodLongArgMethod(const |
return; |
} |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_EXCEPTION_VOID(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
+ V8TRYCATCH_VOID_EXCEPTION(int, longArg, toInt32(info[0], exceptionState), exceptionState); |
ExecutionContext* scriptContext = currentExecutionContext(info.GetIsolate()); |
impl->callWithExecutionContextRaisesExceptionVoidMethodLongArg(scriptContext, longArg, exceptionState); |
if (exceptionState.throwIfNeeded()) |