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 e318c12e495fc9fca57697fbef9520c46d729991..af96b3af2f516936c84a73175f29aa14d3a0144e 100644 |
--- a/Source/bindings/tests/results/core/V8TestObject.cpp |
+++ b/Source/bindings/tests/results/core/V8TestObject.cpp |
@@ -202,7 +202,7 @@ static void dateAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8: |
{ |
v8::Local<v8::Object> holder = info.Holder(); |
TestObject* impl = V8TestObject::toImpl(holder); |
- double cppValue = toCoreDate(v8Value); |
+ double cppValue = toCoreDate(info.GetIsolate(), v8Value); |
impl->setDateAttribute(cppValue); |
} |
@@ -263,7 +263,7 @@ static void byteStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, con |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "byteStringAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- V8StringResource<> cppValue = toByteString(v8Value, exceptionState); |
+ V8StringResource<> cppValue = toByteString(info.GetIsolate(), v8Value, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setByteStringAttribute(cppValue); |
@@ -295,7 +295,7 @@ static void usvStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, cons |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "usvStringAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- V8StringResource<> cppValue = toUSVString(v8Value, exceptionState); |
+ V8StringResource<> cppValue = toUSVString(info.GetIsolate(), v8Value, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setUsvStringAttribute(cppValue); |
@@ -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(v8Value, exceptionState); |
+ unsigned long long cppValue = toUInt64(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt8(info.GetIsolate(), v8Value, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setByteAttribute(cppValue); |
@@ -420,7 +420,7 @@ static void doubleAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "doubleAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- double cppValue = toRestrictedDouble(v8Value, exceptionState); |
+ double cppValue = toRestrictedDouble(info.GetIsolate(), v8Value, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setDoubleAttribute(cppValue); |
@@ -452,7 +452,7 @@ static void floatAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8 |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "floatAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- float cppValue = toRestrictedFloat(v8Value, exceptionState); |
+ float cppValue = toRestrictedFloat(info.GetIsolate(), v8Value, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setFloatAttribute(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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ long long cppValue = toInt64(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ unsigned cppValue = toUInt8(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt16(info.GetIsolate(), v8Value, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setShortAttribute(cppValue); |
@@ -612,7 +612,7 @@ static void unrestrictedDoubleAttributeAttributeSetter(v8::Local<v8::Value> v8Va |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "unrestrictedDoubleAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- double cppValue = toDouble(v8Value, exceptionState); |
+ double cppValue = toDouble(info.GetIsolate(), v8Value, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setUnrestrictedDoubleAttribute(cppValue); |
@@ -644,7 +644,7 @@ static void unrestrictedFloatAttributeAttributeSetter(v8::Local<v8::Value> v8Val |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "unrestrictedFloatAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- float cppValue = toFloat(v8Value, exceptionState); |
+ float cppValue = toFloat(info.GetIsolate(), v8Value, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setUnrestrictedFloatAttribute(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(v8Value, exceptionState); |
+ unsigned cppValue = toUInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ unsigned long long cppValue = toUInt64(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ unsigned cppValue = toUInt16(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setLongOrNullAttribute(cppValue); |
@@ -1794,7 +1794,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()); |
- int cppValue = toInt32(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setDeprecatedLongAttribute(cppValue); |
@@ -2632,7 +2632,7 @@ static void enforceRangeLongAttributeAttributeSetter(v8::Local<v8::Value> v8Valu |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "enforceRangeLongAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- int cppValue = toInt32(v8Value, EnforceRange, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, EnforceRange, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setEnforceRangeLongAttribute(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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setActivityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttribute(cppValue); |
@@ -3331,7 +3331,7 @@ static void locationByteStringAttributeSetter(v8::Local<v8::Value> v8Value, cons |
RefPtrWillBeRawPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationByteString()); |
if (!impl) |
return; |
- V8StringResource<> cppValue = toByteString(v8Value, exceptionState); |
+ V8StringResource<> cppValue = toByteString(info.GetIsolate(), v8Value, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setHrefByteString(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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ unsigned cppValue = toUInt16(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ unsigned cppValue = toUInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setConditionalRuntimeEnabledLongAttribute(cppValue); |
@@ -4816,7 +4816,7 @@ static void treatReturnedNullStringAsNullByteStringAttributeAttributeSetter(v8:: |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "treatReturnedNullStringAsNullByteStringAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- V8StringResource<> cppValue = toByteString(v8Value, exceptionState); |
+ V8StringResource<> cppValue = toByteString(info.GetIsolate(), v8Value, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setTreatReturnedNullStringAsNullByteStringAttribute(cppValue); |
@@ -4848,7 +4848,7 @@ static void treatReturnedNullStringAsUndefinedByteStringAttributeAttributeSetter |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "treatReturnedNullStringAsUndefinedByteStringAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- V8StringResource<> cppValue = toByteString(v8Value, exceptionState); |
+ V8StringResource<> cppValue = toByteString(info.GetIsolate(), v8Value, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setTreatReturnedNullStringAsUndefinedByteStringAttribute(cppValue); |
@@ -4880,7 +4880,7 @@ static void treatReturnedNullStringAsNullUSVStringAttributeAttributeSetter(v8::L |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "treatReturnedNullStringAsNullUSVStringAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- V8StringResource<> cppValue = toUSVString(v8Value, exceptionState); |
+ V8StringResource<> cppValue = toUSVString(info.GetIsolate(), v8Value, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setTreatReturnedNullStringAsNullUSVStringAttribute(cppValue); |
@@ -4912,7 +4912,7 @@ static void treatReturnedNullStringAsUndefinedUSVStringAttributeAttributeSetter( |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "treatReturnedNullStringAsUndefinedUSVStringAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- V8StringResource<> cppValue = toUSVString(v8Value, exceptionState); |
+ V8StringResource<> cppValue = toUSVString(info.GetIsolate(), v8Value, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setTreatReturnedNullStringAsUndefinedUSVStringAttribute(cppValue); |
@@ -4944,7 +4944,7 @@ static void typeCheckingInterfaceFloatAttributeAttributeSetter(v8::Local<v8::Val |
v8::Local<v8::Object> holder = info.Holder(); |
ExceptionState exceptionState(ExceptionState::SetterContext, "typeCheckingInterfaceFloatAttribute", "TestObject", holder, info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(holder); |
- float cppValue = toRestrictedFloat(v8Value, exceptionState); |
+ float cppValue = toRestrictedFloat(info.GetIsolate(), v8Value, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
impl->setTypeCheckingInterfaceFloatAttribute(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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt32(info.GetIsolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt16(info.GetIsolate(), v8Value, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
V8TestObject::PrivateScript::shortAttributeAttributeSetter(toLocalFrame(toFrameIfNotDetached(info.GetIsolate()->GetCurrentContext())), impl, cppValue); |
@@ -5777,7 +5777,7 @@ static void voidMethodDateArgMethod(const v8::FunctionCallbackInfo<v8::Value>& i |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
double dateArg; |
{ |
- dateArg = toCoreDate(info[0]); |
+ dateArg = toCoreDate(info.GetIsolate(), info[0]); |
} |
impl->voidMethodDateArg(dateArg); |
} |
@@ -5823,7 +5823,7 @@ static void voidMethodByteStringArgMethod(const v8::FunctionCallbackInfo<v8::Val |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
V8StringResource<> stringArg; |
{ |
- stringArg = toByteString(info[0], exceptionState); |
+ stringArg = toByteString(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -5848,7 +5848,7 @@ static void voidMethodUSVStringArgMethod(const v8::FunctionCallbackInfo<v8::Valu |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
V8StringResource<> usvStringArg; |
{ |
- usvStringArg = toUSVString(info[0], exceptionState); |
+ usvStringArg = toUSVString(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -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[0], exceptionState); |
+ domTimeStampArg = toUInt64(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ byteArg = toInt8(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -5944,7 +5944,7 @@ static void voidMethodDoubleArgMethod(const v8::FunctionCallbackInfo<v8::Value>& |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
double doubleArg; |
{ |
- doubleArg = toRestrictedDouble(info[0], exceptionState); |
+ doubleArg = toRestrictedDouble(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -5969,7 +5969,7 @@ static void voidMethodFloatArgMethod(const v8::FunctionCallbackInfo<v8::Value>& |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
float floatArg; |
{ |
- floatArg = toRestrictedFloat(info[0], exceptionState); |
+ floatArg = toRestrictedFloat(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ longLongArg = toInt64(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ octetArg = toUInt8(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ shortArg = toInt16(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ unsignedLongArg = toUInt32(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ unsignedLongLongArg = toUInt64(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ unsignedShortArg = toUInt16(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -6204,7 +6204,7 @@ static void voidMethodLongArgTestInterfaceEmptyArgMethod(const v8::FunctionCallb |
int longArg; |
TestInterfaceEmpty* testInterfaceEmptyArg; |
{ |
- longArg = toInt32(info[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ arg1 = toInt32(info.GetIsolate(), info[0], 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[1], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[1], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -7802,7 +7802,7 @@ static void voidMethodOptionalLongArgMethod(const v8::FunctionCallbackInfo<v8::V |
impl->voidMethodOptionalLongArg(); |
return; |
} |
- optionalLongArg = toInt32(info[0], exceptionState); |
+ optionalLongArg = toInt32(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ optionalLongArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -7850,7 +7850,7 @@ static void testInterfaceEmptyMethodOptionalLongArgMethod(const v8::FunctionCall |
v8SetReturnValue(info, impl->testInterfaceEmptyMethodOptionalLongArg()); |
return; |
} |
- optionalLongArg = toInt32(info[0], exceptionState); |
+ optionalLongArg = toInt32(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ optionalLongArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -7900,14 +7900,14 @@ static void voidMethodLongArgOptionalLongArgMethod(const v8::FunctionCallbackInf |
int longArg; |
int optionalLongArg; |
{ |
- longArg = toInt32(info[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
if (UNLIKELY(info.Length() <= 1)) { |
impl->voidMethodLongArgOptionalLongArg(longArg); |
return; |
} |
- optionalLongArg = toInt32(info[1], exceptionState); |
+ optionalLongArg = toInt32(info.GetIsolate(), info[1], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -7934,21 +7934,21 @@ static void voidMethodLongArgOptionalLongArgOptionalLongArgMethod(const v8::Func |
int optionalLongArg1; |
int optionalLongArg2; |
{ |
- longArg = toInt32(info[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
if (UNLIKELY(info.Length() <= 1)) { |
impl->voidMethodLongArgOptionalLongArgOptionalLongArg(longArg); |
return; |
} |
- optionalLongArg1 = toInt32(info[1], exceptionState); |
+ optionalLongArg1 = toInt32(info.GetIsolate(), info[1], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
if (UNLIKELY(info.Length() <= 2)) { |
impl->voidMethodLongArgOptionalLongArgOptionalLongArg(longArg, optionalLongArg1); |
return; |
} |
- optionalLongArg2 = toInt32(info[2], exceptionState); |
+ optionalLongArg2 = toInt32(info.GetIsolate(), info[2], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -7974,7 +7974,7 @@ static void voidMethodLongArgOptionalTestInterfaceEmptyArgMethod(const v8::Funct |
int longArg; |
TestInterfaceEmpty* optionalTestInterfaceEmpty; |
{ |
- longArg = toInt32(info[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], 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[1], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[1], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -8056,7 +8056,7 @@ static void voidMethodDefaultByteStringArgMethod(const v8::FunctionCallbackInfo< |
V8StringResource<> defaultByteStringArg; |
{ |
if (!info[0]->IsUndefined()) { |
- defaultByteStringArg = toByteString(info[0], exceptionState); |
+ defaultByteStringArg = toByteString(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} else { |
@@ -8105,21 +8105,21 @@ static void voidMethodDefaultIntegerArgsMethod(const v8::FunctionCallbackInfo<v8 |
unsigned defaultUnsignedArg; |
{ |
if (!info[0]->IsUndefined()) { |
- defaultLongArg = toInt32(info[0], exceptionState); |
+ defaultLongArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} else { |
defaultLongArg = 10; |
} |
if (!info[1]->IsUndefined()) { |
- defaultLongLongArg = toInt64(info[1], exceptionState); |
+ defaultLongLongArg = toInt64(info.GetIsolate(), info[1], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} else { |
defaultLongLongArg = -10; |
} |
if (!info[2]->IsUndefined()) { |
- defaultUnsignedArg = toUInt32(info[2], exceptionState); |
+ defaultUnsignedArg = toUInt32(info.GetIsolate(), info[2], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} else { |
@@ -8143,7 +8143,7 @@ static void voidMethodDefaultDoubleArgMethod(const v8::FunctionCallbackInfo<v8:: |
double defaultDoubleArg; |
{ |
if (!info[0]->IsUndefined()) { |
- defaultDoubleArg = toRestrictedDouble(info[0], exceptionState); |
+ defaultDoubleArg = toRestrictedDouble(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} else { |
@@ -8209,7 +8209,7 @@ static void voidMethodDefaultNullableByteStringArgMethod(const v8::FunctionCallb |
V8StringResource<TreatNullAsNullString> defaultStringArg; |
{ |
if (!info[0]->IsUndefined()) { |
- defaultStringArg = toByteString(info[0], exceptionState); |
+ defaultStringArg = toByteString(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -8510,10 +8510,10 @@ static void overloadedMethodA2Method(const v8::FunctionCallbackInfo<v8::Value>& |
int longArg1; |
int longArg2; |
{ |
- longArg1 = toInt32(info[0], exceptionState); |
+ longArg1 = toInt32(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
- longArg2 = toInt32(info[1], exceptionState); |
+ longArg2 = toInt32(info.GetIsolate(), info[1], 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[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -8583,7 +8583,7 @@ static void overloadedMethodB2Method(const v8::FunctionCallbackInfo<v8::Value>& |
impl->overloadedMethodB(stringArg); |
return; |
} |
- longArg = toInt32(info[1], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[1], 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[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -8834,7 +8834,7 @@ static void overloadedMethodF2Method(const v8::FunctionCallbackInfo<v8::Value>& |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
double doubleArg; |
{ |
- doubleArg = toRestrictedDouble(info[0], exceptionState); |
+ doubleArg = toRestrictedDouble(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -9026,7 +9026,7 @@ static void overloadedMethodI2Method(const v8::FunctionCallbackInfo<v8::Value>& |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
double doubleArg; |
{ |
- doubleArg = toRestrictedDouble(info[0], exceptionState); |
+ doubleArg = toRestrictedDouble(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
restArgs = toImplArguments<ScriptValue>(info, 1, exceptionState); |
@@ -9294,7 +9294,7 @@ static void promiseOverloadMethod2MethodPromise(const v8::FunctionCallbackInfo<v |
double arg2; |
{ |
arg1 = toDOMWindow(info.GetIsolate(), info[0]); |
- arg2 = toRestrictedDouble(info[1], exceptionState); |
+ arg2 = toRestrictedDouble(info.GetIsolate(), info[1], exceptionState); |
if (exceptionState.hadException()) |
return; |
} |
@@ -9316,7 +9316,7 @@ static void promiseOverloadMethod3MethodPromise(const v8::FunctionCallbackInfo<v |
double arg2; |
{ |
arg1 = V8Document::toImplWithTypeCheck(info.GetIsolate(), info[0]); |
- arg2 = toRestrictedDouble(info[1], exceptionState); |
+ arg2 = toRestrictedDouble(info.GetIsolate(), info[1], exceptionState); |
if (exceptionState.hadException()) |
return; |
} |
@@ -9389,7 +9389,7 @@ static void overloadedPerWorldBindingsMethod2Method(const v8::FunctionCallbackIn |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int longArg; |
{ |
- longArg = toInt32(info[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -9489,10 +9489,10 @@ static void overloadedStaticMethod2Method(const v8::FunctionCallbackInfo<v8::Val |
int longArg1; |
int longArg2; |
{ |
- longArg1 = toInt32(info[0], exceptionState); |
+ longArg1 = toInt32(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
- longArg2 = toInt32(info[1], exceptionState); |
+ longArg2 = toInt32(info.GetIsolate(), info[1], 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[0], exceptionState); |
+ index = toUInt32(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ index = toUInt32(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
value = info[1]; |
@@ -9604,7 +9604,7 @@ static void voidMethodClampUnsignedShortArgMethod(const v8::FunctionCallbackInfo |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
unsigned clampUnsignedShortArg; |
{ |
- clampUnsignedShortArg = toUInt16(info[0], Clamp, exceptionState); |
+ clampUnsignedShortArg = toUInt16(info.GetIsolate(), info[0], Clamp, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -9629,7 +9629,7 @@ static void voidMethodClampUnsignedLongArgMethod(const v8::FunctionCallbackInfo< |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
unsigned clampUnsignedLongArg; |
{ |
- clampUnsignedLongArg = toUInt32(info[0], Clamp, exceptionState); |
+ clampUnsignedLongArg = toUInt32(info.GetIsolate(), info[0], Clamp, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -9666,7 +9666,7 @@ static void voidMethodDefaultUndefinedLongArgMethod(const v8::FunctionCallbackIn |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int defaultUndefinedLongArg; |
{ |
- defaultUndefinedLongArg = toInt32(info[0], exceptionState); |
+ defaultUndefinedLongArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -9710,7 +9710,7 @@ static void voidMethodEnforceRangeLongArgMethod(const v8::FunctionCallbackInfo<v |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int enforceRangeLongArg; |
{ |
- enforceRangeLongArg = toInt32(info[0], EnforceRange, exceptionState); |
+ enforceRangeLongArg = toInt32(info.GetIsolate(), info[0], EnforceRange, 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[0], exceptionState); |
+ arg = toInt32(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ arg = toInt32(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ arg = toInt32(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ arg = toInt32(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ arg = toInt32(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ arg = toInt32(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ arg = toInt32(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -10464,7 +10464,7 @@ static void deprecateAsSameValueMeasureAsSameValueOverloadedMethod2Method(const |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int arg; |
{ |
- arg = toInt32(info[0], exceptionState); |
+ arg = toInt32(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -10723,7 +10723,7 @@ static void raisesExceptionVoidMethodOptionalLongArgMethod(const v8::FunctionCal |
} |
return; |
} |
- optionalLongArg = toInt32(info[0], exceptionState); |
+ optionalLongArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -10834,7 +10834,7 @@ static void callWithExecutionContextRaisesExceptionVoidMethodLongArgMethod(const |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int longArg; |
{ |
- longArg = toInt32(info[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -10984,7 +10984,7 @@ static void partiallyRuntimeEnabledOverloadedVoidMethod3Method(const v8::Functio |
int longArg; |
V8StringResource<> stringArg; |
{ |
- longArg = toInt32(info[0], exceptionState); |
+ longArg = toInt32(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
stringArg = info[1]; |
@@ -11286,10 +11286,10 @@ static void typeCheckingUnrestrictedVoidMethodFloatArgDoubleArgMethod(const v8:: |
float floatArg; |
double doubleArg; |
{ |
- floatArg = toRestrictedFloat(info[0], exceptionState); |
+ floatArg = toRestrictedFloat(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
- doubleArg = toRestrictedDouble(info[1], exceptionState); |
+ doubleArg = toRestrictedDouble(info.GetIsolate(), info[1], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -11469,7 +11469,7 @@ static void shortMethodWithShortArgumentImplementedInPrivateScriptMethod(const v |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int value; |
{ |
- value = toInt16(info[0], exceptionState); |
+ value = toInt16(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |
@@ -11553,10 +11553,10 @@ static void nodeMethodWithVariousArgumentsImplementedInPrivateScriptMethod(const |
{ |
document = V8Document::toImplWithTypeCheck(info.GetIsolate(), info[0]); |
node = V8Node::toImplWithTypeCheck(info.GetIsolate(), info[1]); |
- value1 = toInt16(info[2], exceptionState); |
+ value1 = toInt16(info.GetIsolate(), info[2], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
- value2 = toRestrictedDouble(info[3], exceptionState); |
+ value2 = toRestrictedDouble(info.GetIsolate(), info[3], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
string = info[4]; |
@@ -11588,10 +11588,10 @@ static void methodImplementedInCPPForPrivateScriptOnlyMethod(const v8::FunctionC |
int value1; |
int value2; |
{ |
- value1 = toInt16(info[0], exceptionState); |
+ value1 = toInt16(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
- value2 = toInt16(info[1], exceptionState); |
+ value2 = toInt16(info.GetIsolate(), info[1], 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[0], exceptionState); |
+ key = toInt32(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ key = toInt32(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ key = toInt32(info.GetIsolate(), info[0], 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[0], exceptionState); |
+ key = toInt32(info.GetIsolate(), info[0], 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(v8Value, exceptionState); |
+ int cppValue = toInt16(scriptState->isolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt16(scriptState->isolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt16(scriptState->isolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt16(scriptState->isolate(), v8Value, 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(v8Value, exceptionState); |
+ int cppValue = toInt16(scriptState->isolate(), v8Value, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return false; |
RELEASE_ASSERT(!exceptionState.hadException()); |