Index: Source/bindings/tests/results/core/V8TestObject.cpp |
diff --git a/Source/bindings/tests/results/core/V8TestObject.cpp b/Source/bindings/tests/results/core/V8TestObject.cpp |
index f844239b63d0e1e0aa12501d98c3b7e886abe0a7..35dd9d2cdf8f3e219c2fe1d5a90f27dc7be91b5b 100644 |
--- a/Source/bindings/tests/results/core/V8TestObject.cpp |
+++ b/Source/bindings/tests/results/core/V8TestObject.cpp |
@@ -327,7 +327,7 @@ static void domTimeStampAttributeAttributeSetter(v8::Local<v8::Value> v8Value, c |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "domTimeStampAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- unsigned long long cppValue = toUInt64(info.GetIsolate(), v8Value, exceptionState); |
+ unsigned long long cppValue = toUInt64(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setDomTimeStampAttribute(cppValue); |
@@ -388,7 +388,7 @@ static void byteAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8: |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "byteAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt8(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt8(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setByteAttribute(cppValue); |
@@ -484,7 +484,7 @@ static void longAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8: |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "longAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setLongAttribute(cppValue); |
@@ -516,7 +516,7 @@ static void longLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "longLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- long long cppValue = toInt64(info.GetIsolate(), v8Value, exceptionState); |
+ long long cppValue = toInt64(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setLongLongAttribute(cppValue); |
@@ -548,7 +548,7 @@ static void octetAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8 |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "octetAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- unsigned cppValue = toUInt8(info.GetIsolate(), v8Value, exceptionState); |
+ unsigned cppValue = toUInt8(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setOctetAttribute(cppValue); |
@@ -580,7 +580,7 @@ static void shortAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8 |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "shortAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt16(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt16(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setShortAttribute(cppValue); |
@@ -676,7 +676,7 @@ static void unsignedLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, c |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "unsignedLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- unsigned cppValue = toUInt32(info.GetIsolate(), v8Value, exceptionState); |
+ unsigned cppValue = toUInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setUnsignedLongAttribute(cppValue); |
@@ -708,7 +708,7 @@ static void unsignedLongLongAttributeAttributeSetter(v8::Local<v8::Value> v8Valu |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "unsignedLongLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- unsigned long long cppValue = toUInt64(info.GetIsolate(), v8Value, exceptionState); |
+ unsigned long long cppValue = toUInt64(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setUnsignedLongLongAttribute(cppValue); |
@@ -740,7 +740,7 @@ static void unsignedShortAttributeAttributeSetter(v8::Local<v8::Value> v8Value, |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "unsignedShortAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- unsigned cppValue = toUInt16(info.GetIsolate(), v8Value, exceptionState); |
+ unsigned cppValue = toUInt16(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setUnsignedShortAttribute(cppValue); |
@@ -888,7 +888,7 @@ static void cssAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8:: |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "cssAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setCSSAttribute(cppValue); |
@@ -920,7 +920,7 @@ static void imeAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8:: |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "imeAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setIMEAttribute(cppValue); |
@@ -952,7 +952,7 @@ static void svgAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8:: |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "svgAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setSVGAttribute(cppValue); |
@@ -984,7 +984,7 @@ static void xmlAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8:: |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "xmlAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setXMLAttribute(cppValue); |
@@ -1642,7 +1642,7 @@ static void longOrNullAttributeAttributeSetter(v8::Local<v8::Value> v8Value, con |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "longOrNullAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setLongOrNullAttribute(cppValue); |
@@ -1794,7 +1794,7 @@ static void staticLongAttributeAttributeGetterCallback(v8::Local<v8::Name>, cons |
static void staticLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
{ |
ExceptionState exceptionState(ExceptionState::SetterContext, "staticLongAttribute", "TestObject", holder, info.GetIsolate()); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
TestObject::setStaticLongAttribute(cppValue); |
@@ -2070,7 +2070,7 @@ static void activityLoggingAccessForAllWorldsLongAttributeAttributeSetter(v8::Lo |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingAccessForAllWorldsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setActivityLoggingAccessForAllWorldsLongAttribute(cppValue); |
@@ -2111,7 +2111,7 @@ static void activityLoggingGetterForAllWorldsLongAttributeAttributeSetter(v8::Lo |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingGetterForAllWorldsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setActivityLoggingGetterForAllWorldsLongAttribute(cppValue); |
@@ -2143,7 +2143,7 @@ static void activityLoggingSetterForAllWorldsLongAttributeAttributeSetter(v8::Lo |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingSetterForAllWorldsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setActivityLoggingSetterForAllWorldsLongAttribute(cppValue); |
@@ -2423,7 +2423,7 @@ static void conditionalLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "conditionalLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setConditionalLongAttribute(cppValue); |
@@ -2506,7 +2506,7 @@ static void customGetterLongAttributeAttributeSetter(v8::Local<v8::Value> v8Valu |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "customGetterLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setCustomGetterLongAttribute(cppValue); |
@@ -2599,7 +2599,7 @@ static void deprecatedLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "deprecatedLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setDeprecatedLongAttribute(cppValue); |
@@ -2664,7 +2664,7 @@ static void exposeJSAccessorsLongAttributeAttributeSetter(v8::Local<v8::Value> v |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "exposeJSAccessorsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setExposeJSAccessorsLongAttribute(cppValue); |
@@ -2696,7 +2696,7 @@ static void implementedAsLongAttributeAttributeSetter(v8::Local<v8::Value> v8Val |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "implementedAsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setImplementedAsName(cppValue); |
@@ -2735,7 +2735,7 @@ static void customGetterImplementedAsLongAttributeAttributeSetter(v8::Local<v8:: |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "customGetterImplementedAsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setImplementedAsNameWithCustomGetter(cppValue); |
@@ -2789,7 +2789,7 @@ static void measureAsLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "measureAsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setMeasureAsLongAttribute(cppValue); |
@@ -2822,7 +2822,7 @@ static void notEnumerableLongAttributeAttributeSetter(v8::Local<v8::Value> v8Val |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "notEnumerableLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setNotEnumerableLongAttribute(cppValue); |
@@ -2854,7 +2854,7 @@ static void perContextEnabledLongAttributeAttributeSetter(v8::Local<v8::Value> v |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "perContextEnabledLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setPerContextEnabledLongAttribute(cppValue); |
@@ -2932,7 +2932,7 @@ static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetter(v8 |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingAccessPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setActivityLoggingAccessPerWorldBindingsLongAttribute(cppValue); |
@@ -2973,7 +2973,7 @@ static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetterFor |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingAccessPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setActivityLoggingAccessPerWorldBindingsLongAttribute(cppValue); |
@@ -3014,7 +3014,7 @@ static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setActivityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute(cppValue); |
@@ -3051,7 +3051,7 @@ static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setActivityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute(cppValue); |
@@ -3087,7 +3087,7 @@ static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeSetter(v8 |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingGetterPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setActivityLoggingGetterPerWorldBindingsLongAttribute(cppValue); |
@@ -3123,7 +3123,7 @@ static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeSetterFor |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingGetterPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setActivityLoggingGetterPerWorldBindingsLongAttribute(cppValue); |
@@ -3159,7 +3159,7 @@ static void activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeA |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setActivityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttribute(cppValue); |
@@ -3191,7 +3191,7 @@ static void activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeA |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setActivityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttribute(cppValue); |
@@ -3547,7 +3547,7 @@ static void raisesExceptionLongAttributeAttributeSetter(v8::Local<v8::Value> v8V |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "raisesExceptionLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setRaisesExceptionLongAttribute(cppValue, exceptionState); |
@@ -3584,7 +3584,7 @@ static void raisesExceptionGetterLongAttributeAttributeSetter(v8::Local<v8::Valu |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "raisesExceptionGetterLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setRaisesExceptionGetterLongAttribute(cppValue); |
@@ -3616,7 +3616,7 @@ static void setterRaisesExceptionLongAttributeAttributeSetter(v8::Local<v8::Valu |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "setterRaisesExceptionLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setSetterRaisesExceptionLongAttribute(cppValue, exceptionState); |
@@ -3822,7 +3822,7 @@ static void reflectLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, co |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "reflectLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
@@ -3856,7 +3856,7 @@ static void reflectUnsignedShortAttributeAttributeSetter(v8::Local<v8::Value> v8 |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "reflectUnsignedShortAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- unsigned cppValue = toUInt16(info.GetIsolate(), v8Value, exceptionState); |
+ unsigned cppValue = toUInt16(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
@@ -3890,7 +3890,7 @@ static void reflectUnsignedLongAttributeAttributeSetter(v8::Local<v8::Value> v8V |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "reflectUnsignedLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- unsigned cppValue = toUInt32(info.GetIsolate(), v8Value, exceptionState); |
+ unsigned cppValue = toUInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
@@ -4483,7 +4483,7 @@ static void runtimeEnabledLongAttributeAttributeSetter(v8::Local<v8::Value> v8Va |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "runtimeEnabledLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setRuntimeEnabledLongAttribute(cppValue); |
@@ -4515,7 +4515,7 @@ static void perContextEnabledRuntimeEnabledLongAttributeAttributeSetter(v8::Loca |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "perContextEnabledRuntimeEnabledLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setPerContextEnabledRuntimeEnabledLongAttribute(cppValue); |
@@ -4552,7 +4552,7 @@ static void conditionalRuntimeEnabledLongAttributeAttributeSetter(v8::Local<v8:: |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "conditionalRuntimeEnabledLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setConditionalRuntimeEnabledLongAttribute(cppValue); |
@@ -5112,7 +5112,7 @@ static void unforgeableLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "unforgeableLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setUnforgeableLongAttribute(cppValue); |
@@ -5145,7 +5145,7 @@ static void measuredLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, c |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "measuredLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setMeasuredLongAttribute(cppValue); |
@@ -5372,7 +5372,7 @@ static void shortAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8 |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "shortAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt16(info.GetIsolate(), v8Value, exceptionState); |
+ int cppValue = toInt16(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
V8TestObject::PrivateScript::shortAttributeAttributeSetter(toLocalFrame(toFrameIfNotDetached(info.GetIsolate()->GetCurrentContext())), impl, cppValue); |
@@ -5873,7 +5873,7 @@ static void voidMethodDOMTimeStampArgMethod(const v8::FunctionCallbackInfo<v8::V |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
unsigned long long domTimeStampArg; |
{ |
- domTimeStampArg = toUInt64(info.GetIsolate(), info[0], exceptionState); |
+ domTimeStampArg = toUInt64(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -5919,7 +5919,7 @@ static void voidMethodByteArgMethod(const v8::FunctionCallbackInfo<v8::Value>& i |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int byteArg; |
{ |
- byteArg = toInt8(info.GetIsolate(), info[0], exceptionState); |
+ byteArg = toInt8(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -5994,7 +5994,7 @@ static void voidMethodLongArgMethod(const v8::FunctionCallbackInfo<v8::Value>& i |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int longArg; |
{ |
- longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -6019,7 +6019,7 @@ static void voidMethodLongLongArgMethod(const v8::FunctionCallbackInfo<v8::Value |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
long long longLongArg; |
{ |
- longLongArg = toInt64(info.GetIsolate(), info[0], exceptionState); |
+ longLongArg = toInt64(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -6044,7 +6044,7 @@ static void voidMethodOctetArgMethod(const v8::FunctionCallbackInfo<v8::Value>& |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
unsigned octetArg; |
{ |
- octetArg = toUInt8(info.GetIsolate(), info[0], exceptionState); |
+ octetArg = toUInt8(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -6069,7 +6069,7 @@ static void voidMethodShortArgMethod(const v8::FunctionCallbackInfo<v8::Value>& |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int shortArg; |
{ |
- shortArg = toInt16(info.GetIsolate(), info[0], exceptionState); |
+ shortArg = toInt16(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -6094,7 +6094,7 @@ static void voidMethodUnsignedLongArgMethod(const v8::FunctionCallbackInfo<v8::V |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
unsigned unsignedLongArg; |
{ |
- unsignedLongArg = toUInt32(info.GetIsolate(), info[0], exceptionState); |
+ unsignedLongArg = toUInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -6119,7 +6119,7 @@ static void voidMethodUnsignedLongLongArgMethod(const v8::FunctionCallbackInfo<v |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
unsigned long long unsignedLongLongArg; |
{ |
- unsignedLongLongArg = toUInt64(info.GetIsolate(), info[0], exceptionState); |
+ unsignedLongLongArg = toUInt64(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -6144,7 +6144,7 @@ static void voidMethodUnsignedShortArgMethod(const v8::FunctionCallbackInfo<v8:: |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
unsigned unsignedShortArg; |
{ |
- unsignedShortArg = toUInt16(info.GetIsolate(), info[0], exceptionState); |
+ unsignedShortArg = toUInt16(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -6204,7 +6204,7 @@ static void voidMethodLongArgTestInterfaceEmptyArgMethod(const v8::FunctionCallb |
int longArg; |
TestInterfaceEmpty* testInterfaceEmptyArg; |
{ |
- longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
testInterfaceEmptyArg = V8TestInterfaceEmpty::toImplWithTypeCheck(info.GetIsolate(), info[1]); |
@@ -7476,7 +7476,7 @@ static void promiseMethodMethodPromise(const v8::FunctionCallbackInfo<v8::Value> |
V8StringResource<> arg3; |
Vector<String> variadic; |
{ |
- arg1 = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ arg1 = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.hadException()) |
return; |
if (!isUndefinedOrNull(info[1]) && !info[1]->IsObject()) { |
@@ -7734,7 +7734,7 @@ static void voidMethodStringArgLongArgMethod(const v8::FunctionCallbackInfo<v8:: |
stringArg = info[0]; |
if (!stringArg.prepare()) |
return; |
- longArg = toInt32(info.GetIsolate(), info[1], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[1], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -7802,7 +7802,7 @@ static void voidMethodOptionalLongArgMethod(const v8::FunctionCallbackInfo<v8::V |
impl->voidMethodOptionalLongArg(); |
return; |
} |
- optionalLongArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ optionalLongArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -7826,7 +7826,7 @@ static void stringMethodOptionalLongArgMethod(const v8::FunctionCallbackInfo<v8: |
v8SetReturnValueString(info, impl->stringMethodOptionalLongArg(), info.GetIsolate()); |
return; |
} |
- optionalLongArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ optionalLongArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -7850,7 +7850,7 @@ static void testInterfaceEmptyMethodOptionalLongArgMethod(const v8::FunctionCall |
v8SetReturnValue(info, impl->testInterfaceEmptyMethodOptionalLongArg()); |
return; |
} |
- optionalLongArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ optionalLongArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -7874,7 +7874,7 @@ static void longMethodOptionalLongArgMethod(const v8::FunctionCallbackInfo<v8::V |
v8SetReturnValueInt(info, impl->longMethodOptionalLongArg()); |
return; |
} |
- optionalLongArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ optionalLongArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -7900,14 +7900,14 @@ static void voidMethodLongArgOptionalLongArgMethod(const v8::FunctionCallbackInf |
int longArg; |
int optionalLongArg; |
{ |
- longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
if (UNLIKELY(info.Length() <= 1)) { |
impl->voidMethodLongArgOptionalLongArg(longArg); |
return; |
} |
- optionalLongArg = toInt32(info.GetIsolate(), info[1], exceptionState); |
+ optionalLongArg = toInt32(info.GetIsolate(), info[1], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -7934,21 +7934,21 @@ static void voidMethodLongArgOptionalLongArgOptionalLongArgMethod(const v8::Func |
int optionalLongArg1; |
int optionalLongArg2; |
{ |
- longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
if (UNLIKELY(info.Length() <= 1)) { |
impl->voidMethodLongArgOptionalLongArgOptionalLongArg(longArg); |
return; |
} |
- optionalLongArg1 = toInt32(info.GetIsolate(), info[1], exceptionState); |
+ optionalLongArg1 = toInt32(info.GetIsolate(), info[1], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
if (UNLIKELY(info.Length() <= 2)) { |
impl->voidMethodLongArgOptionalLongArgOptionalLongArg(longArg, optionalLongArg1); |
return; |
} |
- optionalLongArg2 = toInt32(info.GetIsolate(), info[2], exceptionState); |
+ optionalLongArg2 = toInt32(info.GetIsolate(), info[2], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -7974,7 +7974,7 @@ static void voidMethodLongArgOptionalTestInterfaceEmptyArgMethod(const v8::Funct |
int longArg; |
TestInterfaceEmpty* optionalTestInterfaceEmpty; |
{ |
- longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
if (UNLIKELY(info.Length() <= 1)) { |
@@ -8010,7 +8010,7 @@ static void voidMethodTestInterfaceEmptyArgOptionalLongArgMethod(const v8::Funct |
impl->voidMethodTestInterfaceEmptyArgOptionalLongArg(optionalTestInterfaceEmpty); |
return; |
} |
- longArg = toInt32(info.GetIsolate(), info[1], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[1], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -8105,21 +8105,21 @@ static void voidMethodDefaultIntegerArgsMethod(const v8::FunctionCallbackInfo<v8 |
unsigned defaultUnsignedArg; |
{ |
if (!info[0]->IsUndefined()) { |
- defaultLongArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ defaultLongArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} else { |
defaultLongArg = 10; |
} |
if (!info[1]->IsUndefined()) { |
- defaultLongLongArg = toInt64(info.GetIsolate(), info[1], exceptionState); |
+ defaultLongLongArg = toInt64(info.GetIsolate(), info[1], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} else { |
defaultLongLongArg = -10; |
} |
if (!info[2]->IsUndefined()) { |
- defaultUnsignedArg = toUInt32(info.GetIsolate(), info[2], exceptionState); |
+ defaultUnsignedArg = toUInt32(info.GetIsolate(), info[2], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} else { |
@@ -8496,7 +8496,7 @@ static void overloadedMethodA1Method(const v8::FunctionCallbackInfo<v8::Value>& |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int longArg; |
{ |
- longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -8510,10 +8510,10 @@ static void overloadedMethodA2Method(const v8::FunctionCallbackInfo<v8::Value>& |
int longArg1; |
int longArg2; |
{ |
- longArg1 = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ longArg1 = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
- longArg2 = toInt32(info.GetIsolate(), info[1], exceptionState); |
+ longArg2 = toInt32(info.GetIsolate(), info[1], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -8562,7 +8562,7 @@ static void overloadedMethodB1Method(const v8::FunctionCallbackInfo<v8::Value>& |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int longArg; |
{ |
- longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -8583,7 +8583,7 @@ static void overloadedMethodB2Method(const v8::FunctionCallbackInfo<v8::Value>& |
impl->overloadedMethodB(stringArg); |
return; |
} |
- longArg = toInt32(info.GetIsolate(), info[1], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[1], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -8640,7 +8640,7 @@ static void overloadedMethodC1Method(const v8::FunctionCallbackInfo<v8::Value>& |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int longArg; |
{ |
- longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -8697,7 +8697,7 @@ static void overloadedMethodD1Method(const v8::FunctionCallbackInfo<v8::Value>& |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int longArg; |
{ |
- longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -8757,7 +8757,7 @@ static void overloadedMethodE1Method(const v8::FunctionCallbackInfo<v8::Value>& |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int longArg; |
{ |
- longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -8890,7 +8890,7 @@ static void overloadedMethodG1Method(const v8::FunctionCallbackInfo<v8::Value>& |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int longArg; |
{ |
- longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -9202,7 +9202,7 @@ static void overloadedMethodL1Method(const v8::FunctionCallbackInfo<v8::Value>& |
int longArg; |
Vector<ScriptValue> restArgs; |
{ |
- longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
restArgs = toImplArguments<ScriptValue>(info, 1, exceptionState); |
@@ -9389,7 +9389,7 @@ static void overloadedPerWorldBindingsMethod2Method(const v8::FunctionCallbackIn |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int longArg; |
{ |
- longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -9433,7 +9433,7 @@ static void overloadedPerWorldBindingsMethod2MethodForMainWorld(const v8::Functi |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int longArg; |
{ |
- longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -9476,7 +9476,7 @@ static void overloadedStaticMethod1Method(const v8::FunctionCallbackInfo<v8::Val |
ExceptionState exceptionState(ExceptionState::ExecutionContext, "overloadedStaticMethod", "TestObject", info.Holder(), info.GetIsolate()); |
int longArg; |
{ |
- longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -9489,10 +9489,10 @@ static void overloadedStaticMethod2Method(const v8::FunctionCallbackInfo<v8::Val |
int longArg1; |
int longArg2; |
{ |
- longArg1 = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ longArg1 = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
- longArg2 = toInt32(info.GetIsolate(), info[1], exceptionState); |
+ longArg2 = toInt32(info.GetIsolate(), info[1], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -9546,7 +9546,7 @@ static void itemMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
unsigned index; |
{ |
- index = toUInt32(info.GetIsolate(), info[0], exceptionState); |
+ index = toUInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -9574,7 +9574,7 @@ static void setItemMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
unsigned index; |
V8StringResource<> value; |
{ |
- index = toUInt32(info.GetIsolate(), info[0], exceptionState); |
+ index = toUInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
value = info[1]; |
@@ -9666,7 +9666,7 @@ static void voidMethodDefaultUndefinedLongArgMethod(const v8::FunctionCallbackIn |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int defaultUndefinedLongArg; |
{ |
- defaultUndefinedLongArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ defaultUndefinedLongArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -10098,7 +10098,7 @@ static void measureOverloadedMethod2Method(const v8::FunctionCallbackInfo<v8::Va |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int arg; |
{ |
- arg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ arg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -10150,7 +10150,7 @@ static void DeprecateAsOverloadedMethod2Method(const v8::FunctionCallbackInfo<v8 |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int arg; |
{ |
- arg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ arg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -10202,7 +10202,7 @@ static void DeprecateAsSameValueOverloadedMethod2Method(const v8::FunctionCallba |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int arg; |
{ |
- arg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ arg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -10253,7 +10253,7 @@ static void measureAsOverloadedMethod2Method(const v8::FunctionCallbackInfo<v8:: |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int arg; |
{ |
- arg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ arg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -10305,7 +10305,7 @@ static void measureAsSameValueOverloadedMethod2Method(const v8::FunctionCallback |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int arg; |
{ |
- arg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ arg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -10357,7 +10357,7 @@ static void deprecateAsMeasureAsSameValueOverloadedMethod2Method(const v8::Funct |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int arg; |
{ |
- arg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ arg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -10411,7 +10411,7 @@ static void deprecateAsSameValueMeasureAsOverloadedMethod2Method(const v8::Funct |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int arg; |
{ |
- arg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ arg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -10464,7 +10464,7 @@ static void deprecateAsSameValueMeasureAsSameValueOverloadedMethod2Method(const |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int arg; |
{ |
- arg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ arg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -10723,7 +10723,7 @@ static void raisesExceptionVoidMethodOptionalLongArgMethod(const v8::FunctionCal |
} |
return; |
} |
- optionalLongArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ optionalLongArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -10834,7 +10834,7 @@ static void callWithExecutionContextRaisesExceptionVoidMethodLongArgMethod(const |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int longArg; |
{ |
- longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -10910,7 +10910,7 @@ static void runtimeEnabledOverloadedVoidMethod2Method(const v8::FunctionCallback |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int longArg; |
{ |
- longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -10984,7 +10984,7 @@ static void partiallyRuntimeEnabledOverloadedVoidMethod3Method(const v8::Functio |
int longArg; |
V8StringResource<> stringArg; |
{ |
- longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
stringArg = info[1]; |
@@ -11469,7 +11469,7 @@ static void shortMethodWithShortArgumentImplementedInPrivateScriptMethod(const v |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int value; |
{ |
- value = toInt16(info.GetIsolate(), info[0], exceptionState); |
+ value = toInt16(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -11553,7 +11553,7 @@ static void nodeMethodWithVariousArgumentsImplementedInPrivateScriptMethod(const |
{ |
document = V8Document::toImplWithTypeCheck(info.GetIsolate(), info[0]); |
node = V8Node::toImplWithTypeCheck(info.GetIsolate(), info[1]); |
- value1 = toInt16(info.GetIsolate(), info[2], exceptionState); |
+ value1 = toInt16(info.GetIsolate(), info[2], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
value2 = toRestrictedDouble(info.GetIsolate(), info[3], exceptionState); |
@@ -11588,10 +11588,10 @@ static void methodImplementedInCPPForPrivateScriptOnlyMethod(const v8::FunctionC |
int value1; |
int value2; |
{ |
- value1 = toInt16(info.GetIsolate(), info[0], exceptionState); |
+ value1 = toInt16(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
- value2 = toInt16(info.GetIsolate(), info[1], exceptionState); |
+ value2 = toInt16(info.GetIsolate(), info[1], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -11711,7 +11711,7 @@ static void hasMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int key; |
{ |
- key = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ key = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -11742,7 +11742,7 @@ static void getMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int key; |
{ |
- key = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ key = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -11792,7 +11792,7 @@ static void deleteMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int key; |
{ |
- key = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ key = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -11824,7 +11824,7 @@ static void setMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
int key; |
StringOrDouble value; |
{ |
- key = toInt32(info.GetIsolate(), info[0], exceptionState); |
+ key = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
V8StringOrDouble::toImpl(info.GetIsolate(), info[1], value, exceptionState); |
@@ -12716,7 +12716,7 @@ bool V8TestObject::PrivateScript::shortMethodImplementedInPrivateScriptMethod(Lo |
v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, scriptStateInUserScript, "TestObject", "shortMethodImplementedInPrivateScript", holder, 0, argv); |
if (v8Value.IsEmpty()) |
return false; |
- int cppValue = toInt16(scriptState->isolate(), v8Value, exceptionState); |
+ int cppValue = toInt16(scriptState->isolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return false; |
*result = cppValue; |
@@ -12747,7 +12747,7 @@ bool V8TestObject::PrivateScript::shortMethodWithShortArgumentImplementedInPriva |
v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, scriptStateInUserScript, "TestObject", "shortMethodWithShortArgumentImplementedInPrivateScript", holder, 1, argv); |
if (v8Value.IsEmpty()) |
return false; |
- int cppValue = toInt16(scriptState->isolate(), v8Value, exceptionState); |
+ int cppValue = toInt16(scriptState->isolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return false; |
*result = cppValue; |
@@ -12872,7 +12872,7 @@ bool V8TestObject::PrivateScript::methodForPrivateScriptOnlyMethod(LocalFrame* f |
v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, scriptStateInUserScript, "TestObject", "methodForPrivateScriptOnly", holder, 2, argv); |
if (v8Value.IsEmpty()) |
return false; |
- int cppValue = toInt16(scriptState->isolate(), v8Value, exceptionState); |
+ int cppValue = toInt16(scriptState->isolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return false; |
*result = cppValue; |
@@ -12901,7 +12901,7 @@ bool V8TestObject::PrivateScript::readonlyShortAttributeAttributeGetter(LocalFra |
v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(scriptState, scriptStateInUserScript, "TestObject", "readonlyShortAttribute", holder); |
if (v8Value.IsEmpty()) |
return false; |
- int cppValue = toInt16(scriptState->isolate(), v8Value, exceptionState); |
+ int cppValue = toInt16(scriptState->isolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return false; |
RELEASE_ASSERT(!exceptionState.hadException()); |
@@ -12930,7 +12930,7 @@ bool V8TestObject::PrivateScript::shortAttributeAttributeGetter(LocalFrame* fram |
v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(scriptState, scriptStateInUserScript, "TestObject", "shortAttribute", holder); |
if (v8Value.IsEmpty()) |
return false; |
- int cppValue = toInt16(scriptState->isolate(), v8Value, exceptionState); |
+ int cppValue = toInt16(scriptState->isolate(), v8Value, NormalConversion, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return false; |
RELEASE_ASSERT(!exceptionState.hadException()); |