| 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 6e646d3e245b319c6ee240fc917ce579499b86f4..0e82d6280b41612a08f7dd0a10a7594a1874113e 100644
|
| --- a/Source/bindings/tests/results/core/V8TestObject.cpp
|
| +++ b/Source/bindings/tests/results/core/V8TestObject.cpp
|
| @@ -98,7 +98,7 @@ static void MEASURED_CONSTANTConstantGetterCallback(v8::Local<v8::String>, const
|
|
|
| static void stringifierAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueString(info, impl->stringifierAttribute(), info.GetIsolate());
|
| }
|
| @@ -112,7 +112,7 @@ static void stringifierAttributeAttributeGetterCallback(v8::Local<v8::String>, c
|
|
|
| static void stringifierAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
|
| impl->setStringifierAttribute(cppValue);
|
| @@ -127,7 +127,7 @@ static void stringifierAttributeAttributeSetterCallback(v8::Local<v8::String>, v
|
|
|
| static void readonlyStringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueString(info, impl->readonlyStringAttribute(), info.GetIsolate());
|
| }
|
| @@ -141,12 +141,12 @@ static void readonlyStringAttributeAttributeGetterCallback(v8::Local<v8::String>
|
|
|
| static void readonlyTestInterfaceEmptyAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| RefPtr<TestInterfaceEmpty> cppValue(impl->readonlyTestInterfaceEmptyAttribute());
|
| if (cppValue && DOMDataStore::setReturnValue(info.GetReturnValue(), cppValue.get()))
|
| return;
|
| - v8::Handle<v8::Value> wrapper = toV8(cppValue.get(), holder, info.GetIsolate());
|
| + v8::Local<v8::Value> wrapper = toV8(cppValue.get(), holder, info.GetIsolate());
|
| if (!wrapper.IsEmpty()) {
|
| V8HiddenValue::setHiddenValue(info.GetIsolate(), holder, v8AtomicString(info.GetIsolate(), "readonlyTestInterfaceEmptyAttribute"), wrapper);
|
| v8SetReturnValue(info, wrapper);
|
| @@ -162,7 +162,7 @@ static void readonlyTestInterfaceEmptyAttributeAttributeGetterCallback(v8::Local
|
|
|
| static void readonlyLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->readonlyLongAttribute());
|
| }
|
| @@ -176,7 +176,7 @@ static void readonlyLongAttributeAttributeGetterCallback(v8::Local<v8::String>,
|
|
|
| static void dateAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValue(info, v8DateOrNaN(impl->dateAttribute(), info.GetIsolate()));
|
| }
|
| @@ -190,7 +190,7 @@ static void dateAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8
|
|
|
| static void dateAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| double cppValue = toCoreDate(v8Value);
|
| impl->setDateAttribute(cppValue);
|
| @@ -205,7 +205,7 @@ static void dateAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Loca
|
|
|
| static void stringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueString(info, impl->stringAttribute(), info.GetIsolate());
|
| }
|
| @@ -219,7 +219,7 @@ static void stringAttributeAttributeGetterCallback(v8::Local<v8::String>, const
|
|
|
| static void stringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
|
| impl->setStringAttribute(cppValue);
|
| @@ -234,7 +234,7 @@ static void stringAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Lo
|
|
|
| static void byteStringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueString(info, impl->byteStringAttribute(), info.GetIsolate());
|
| }
|
| @@ -248,7 +248,7 @@ static void byteStringAttributeAttributeGetterCallback(v8::Local<v8::String>, co
|
|
|
| static void byteStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "byteStringAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(V8StringResource<>, cppValue, toByteString(v8Value, exceptionState), exceptionState);
|
| @@ -264,7 +264,7 @@ static void byteStringAttributeAttributeSetterCallback(v8::Local<v8::String>, v8
|
|
|
| static void usvStringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueString(info, impl->usvStringAttribute(), info.GetIsolate());
|
| }
|
| @@ -278,7 +278,7 @@ static void usvStringAttributeAttributeGetterCallback(v8::Local<v8::String>, con
|
|
|
| static void usvStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "usvStringAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(V8StringResource<>, cppValue, toUSVString(v8Value, exceptionState), exceptionState);
|
| @@ -294,7 +294,7 @@ static void usvStringAttributeAttributeSetterCallback(v8::Local<v8::String>, v8:
|
|
|
| static void domTimeStampAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValue(info, static_cast<double>(impl->domTimeStampAttribute()));
|
| }
|
| @@ -308,7 +308,7 @@ static void domTimeStampAttributeAttributeGetterCallback(v8::Local<v8::String>,
|
|
|
| static void domTimeStampAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "domTimeStampAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(unsigned long long, cppValue, toUInt64(v8Value, exceptionState), exceptionState);
|
| @@ -324,7 +324,7 @@ static void domTimeStampAttributeAttributeSetterCallback(v8::Local<v8::String>,
|
|
|
| static void booleanAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueBool(info, impl->booleanAttribute());
|
| }
|
| @@ -338,7 +338,7 @@ static void booleanAttributeAttributeGetterCallback(v8::Local<v8::String>, const
|
|
|
| static void booleanAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| bool cppValue = v8Value->BooleanValue();
|
| impl->setBooleanAttribute(cppValue);
|
| @@ -353,7 +353,7 @@ static void booleanAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::L
|
|
|
| static void byteAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->byteAttribute());
|
| }
|
| @@ -367,7 +367,7 @@ static void byteAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8
|
|
|
| static void byteAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "byteAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt8(v8Value, exceptionState), exceptionState);
|
| @@ -383,7 +383,7 @@ static void byteAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Loca
|
|
|
| static void doubleAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValue(info, impl->doubleAttribute());
|
| }
|
| @@ -397,7 +397,7 @@ static void doubleAttributeAttributeGetterCallback(v8::Local<v8::String>, const
|
|
|
| static void doubleAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "doubleAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(double, cppValue, toDouble(v8Value, exceptionState), exceptionState);
|
| @@ -413,7 +413,7 @@ static void doubleAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Lo
|
|
|
| static void floatAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValue(info, impl->floatAttribute());
|
| }
|
| @@ -427,7 +427,7 @@ static void floatAttributeAttributeGetterCallback(v8::Local<v8::String>, const v
|
|
|
| static void floatAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "floatAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(float, cppValue, toFloat(v8Value, exceptionState), exceptionState);
|
| @@ -443,7 +443,7 @@ static void floatAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Loc
|
|
|
| static void longAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->longAttribute());
|
| }
|
| @@ -457,7 +457,7 @@ static void longAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8
|
|
|
| static void longAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "longAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -473,7 +473,7 @@ static void longAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Loca
|
|
|
| static void longLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValue(info, static_cast<double>(impl->longLongAttribute()));
|
| }
|
| @@ -487,7 +487,7 @@ static void longLongAttributeAttributeGetterCallback(v8::Local<v8::String>, cons
|
|
|
| static void longLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "longLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(long long, cppValue, toInt64(v8Value, exceptionState), exceptionState);
|
| @@ -503,7 +503,7 @@ static void longLongAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::
|
|
|
| static void octetAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueUnsigned(info, impl->octetAttribute());
|
| }
|
| @@ -517,7 +517,7 @@ static void octetAttributeAttributeGetterCallback(v8::Local<v8::String>, const v
|
|
|
| static void octetAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "octetAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(unsigned, cppValue, toUInt8(v8Value, exceptionState), exceptionState);
|
| @@ -533,7 +533,7 @@ static void octetAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Loc
|
|
|
| static void shortAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->shortAttribute());
|
| }
|
| @@ -547,7 +547,7 @@ static void shortAttributeAttributeGetterCallback(v8::Local<v8::String>, const v
|
|
|
| static void shortAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "shortAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt16(v8Value, exceptionState), exceptionState);
|
| @@ -563,7 +563,7 @@ static void shortAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Loc
|
|
|
| static void unrestrictedDoubleAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValue(info, impl->unrestrictedDoubleAttribute());
|
| }
|
| @@ -577,7 +577,7 @@ static void unrestrictedDoubleAttributeAttributeGetterCallback(v8::Local<v8::Str
|
|
|
| static void unrestrictedDoubleAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "unrestrictedDoubleAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(double, cppValue, toDouble(v8Value, exceptionState), exceptionState);
|
| @@ -593,7 +593,7 @@ static void unrestrictedDoubleAttributeAttributeSetterCallback(v8::Local<v8::Str
|
|
|
| static void unrestrictedFloatAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValue(info, impl->unrestrictedFloatAttribute());
|
| }
|
| @@ -607,7 +607,7 @@ static void unrestrictedFloatAttributeAttributeGetterCallback(v8::Local<v8::Stri
|
|
|
| static void unrestrictedFloatAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "unrestrictedFloatAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(float, cppValue, toFloat(v8Value, exceptionState), exceptionState);
|
| @@ -623,7 +623,7 @@ static void unrestrictedFloatAttributeAttributeSetterCallback(v8::Local<v8::Stri
|
|
|
| static void unsignedLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueUnsigned(info, impl->unsignedLongAttribute());
|
| }
|
| @@ -637,7 +637,7 @@ static void unsignedLongAttributeAttributeGetterCallback(v8::Local<v8::String>,
|
|
|
| static void unsignedLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "unsignedLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(unsigned, cppValue, toUInt32(v8Value, exceptionState), exceptionState);
|
| @@ -653,7 +653,7 @@ static void unsignedLongAttributeAttributeSetterCallback(v8::Local<v8::String>,
|
|
|
| static void unsignedLongLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValue(info, static_cast<double>(impl->unsignedLongLongAttribute()));
|
| }
|
| @@ -667,7 +667,7 @@ static void unsignedLongLongAttributeAttributeGetterCallback(v8::Local<v8::Strin
|
|
|
| static void unsignedLongLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "unsignedLongLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(unsigned long long, cppValue, toUInt64(v8Value, exceptionState), exceptionState);
|
| @@ -683,7 +683,7 @@ static void unsignedLongLongAttributeAttributeSetterCallback(v8::Local<v8::Strin
|
|
|
| static void unsignedShortAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueUnsigned(info, impl->unsignedShortAttribute());
|
| }
|
| @@ -697,7 +697,7 @@ static void unsignedShortAttributeAttributeGetterCallback(v8::Local<v8::String>,
|
|
|
| static void unsignedShortAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "unsignedShortAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(unsigned, cppValue, toUInt16(v8Value, exceptionState), exceptionState);
|
| @@ -713,7 +713,7 @@ static void unsignedShortAttributeAttributeSetterCallback(v8::Local<v8::String>,
|
|
|
| static void testInterfaceEmptyAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->testInterfaceEmptyAttribute()), impl);
|
| }
|
| @@ -727,7 +727,7 @@ static void testInterfaceEmptyAttributeAttributeGetterCallback(v8::Local<v8::Str
|
|
|
| static void testInterfaceEmptyAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TestInterfaceEmpty* cppValue = V8TestInterfaceEmpty::toImplWithTypeCheck(info.GetIsolate(), v8Value);
|
| impl->setTestInterfaceEmptyAttribute(WTF::getPtr(cppValue));
|
| @@ -742,7 +742,7 @@ static void testInterfaceEmptyAttributeAttributeSetterCallback(v8::Local<v8::Str
|
|
|
| static void testObjectAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->testObjectAttribute()), impl);
|
| }
|
| @@ -756,7 +756,7 @@ static void testObjectAttributeAttributeGetterCallback(v8::Local<v8::String>, co
|
|
|
| static void testObjectAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TestObject* cppValue = V8TestObject::toImplWithTypeCheck(info.GetIsolate(), v8Value);
|
| impl->setTestObjectAttribute(WTF::getPtr(cppValue));
|
| @@ -771,7 +771,7 @@ static void testObjectAttributeAttributeSetterCallback(v8::Local<v8::String>, v8
|
|
|
| static void voidCallbackFunctionAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValue(info, impl->voidCallbackFunctionAttribute().v8Value());
|
| }
|
| @@ -785,7 +785,7 @@ static void voidCallbackFunctionAttributeAttributeGetterCallback(v8::Local<v8::S
|
|
|
| static void voidCallbackFunctionAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| ScriptValue cppValue = ScriptValue(ScriptState::current(info.GetIsolate()), v8Value);
|
| impl->setVoidCallbackFunctionAttribute(cppValue);
|
| @@ -800,7 +800,7 @@ static void voidCallbackFunctionAttributeAttributeSetterCallback(v8::Local<v8::S
|
|
|
| static void anyCallbackFunctionOptionalAnyArgAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValue(info, impl->anyCallbackFunctionOptionalAnyArgAttribute().v8Value());
|
| }
|
| @@ -814,7 +814,7 @@ static void anyCallbackFunctionOptionalAnyArgAttributeAttributeGetterCallback(v8
|
|
|
| static void anyCallbackFunctionOptionalAnyArgAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| ScriptValue cppValue = ScriptValue(ScriptState::current(info.GetIsolate()), v8Value);
|
| impl->setAnyCallbackFunctionOptionalAnyArgAttribute(cppValue);
|
| @@ -829,7 +829,7 @@ static void anyCallbackFunctionOptionalAnyArgAttributeAttributeSetterCallback(v8
|
|
|
| static void cssAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->cssAttribute());
|
| }
|
| @@ -843,7 +843,7 @@ static void cssAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8:
|
|
|
| static void cssAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "cssAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -859,7 +859,7 @@ static void cssAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local
|
|
|
| static void imeAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->imeAttribute());
|
| }
|
| @@ -873,7 +873,7 @@ static void imeAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8:
|
|
|
| static void imeAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "imeAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -889,7 +889,7 @@ static void imeAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local
|
|
|
| static void svgAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->svgAttribute());
|
| }
|
| @@ -903,7 +903,7 @@ static void svgAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8:
|
|
|
| static void svgAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "svgAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -919,7 +919,7 @@ static void svgAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local
|
|
|
| static void xmlAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->xmlAttribute());
|
| }
|
| @@ -933,7 +933,7 @@ static void xmlAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8:
|
|
|
| static void xmlAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "xmlAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -949,7 +949,7 @@ static void xmlAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local
|
|
|
| static void nodeFilterAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->nodeFilterAttribute()), impl);
|
| }
|
| @@ -963,7 +963,7 @@ static void nodeFilterAttributeAttributeGetterCallback(v8::Local<v8::String>, co
|
|
|
| static void nodeFilterAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| RefPtrWillBeRawPtr<NodeFilter> cppValue = toNodeFilter(v8Value, info.Holder(), ScriptState::current(info.GetIsolate()));
|
| impl->setNodeFilterAttribute(WTF::getPtr(cppValue));
|
| @@ -978,7 +978,7 @@ static void nodeFilterAttributeAttributeSetterCallback(v8::Local<v8::String>, v8
|
|
|
| static void serializedScriptValueAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValue(info, impl->serializedScriptValueAttribute() ? impl->serializedScriptValueAttribute()->deserialize() : v8::Handle<v8::Value>(v8::Null(info.GetIsolate())));
|
| }
|
| @@ -992,7 +992,7 @@ static void serializedScriptValueAttributeAttributeGetterCallback(v8::Local<v8::
|
|
|
| static void serializedScriptValueAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "serializedScriptValueAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(RefPtr<SerializedScriptValue>, cppValue, SerializedScriptValueFactory::instance().create(v8Value, 0, 0, exceptionState, info.GetIsolate()), exceptionState);
|
| @@ -1008,7 +1008,7 @@ static void serializedScriptValueAttributeAttributeSetterCallback(v8::Local<v8::
|
|
|
| static void anyAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValue(info, impl->anyAttribute().v8Value());
|
| }
|
| @@ -1022,7 +1022,7 @@ static void anyAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8:
|
|
|
| static void anyAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| ScriptValue cppValue = ScriptValue(ScriptState::current(info.GetIsolate()), v8Value);
|
| impl->setAnyAttribute(cppValue);
|
| @@ -1037,7 +1037,7 @@ static void anyAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local
|
|
|
| static void promiseAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValue(info, impl->promiseAttribute().v8Value());
|
| }
|
| @@ -1051,7 +1051,7 @@ static void promiseAttributeAttributeGetterCallback(v8::Local<v8::String>, const
|
|
|
| static void promiseAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| ScriptPromise cppValue = ScriptPromise::cast(ScriptState::current(info.GetIsolate()), v8Value);
|
| impl->setPromiseAttribute(cppValue);
|
| @@ -1066,7 +1066,7 @@ static void promiseAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::L
|
|
|
| static void windowAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->windowAttribute()), impl);
|
| }
|
| @@ -1080,7 +1080,7 @@ static void windowAttributeAttributeGetterCallback(v8::Local<v8::String>, const
|
|
|
| static void windowAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| DOMWindow* cppValue = toDOMWindow(info.GetIsolate(), v8Value);
|
| impl->setWindowAttribute(WTF::getPtr(cppValue));
|
| @@ -1095,7 +1095,7 @@ static void windowAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Lo
|
|
|
| static void documentAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->documentAttribute()), impl);
|
| }
|
| @@ -1109,7 +1109,7 @@ static void documentAttributeAttributeGetterCallback(v8::Local<v8::String>, cons
|
|
|
| static void documentAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| Document* cppValue = V8Document::toImplWithTypeCheck(info.GetIsolate(), v8Value);
|
| impl->setDocumentAttribute(WTF::getPtr(cppValue));
|
| @@ -1124,7 +1124,7 @@ static void documentAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::
|
|
|
| static void documentFragmentAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->documentFragmentAttribute()), impl);
|
| }
|
| @@ -1138,7 +1138,7 @@ static void documentFragmentAttributeAttributeGetterCallback(v8::Local<v8::Strin
|
|
|
| static void documentFragmentAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| DocumentFragment* cppValue = V8DocumentFragment::toImplWithTypeCheck(info.GetIsolate(), v8Value);
|
| impl->setDocumentFragmentAttribute(WTF::getPtr(cppValue));
|
| @@ -1153,7 +1153,7 @@ static void documentFragmentAttributeAttributeSetterCallback(v8::Local<v8::Strin
|
|
|
| static void documentTypeAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->documentTypeAttribute()), impl);
|
| }
|
| @@ -1167,7 +1167,7 @@ static void documentTypeAttributeAttributeGetterCallback(v8::Local<v8::String>,
|
|
|
| static void documentTypeAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| DocumentType* cppValue = V8DocumentType::toImplWithTypeCheck(info.GetIsolate(), v8Value);
|
| impl->setDocumentTypeAttribute(WTF::getPtr(cppValue));
|
| @@ -1182,7 +1182,7 @@ static void documentTypeAttributeAttributeSetterCallback(v8::Local<v8::String>,
|
|
|
| static void elementAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->elementAttribute()), impl);
|
| }
|
| @@ -1196,7 +1196,7 @@ static void elementAttributeAttributeGetterCallback(v8::Local<v8::String>, const
|
|
|
| static void elementAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| Element* cppValue = V8Element::toImplWithTypeCheck(info.GetIsolate(), v8Value);
|
| impl->setElementAttribute(WTF::getPtr(cppValue));
|
| @@ -1211,7 +1211,7 @@ static void elementAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::L
|
|
|
| static void nodeAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->nodeAttribute()), impl);
|
| }
|
| @@ -1225,7 +1225,7 @@ static void nodeAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8
|
|
|
| static void nodeAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| Node* cppValue = V8Node::toImplWithTypeCheck(info.GetIsolate(), v8Value);
|
| impl->setNodeAttribute(WTF::getPtr(cppValue));
|
| @@ -1240,7 +1240,7 @@ static void nodeAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Loca
|
|
|
| static void shadowRootAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->shadowRootAttribute()), impl);
|
| }
|
| @@ -1254,7 +1254,7 @@ static void shadowRootAttributeAttributeGetterCallback(v8::Local<v8::String>, co
|
|
|
| static void shadowRootAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| ShadowRoot* cppValue = V8ShadowRoot::toImplWithTypeCheck(info.GetIsolate(), v8Value);
|
| impl->setShadowRootAttribute(WTF::getPtr(cppValue));
|
| @@ -1269,7 +1269,7 @@ static void shadowRootAttributeAttributeSetterCallback(v8::Local<v8::String>, v8
|
|
|
| static void arrayBufferAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->arrayBufferAttribute()), impl);
|
| }
|
| @@ -1283,7 +1283,7 @@ static void arrayBufferAttributeAttributeGetterCallback(v8::Local<v8::String>, c
|
|
|
| static void arrayBufferAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TestArrayBuffer* cppValue = v8Value->IsArrayBuffer() ? V8ArrayBuffer::toImpl(v8::Handle<v8::ArrayBuffer>::Cast(v8Value)) : 0;
|
| impl->setArrayBufferAttribute(WTF::getPtr(cppValue));
|
| @@ -1298,7 +1298,7 @@ static void arrayBufferAttributeAttributeSetterCallback(v8::Local<v8::String>, v
|
|
|
| static void float32ArrayAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->float32ArrayAttribute()), impl);
|
| }
|
| @@ -1312,7 +1312,7 @@ static void float32ArrayAttributeAttributeGetterCallback(v8::Local<v8::String>,
|
|
|
| static void float32ArrayAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| DOMFloat32Array* cppValue = v8Value->IsFloat32Array() ? V8Float32Array::toImpl(v8::Handle<v8::Float32Array>::Cast(v8Value)) : 0;
|
| impl->setFloat32ArrayAttribute(WTF::getPtr(cppValue));
|
| @@ -1327,7 +1327,7 @@ static void float32ArrayAttributeAttributeSetterCallback(v8::Local<v8::String>,
|
|
|
| static void uint8ArrayAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->uint8ArrayAttribute()), impl);
|
| }
|
| @@ -1341,7 +1341,7 @@ static void uint8ArrayAttributeAttributeGetterCallback(v8::Local<v8::String>, co
|
|
|
| static void uint8ArrayAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| DOMUint8Array* cppValue = v8Value->IsUint8Array() ? V8Uint8Array::toImpl(v8::Handle<v8::Uint8Array>::Cast(v8Value)) : 0;
|
| impl->setUint8ArrayAttribute(WTF::getPtr(cppValue));
|
| @@ -1356,7 +1356,7 @@ static void uint8ArrayAttributeAttributeSetterCallback(v8::Local<v8::String>, v8
|
|
|
| static void selfAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->self()), impl);
|
| }
|
| @@ -1370,7 +1370,7 @@ static void selfAttributeGetterCallback(v8::Local<v8::String>, const v8::Propert
|
|
|
| static void readonlyEventTargetAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->readonlyEventTargetAttribute()), impl);
|
| }
|
| @@ -1384,7 +1384,7 @@ static void readonlyEventTargetAttributeAttributeGetterCallback(v8::Local<v8::St
|
|
|
| static void readonlyEventTargetOrNullAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->readonlyEventTargetOrNullAttribute()), impl);
|
| }
|
| @@ -1398,7 +1398,7 @@ static void readonlyEventTargetOrNullAttributeAttributeGetterCallback(v8::Local<
|
|
|
| static void readonlyWindowAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->readonlyWindowAttribute()), impl);
|
| }
|
| @@ -1412,7 +1412,7 @@ static void readonlyWindowAttributeAttributeGetterCallback(v8::Local<v8::String>
|
|
|
| static void htmlCollectionAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->htmlCollectionAttribute()), impl);
|
| }
|
| @@ -1426,7 +1426,7 @@ static void htmlCollectionAttributeAttributeGetterCallback(v8::Local<v8::String>
|
|
|
| static void htmlElementAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->htmlElementAttribute()), impl);
|
| }
|
| @@ -1440,7 +1440,7 @@ static void htmlElementAttributeAttributeGetterCallback(v8::Local<v8::String>, c
|
|
|
| static void stringArrayAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValue(info, toV8(impl->stringArrayAttribute(), info.Holder(), info.GetIsolate()));
|
| }
|
| @@ -1454,7 +1454,7 @@ static void stringArrayAttributeAttributeGetterCallback(v8::Local<v8::String>, c
|
|
|
| static void stringArrayAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "stringArrayAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(Vector<String>, cppValue, toImplArray<String>(v8Value, 0, info.GetIsolate(), exceptionState), exceptionState);
|
| @@ -1470,7 +1470,7 @@ static void stringArrayAttributeAttributeSetterCallback(v8::Local<v8::String>, v
|
|
|
| static void testInterfaceEmptyArrayAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValue(info, toV8(impl->testInterfaceEmptyArrayAttribute(), info.Holder(), info.GetIsolate()));
|
| }
|
| @@ -1484,7 +1484,7 @@ static void testInterfaceEmptyArrayAttributeAttributeGetterCallback(v8::Local<v8
|
|
|
| static void testInterfaceEmptyArrayAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "testInterfaceEmptyArrayAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(Vector<RefPtr<TestInterfaceEmpty> >, cppValue, (toRefPtrNativeArray<TestInterfaceEmpty, V8TestInterfaceEmpty>(v8Value, 0, info.GetIsolate(), exceptionState)), exceptionState);
|
| @@ -1500,7 +1500,7 @@ static void testInterfaceEmptyArrayAttributeAttributeSetterCallback(v8::Local<v8
|
|
|
| static void floatArrayAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValue(info, toV8(impl->floatArrayAttribute(), info.Holder(), info.GetIsolate()));
|
| }
|
| @@ -1514,7 +1514,7 @@ static void floatArrayAttributeAttributeGetterCallback(v8::Local<v8::String>, co
|
|
|
| static void floatArrayAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "floatArrayAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(Vector<float>, cppValue, toImplArray<float>(v8Value, 0, info.GetIsolate(), exceptionState), exceptionState);
|
| @@ -1530,7 +1530,7 @@ static void floatArrayAttributeAttributeSetterCallback(v8::Local<v8::String>, v8
|
|
|
| static void stringOrNullAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueStringOrNull(info, impl->stringOrNullAttribute(), info.GetIsolate());
|
| }
|
| @@ -1544,7 +1544,7 @@ static void stringOrNullAttributeAttributeGetterCallback(v8::Local<v8::String>,
|
|
|
| static void stringOrNullAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<TreatNullAsNullString>, cppValue, v8Value);
|
| impl->setStringOrNullAttribute(cppValue);
|
| @@ -1559,7 +1559,7 @@ static void stringOrNullAttributeAttributeSetterCallback(v8::Local<v8::String>,
|
|
|
| static void longOrNullAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| bool isNull = false;
|
| int cppValue(impl->longOrNullAttribute(isNull));
|
| @@ -1579,7 +1579,7 @@ static void longOrNullAttributeAttributeGetterCallback(v8::Local<v8::String>, co
|
|
|
| static void longOrNullAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "longOrNullAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -1595,7 +1595,7 @@ static void longOrNullAttributeAttributeSetterCallback(v8::Local<v8::String>, v8
|
|
|
| static void testInterfaceOrNullAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->testInterfaceOrNullAttribute()), impl);
|
| }
|
| @@ -1609,7 +1609,7 @@ static void testInterfaceOrNullAttributeAttributeGetterCallback(v8::Local<v8::St
|
|
|
| static void testInterfaceOrNullAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TestInterfaceImplementation* cppValue = V8TestInterface::toImplWithTypeCheck(info.GetIsolate(), v8Value);
|
| impl->setTestInterfaceOrNullAttribute(WTF::getPtr(cppValue));
|
| @@ -1624,7 +1624,7 @@ static void testInterfaceOrNullAttributeAttributeSetterCallback(v8::Local<v8::St
|
|
|
| static void testEnumAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueString(info, impl->testEnumAttribute(), info.GetIsolate());
|
| }
|
| @@ -1638,7 +1638,7 @@ static void testEnumAttributeAttributeGetterCallback(v8::Local<v8::String>, cons
|
|
|
| static void testEnumAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
|
| String string = cppValue;
|
| @@ -1707,7 +1707,7 @@ static void staticLongAttributeAttributeSetterCallback(v8::Local<v8::String>, v8
|
|
|
| static void eventHandlerAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| EventListener* cppValue(impl->eventHandlerAttribute());
|
| v8SetReturnValue(info, cppValue ? v8::Handle<v8::Value>(V8AbstractEventListener::cast(cppValue)->getListenerObject(impl->executionContext())) : v8::Handle<v8::Value>(v8::Null(info.GetIsolate())));
|
| @@ -1722,7 +1722,7 @@ static void eventHandlerAttributeAttributeGetterCallback(v8::Local<v8::String>,
|
|
|
| static void eventHandlerAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| moveEventListenerToNewWrapper(info.GetIsolate(), holder, impl->eventHandlerAttribute(), v8Value, V8TestObject::eventListenerCacheIndex);
|
| impl->setEventHandlerAttribute(V8EventListenerList::getEventListener(ScriptState::current(info.GetIsolate()), v8Value, true, ListenerFindOrCreate));
|
| @@ -1737,7 +1737,7 @@ static void eventHandlerAttributeAttributeSetterCallback(v8::Local<v8::String>,
|
|
|
| static void doubleOrStringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| DoubleOrString result;
|
| impl->doubleOrStringAttribute(result);
|
| @@ -1753,7 +1753,7 @@ static void doubleOrStringAttributeAttributeGetterCallback(v8::Local<v8::String>
|
|
|
| static void doubleOrStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "doubleOrStringAttribute", "TestObject", holder, info.GetIsolate());
|
| DoubleOrString cppValue;
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| @@ -1770,7 +1770,7 @@ static void doubleOrStringAttributeAttributeSetterCallback(v8::Local<v8::String>
|
|
|
| static void doubleOrStringOrNullAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| DoubleOrString result;
|
| impl->doubleOrStringOrNullAttribute(result);
|
| @@ -1786,7 +1786,7 @@ static void doubleOrStringOrNullAttributeAttributeGetterCallback(v8::Local<v8::S
|
|
|
| static void doubleOrStringOrNullAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "doubleOrStringOrNullAttribute", "TestObject", holder, info.GetIsolate());
|
| DoubleOrString cppValue;
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| @@ -1803,7 +1803,7 @@ static void doubleOrStringOrNullAttributeAttributeSetterCallback(v8::Local<v8::S
|
|
|
| static void doubleOrNullStringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| DoubleOrString result;
|
| impl->doubleOrNullStringAttribute(result);
|
| @@ -1819,7 +1819,7 @@ static void doubleOrNullStringAttributeAttributeGetterCallback(v8::Local<v8::Str
|
|
|
| static void doubleOrNullStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "doubleOrNullStringAttribute", "TestObject", holder, info.GetIsolate());
|
| DoubleOrString cppValue;
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| @@ -1836,7 +1836,7 @@ static void doubleOrNullStringAttributeAttributeSetterCallback(v8::Local<v8::Str
|
|
|
| static void stringOrStringSequenceAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| StringOrStringSequence result;
|
| impl->stringOrStringSequenceAttribute(result);
|
| @@ -1852,7 +1852,7 @@ static void stringOrStringSequenceAttributeAttributeGetterCallback(v8::Local<v8:
|
|
|
| static void stringOrStringSequenceAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "stringOrStringSequenceAttribute", "TestObject", holder, info.GetIsolate());
|
| StringOrStringSequence cppValue;
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| @@ -1869,7 +1869,7 @@ static void stringOrStringSequenceAttributeAttributeSetterCallback(v8::Local<v8:
|
|
|
| static void activityLoggingAccessForAllWorldsLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->activityLoggingAccessForAllWorldsLongAttribute());
|
| }
|
| @@ -1887,7 +1887,7 @@ static void activityLoggingAccessForAllWorldsLongAttributeAttributeGetterCallbac
|
|
|
| static void activityLoggingAccessForAllWorldsLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingAccessForAllWorldsLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -1908,7 +1908,7 @@ static void activityLoggingAccessForAllWorldsLongAttributeAttributeSetterCallbac
|
|
|
| static void activityLoggingGetterForAllWorldsLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->activityLoggingGetterForAllWorldsLongAttribute());
|
| }
|
| @@ -1926,7 +1926,7 @@ static void activityLoggingGetterForAllWorldsLongAttributeAttributeGetterCallbac
|
|
|
| static void activityLoggingGetterForAllWorldsLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingGetterForAllWorldsLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -1942,7 +1942,7 @@ static void activityLoggingGetterForAllWorldsLongAttributeAttributeSetterCallbac
|
|
|
| static void activityLoggingSetterForAllWorldsLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->activityLoggingSetterForAllWorldsLongAttribute());
|
| }
|
| @@ -1956,7 +1956,7 @@ static void activityLoggingSetterForAllWorldsLongAttributeAttributeGetterCallbac
|
|
|
| static void activityLoggingSetterForAllWorldsLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingSetterForAllWorldsLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -1977,11 +1977,11 @@ static void activityLoggingSetterForAllWorldsLongAttributeAttributeSetterCallbac
|
|
|
| static void cachedAttributeAnyAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| - v8::Handle<v8::String> propertyName = v8AtomicString(info.GetIsolate(), "cachedAttributeAnyAttribute");
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::String> propertyName = v8AtomicString(info.GetIsolate(), "cachedAttributeAnyAttribute");
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| if (!impl->isValueDirty()) {
|
| - v8::Handle<v8::Value> v8Value = V8HiddenValue::getHiddenValue(info.GetIsolate(), holder, propertyName);
|
| + v8::Local<v8::Value> v8Value = V8HiddenValue::getHiddenValue(info.GetIsolate(), holder, propertyName);
|
| if (!v8Value.IsEmpty()) {
|
| v8SetReturnValue(info, v8Value);
|
| return;
|
| @@ -2001,7 +2001,7 @@ static void cachedAttributeAnyAttributeAttributeGetterCallback(v8::Local<v8::Str
|
|
|
| static void cachedAttributeAnyAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| ScriptValue cppValue = ScriptValue(ScriptState::current(info.GetIsolate()), v8Value);
|
| impl->setCachedAttributeAnyAttribute(cppValue);
|
| @@ -2017,11 +2017,11 @@ static void cachedAttributeAnyAttributeAttributeSetterCallback(v8::Local<v8::Str
|
|
|
| static void cachedArrayAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| - v8::Handle<v8::String> propertyName = v8AtomicString(info.GetIsolate(), "cachedArrayAttribute");
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::String> propertyName = v8AtomicString(info.GetIsolate(), "cachedArrayAttribute");
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| if (!impl->isArrayDirty()) {
|
| - v8::Handle<v8::Value> v8Value = V8HiddenValue::getHiddenValue(info.GetIsolate(), holder, propertyName);
|
| + v8::Local<v8::Value> v8Value = V8HiddenValue::getHiddenValue(info.GetIsolate(), holder, propertyName);
|
| if (!v8Value.IsEmpty()) {
|
| v8SetReturnValue(info, v8Value);
|
| return;
|
| @@ -2041,7 +2041,7 @@ static void cachedArrayAttributeAttributeGetterCallback(v8::Local<v8::String>, c
|
|
|
| static void cachedArrayAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "cachedArrayAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(Vector<String>, cppValue, toImplArray<String>(v8Value, 0, info.GetIsolate(), exceptionState), exceptionState);
|
| @@ -2058,11 +2058,11 @@ static void cachedArrayAttributeAttributeSetterCallback(v8::Local<v8::String>, v
|
|
|
| static void cachedStringOrNoneAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| - v8::Handle<v8::String> propertyName = v8AtomicString(info.GetIsolate(), "cachedStringOrNoneAttribute");
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::String> propertyName = v8AtomicString(info.GetIsolate(), "cachedStringOrNoneAttribute");
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| if (!impl->isStringDirty()) {
|
| - v8::Handle<v8::Value> v8Value = V8HiddenValue::getHiddenValue(info.GetIsolate(), holder, propertyName);
|
| + v8::Local<v8::Value> v8Value = V8HiddenValue::getHiddenValue(info.GetIsolate(), holder, propertyName);
|
| if (!v8Value.IsEmpty()) {
|
| v8SetReturnValue(info, v8Value);
|
| return;
|
| @@ -2082,7 +2082,7 @@ static void cachedStringOrNoneAttributeAttributeGetterCallback(v8::Local<v8::Str
|
|
|
| static void cachedStringOrNoneAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<TreatNullAsNullString>, cppValue, v8Value);
|
| impl->setCachedStringOrNoneAttribute(cppValue);
|
| @@ -2098,7 +2098,7 @@ static void cachedStringOrNoneAttributeAttributeSetterCallback(v8::Local<v8::Str
|
|
|
| static void callWithExecutionContextAnyAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate());
|
| v8SetReturnValue(info, impl->callWithExecutionContextAnyAttribute(executionContext).v8Value());
|
| @@ -2113,7 +2113,7 @@ static void callWithExecutionContextAnyAttributeAttributeGetterCallback(v8::Loca
|
|
|
| static void callWithExecutionContextAnyAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| ScriptValue cppValue = ScriptValue(ScriptState::current(info.GetIsolate()), v8Value);
|
| ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate());
|
| @@ -2129,7 +2129,7 @@ static void callWithExecutionContextAnyAttributeAttributeSetterCallback(v8::Loca
|
|
|
| static void callWithScriptStateAnyAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| ScriptState* scriptState = ScriptState::current(info.GetIsolate());
|
| v8SetReturnValue(info, impl->callWithScriptStateAnyAttribute(scriptState).v8Value());
|
| @@ -2144,7 +2144,7 @@ static void callWithScriptStateAnyAttributeAttributeGetterCallback(v8::Local<v8:
|
|
|
| static void callWithScriptStateAnyAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| ScriptValue cppValue = ScriptValue(ScriptState::current(info.GetIsolate()), v8Value);
|
| impl->setCallWithScriptStateAnyAttribute(scriptState, cppValue);
|
| @@ -2159,7 +2159,7 @@ static void callWithScriptStateAnyAttributeAttributeSetterCallback(v8::Local<v8:
|
|
|
| static void callWithExecutionContextAndScriptStateAnyAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate());
|
| ScriptState* scriptState = ScriptState::current(info.GetIsolate());
|
| @@ -2175,7 +2175,7 @@ static void callWithExecutionContextAndScriptStateAnyAttributeAttributeGetterCal
|
|
|
| static void callWithExecutionContextAndScriptStateAnyAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| ScriptValue cppValue = ScriptValue(ScriptState::current(info.GetIsolate()), v8Value);
|
| ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate());
|
| @@ -2191,7 +2191,7 @@ static void callWithExecutionContextAndScriptStateAnyAttributeAttributeSetterCal
|
|
|
| static void checkSecurityForNodeReadonlyDocumentAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| ExceptionState exceptionState(ExceptionState::GetterContext, "checkSecurityForNodeReadonlyDocumentAttribute", "TestObject", holder, info.GetIsolate());
|
| if (!BindingSecurity::shouldAllowAccessToNode(info.GetIsolate(), impl->checkSecurityForNodeReadonlyDocumentAttribute(), exceptionState)) {
|
| @@ -2212,7 +2212,7 @@ static void checkSecurityForNodeReadonlyDocumentAttributeAttributeGetterCallback
|
| #if ENABLE(CONDITION)
|
| static void conditionalLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->conditionalLongAttribute());
|
| }
|
| @@ -2230,7 +2230,7 @@ static void conditionalLongAttributeAttributeGetterCallback(v8::Local<v8::String
|
| #if ENABLE(CONDITION)
|
| static void conditionalLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "conditionalLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -2270,7 +2270,7 @@ static void customGetterLongAttributeAttributeGetterCallback(v8::Local<v8::Strin
|
|
|
| static void customGetterLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "customGetterLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -2293,7 +2293,7 @@ static void customGetterReadonlyObjectAttributeAttributeGetterCallback(v8::Local
|
|
|
| static void customSetterLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->customSetterLongAttribute());
|
| }
|
| @@ -2332,7 +2332,7 @@ static void customLongAttributeAttributeSetterCallback(v8::Local<v8::String>, v8
|
|
|
| static void customElementsCallbacksReadonlyLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->customElementsCallbacksReadonlyLongAttribute());
|
| }
|
| @@ -2346,7 +2346,7 @@ static void customElementsCallbacksReadonlyLongAttributeAttributeGetterCallback(
|
|
|
| static void deprecatedLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->deprecatedLongAttribute());
|
| }
|
| @@ -2361,7 +2361,7 @@ static void deprecatedLongAttributeAttributeGetterCallback(v8::Local<v8::String>
|
|
|
| static void deprecatedLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "deprecatedLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -2378,7 +2378,7 @@ static void deprecatedLongAttributeAttributeSetterCallback(v8::Local<v8::String>
|
|
|
| static void enforceRangeLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->enforceRangeLongAttribute());
|
| }
|
| @@ -2392,7 +2392,7 @@ static void enforceRangeLongAttributeAttributeGetterCallback(v8::Local<v8::Strin
|
|
|
| static void enforceRangeLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "enforceRangeLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, EnforceRange, exceptionState), exceptionState);
|
| @@ -2408,7 +2408,7 @@ static void enforceRangeLongAttributeAttributeSetterCallback(v8::Local<v8::Strin
|
|
|
| static void exposeJSAccessorsLongAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->exposeJSAccessorsLongAttribute());
|
| }
|
| @@ -2422,7 +2422,7 @@ static void exposeJSAccessorsLongAttributeAttributeGetterCallback(const v8::Func
|
|
|
| static void exposeJSAccessorsLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "exposeJSAccessorsLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -2439,7 +2439,7 @@ static void exposeJSAccessorsLongAttributeAttributeSetterCallback(const v8::Func
|
|
|
| static void implementedAsLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->implementedAsName());
|
| }
|
| @@ -2453,7 +2453,7 @@ static void implementedAsLongAttributeAttributeGetterCallback(v8::Local<v8::Stri
|
|
|
| static void implementedAsLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "implementedAsLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -2490,7 +2490,7 @@ static void customGetterImplementedAsLongAttributeAttributeGetterCallback(v8::Lo
|
|
|
| static void customGetterImplementedAsLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "customGetterImplementedAsLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -2506,7 +2506,7 @@ static void customGetterImplementedAsLongAttributeAttributeSetterCallback(v8::Lo
|
|
|
| static void customSetterImplementedAsLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->implementedAsNameWithCustomGetter());
|
| }
|
| @@ -2527,7 +2527,7 @@ static void customSetterImplementedAsLongAttributeAttributeSetterCallback(v8::Lo
|
|
|
| static void measureAsLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->measureAsLongAttribute());
|
| }
|
| @@ -2542,7 +2542,7 @@ static void measureAsLongAttributeAttributeGetterCallback(v8::Local<v8::String>,
|
|
|
| static void measureAsLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "measureAsLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -2559,7 +2559,7 @@ static void measureAsLongAttributeAttributeSetterCallback(v8::Local<v8::String>,
|
|
|
| static void notEnumerableLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->notEnumerableLongAttribute());
|
| }
|
| @@ -2573,7 +2573,7 @@ static void notEnumerableLongAttributeAttributeGetterCallback(v8::Local<v8::Stri
|
|
|
| static void notEnumerableLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "notEnumerableLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -2589,7 +2589,7 @@ static void notEnumerableLongAttributeAttributeSetterCallback(v8::Local<v8::Stri
|
|
|
| static void perContextEnabledLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->perContextEnabledLongAttribute());
|
| }
|
| @@ -2603,7 +2603,7 @@ static void perContextEnabledLongAttributeAttributeGetterCallback(v8::Local<v8::
|
|
|
| static void perContextEnabledLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "perContextEnabledLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -2619,12 +2619,12 @@ static void perContextEnabledLongAttributeAttributeSetterCallback(v8::Local<v8::
|
|
|
| static void perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| RefPtr<TestInterfaceEmpty> cppValue(impl->perWorldBindingsReadonlyTestInterfaceEmptyAttribute());
|
| if (cppValue && DOMDataStore::setReturnValue(info.GetReturnValue(), cppValue.get()))
|
| return;
|
| - v8::Handle<v8::Value> wrapper = toV8(cppValue.get(), holder, info.GetIsolate());
|
| + v8::Local<v8::Value> wrapper = toV8(cppValue.get(), holder, info.GetIsolate());
|
| if (!wrapper.IsEmpty()) {
|
| V8HiddenValue::setHiddenValue(info.GetIsolate(), holder, v8AtomicString(info.GetIsolate(), "perWorldBindingsReadonlyTestInterfaceEmptyAttribute"), wrapper);
|
| v8SetReturnValue(info, wrapper);
|
| @@ -2640,12 +2640,12 @@ static void perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetterCa
|
|
|
| static void perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| RefPtr<TestInterfaceEmpty> cppValue(impl->perWorldBindingsReadonlyTestInterfaceEmptyAttribute());
|
| if (cppValue && DOMDataStore::setReturnValueForMainWorld(info.GetReturnValue(), cppValue.get()))
|
| return;
|
| - v8::Handle<v8::Value> wrapper = toV8(cppValue.get(), holder, info.GetIsolate());
|
| + v8::Local<v8::Value> wrapper = toV8(cppValue.get(), holder, info.GetIsolate());
|
| if (!wrapper.IsEmpty()) {
|
| V8HiddenValue::setHiddenValue(info.GetIsolate(), holder, v8AtomicString(info.GetIsolate(), "perWorldBindingsReadonlyTestInterfaceEmptyAttribute"), wrapper);
|
| v8SetReturnValue(info, wrapper);
|
| @@ -2661,7 +2661,7 @@ static void perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetterCa
|
|
|
| static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->activityLoggingAccessPerWorldBindingsLongAttribute());
|
| }
|
| @@ -2679,7 +2679,7 @@ static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterCal
|
|
|
| static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingAccessPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -2700,7 +2700,7 @@ static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetterCal
|
|
|
| static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->activityLoggingAccessPerWorldBindingsLongAttribute());
|
| }
|
| @@ -2718,7 +2718,7 @@ static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterCal
|
|
|
| static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetterForMainWorld(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingAccessPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -2739,7 +2739,7 @@ static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetterCal
|
|
|
| static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute());
|
| }
|
| @@ -2757,7 +2757,7 @@ static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA
|
|
|
| static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -2778,7 +2778,7 @@ static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA
|
|
|
| static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute());
|
| }
|
| @@ -2792,7 +2792,7 @@ static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA
|
|
|
| static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeAttributeSetterForMainWorld(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -2808,7 +2808,7 @@ static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA
|
|
|
| static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->activityLoggingGetterPerWorldBindingsLongAttribute());
|
| }
|
| @@ -2826,7 +2826,7 @@ static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeGetterCal
|
|
|
| static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingGetterPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -2842,7 +2842,7 @@ static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeSetterCal
|
|
|
| static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->activityLoggingGetterPerWorldBindingsLongAttribute());
|
| }
|
| @@ -2860,7 +2860,7 @@ static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeGetterCal
|
|
|
| static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeSetterForMainWorld(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingGetterPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -2876,7 +2876,7 @@ static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeSetterCal
|
|
|
| static void activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttribute());
|
| }
|
| @@ -2894,7 +2894,7 @@ static void activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeA
|
|
|
| static void activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -2910,7 +2910,7 @@ static void activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeA
|
|
|
| static void activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttribute());
|
| }
|
| @@ -2924,7 +2924,7 @@ static void activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeA
|
|
|
| static void activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeAttributeSetterForMainWorld(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -2940,7 +2940,7 @@ static void activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeA
|
|
|
| static void locationAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->location()), impl);
|
| }
|
| @@ -2954,7 +2954,7 @@ static void locationAttributeGetterCallback(v8::Local<v8::String>, const v8::Pro
|
|
|
| static void locationAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* proxyImpl = V8TestObject::toImpl(holder);
|
| RefPtrWillBeRawPtr<TestNode> impl = WTF::getPtr(proxyImpl->location());
|
| if (!impl)
|
| @@ -2972,7 +2972,7 @@ static void locationAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8:
|
|
|
| static void locationWithExceptionAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->locationWithException()), impl);
|
| }
|
| @@ -2986,7 +2986,7 @@ static void locationWithExceptionAttributeGetterCallback(v8::Local<v8::String>,
|
|
|
| static void locationWithExceptionAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "locationWithException", "TestObject", holder, info.GetIsolate());
|
| TestObject* proxyImpl = V8TestObject::toImpl(holder);
|
| RefPtrWillBeRawPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationWithException());
|
| @@ -3006,7 +3006,7 @@ static void locationWithExceptionAttributeSetterCallback(v8::Local<v8::String>,
|
|
|
| static void locationWithCallWithAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->locationWithCallWith()), impl);
|
| }
|
| @@ -3020,7 +3020,7 @@ static void locationWithCallWithAttributeGetterCallback(v8::Local<v8::String>, c
|
|
|
| static void locationWithCallWithAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* proxyImpl = V8TestObject::toImpl(holder);
|
| RefPtrWillBeRawPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationWithCallWith());
|
| if (!impl)
|
| @@ -3039,7 +3039,7 @@ static void locationWithCallWithAttributeSetterCallback(v8::Local<v8::String>, v
|
|
|
| static void locationByteStringAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->locationByteString()), impl);
|
| }
|
| @@ -3053,7 +3053,7 @@ static void locationByteStringAttributeGetterCallback(v8::Local<v8::String>, con
|
|
|
| static void locationByteStringAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "locationByteString", "TestObject", holder, info.GetIsolate());
|
| TestObject* proxyImpl = V8TestObject::toImpl(holder);
|
| RefPtrWillBeRawPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationByteString());
|
| @@ -3072,7 +3072,7 @@ static void locationByteStringAttributeSetterCallback(v8::Local<v8::String>, v8:
|
|
|
| static void locationWithPerWorldBindingsAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->locationWithPerWorldBindings()), impl);
|
| }
|
| @@ -3086,7 +3086,7 @@ static void locationWithPerWorldBindingsAttributeGetterCallback(v8::Local<v8::St
|
|
|
| static void locationWithPerWorldBindingsAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* proxyImpl = V8TestObject::toImpl(holder);
|
| RefPtrWillBeRawPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationWithPerWorldBindings());
|
| if (!impl)
|
| @@ -3104,7 +3104,7 @@ static void locationWithPerWorldBindingsAttributeSetterCallback(v8::Local<v8::St
|
|
|
| static void locationWithPerWorldBindingsAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueForMainWorld(info, WTF::getPtr(impl->locationWithPerWorldBindings()));
|
| }
|
| @@ -3118,7 +3118,7 @@ static void locationWithPerWorldBindingsAttributeGetterCallbackForMainWorld(v8::
|
|
|
| static void locationWithPerWorldBindingsAttributeSetterForMainWorld(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* proxyImpl = V8TestObject::toImpl(holder);
|
| RefPtrWillBeRawPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationWithPerWorldBindings());
|
| if (!impl)
|
| @@ -3136,7 +3136,7 @@ static void locationWithPerWorldBindingsAttributeSetterCallbackForMainWorld(v8::
|
|
|
| static void locationTypeCheckingInterfaceAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->locationTypeCheckingInterface()), impl);
|
| }
|
| @@ -3150,7 +3150,7 @@ static void locationTypeCheckingInterfaceAttributeGetterCallback(v8::Local<v8::S
|
|
|
| static void locationTypeCheckingInterfaceAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* proxyImpl = V8TestObject::toImpl(holder);
|
| RefPtrWillBeRawPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationTypeCheckingInterface());
|
| if (!impl)
|
| @@ -3168,12 +3168,12 @@ static void locationTypeCheckingInterfaceAttributeSetterCallback(v8::Local<v8::S
|
|
|
| static void locationGarbageCollectedAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| RawPtr<TestInterfaceGarbageCollected> cppValue(impl->locationGarbageCollected());
|
| if (cppValue && DOMDataStore::setReturnValue(info.GetReturnValue(), cppValue.get()))
|
| return;
|
| - v8::Handle<v8::Value> wrapper = toV8(cppValue.get(), holder, info.GetIsolate());
|
| + v8::Local<v8::Value> wrapper = toV8(cppValue.get(), holder, info.GetIsolate());
|
| if (!wrapper.IsEmpty()) {
|
| V8HiddenValue::setHiddenValue(info.GetIsolate(), holder, v8AtomicString(info.GetIsolate(), "locationGarbageCollected"), wrapper);
|
| v8SetReturnValue(info, wrapper);
|
| @@ -3189,7 +3189,7 @@ static void locationGarbageCollectedAttributeGetterCallback(v8::Local<v8::String
|
|
|
| static void locationGarbageCollectedAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* proxyImpl = V8TestObject::toImpl(holder);
|
| RawPtr<TestInterfaceGarbageCollected> impl = WTF::getPtr(proxyImpl->locationGarbageCollected());
|
| if (!impl)
|
| @@ -3207,12 +3207,12 @@ static void locationGarbageCollectedAttributeSetterCallback(v8::Local<v8::String
|
|
|
| static void locationWillBeGarbageCollectedAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| RefPtrWillBeRawPtr<TestInterfaceWillBeGarbageCollected> cppValue(impl->locationWillBeGarbageCollected());
|
| if (cppValue && DOMDataStore::setReturnValue(info.GetReturnValue(), cppValue.get()))
|
| return;
|
| - v8::Handle<v8::Value> wrapper = toV8(cppValue.get(), holder, info.GetIsolate());
|
| + v8::Local<v8::Value> wrapper = toV8(cppValue.get(), holder, info.GetIsolate());
|
| if (!wrapper.IsEmpty()) {
|
| V8HiddenValue::setHiddenValue(info.GetIsolate(), holder, v8AtomicString(info.GetIsolate(), "locationWillBeGarbageCollected"), wrapper);
|
| v8SetReturnValue(info, wrapper);
|
| @@ -3228,7 +3228,7 @@ static void locationWillBeGarbageCollectedAttributeGetterCallback(v8::Local<v8::
|
|
|
| static void locationWillBeGarbageCollectedAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* proxyImpl = V8TestObject::toImpl(holder);
|
| RefPtrWillBeRawPtr<TestInterfaceWillBeGarbageCollected> impl = WTF::getPtr(proxyImpl->locationWillBeGarbageCollected());
|
| if (!impl)
|
| @@ -3246,7 +3246,7 @@ static void locationWillBeGarbageCollectedAttributeSetterCallback(v8::Local<v8::
|
|
|
| static void raisesExceptionLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| ExceptionState exceptionState(ExceptionState::GetterContext, "raisesExceptionLongAttribute", "TestObject", holder, info.GetIsolate());
|
| int cppValue(impl->raisesExceptionLongAttribute(exceptionState));
|
| @@ -3264,7 +3264,7 @@ static void raisesExceptionLongAttributeAttributeGetterCallback(v8::Local<v8::St
|
|
|
| static void raisesExceptionLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "raisesExceptionLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -3281,7 +3281,7 @@ static void raisesExceptionLongAttributeAttributeSetterCallback(v8::Local<v8::St
|
|
|
| static void raisesExceptionGetterLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| ExceptionState exceptionState(ExceptionState::GetterContext, "raisesExceptionGetterLongAttribute", "TestObject", holder, info.GetIsolate());
|
| int cppValue(impl->raisesExceptionGetterLongAttribute(exceptionState));
|
| @@ -3299,7 +3299,7 @@ static void raisesExceptionGetterLongAttributeAttributeGetterCallback(v8::Local<
|
|
|
| static void raisesExceptionGetterLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "raisesExceptionGetterLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -3315,7 +3315,7 @@ static void raisesExceptionGetterLongAttributeAttributeSetterCallback(v8::Local<
|
|
|
| static void setterRaisesExceptionLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->setterRaisesExceptionLongAttribute());
|
| }
|
| @@ -3329,7 +3329,7 @@ static void setterRaisesExceptionLongAttributeAttributeGetterCallback(v8::Local<
|
|
|
| static void setterRaisesExceptionLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "setterRaisesExceptionLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -3346,7 +3346,7 @@ static void setterRaisesExceptionLongAttributeAttributeSetterCallback(v8::Local<
|
|
|
| static void raisesExceptionTestInterfaceEmptyAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| ExceptionState exceptionState(ExceptionState::GetterContext, "raisesExceptionTestInterfaceEmptyAttribute", "TestObject", holder, info.GetIsolate());
|
| RefPtr<TestInterfaceEmpty> cppValue(impl->raisesExceptionTestInterfaceEmptyAttribute(exceptionState));
|
| @@ -3364,7 +3364,7 @@ static void raisesExceptionTestInterfaceEmptyAttributeAttributeGetterCallback(v8
|
|
|
| static void raisesExceptionTestInterfaceEmptyAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "raisesExceptionTestInterfaceEmptyAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TestInterfaceEmpty* cppValue = V8TestInterfaceEmpty::toImplWithTypeCheck(info.GetIsolate(), v8Value);
|
| @@ -3381,11 +3381,11 @@ static void raisesExceptionTestInterfaceEmptyAttributeAttributeSetterCallback(v8
|
|
|
| static void cachedAttributeRaisesExceptionGetterAnyAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| - v8::Handle<v8::String> propertyName = v8AtomicString(info.GetIsolate(), "cachedAttributeRaisesExceptionGetterAnyAttribute");
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::String> propertyName = v8AtomicString(info.GetIsolate(), "cachedAttributeRaisesExceptionGetterAnyAttribute");
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| if (!impl->isValueDirty()) {
|
| - v8::Handle<v8::Value> v8Value = V8HiddenValue::getHiddenValue(info.GetIsolate(), holder, propertyName);
|
| + v8::Local<v8::Value> v8Value = V8HiddenValue::getHiddenValue(info.GetIsolate(), holder, propertyName);
|
| if (!v8Value.IsEmpty()) {
|
| v8SetReturnValue(info, v8Value);
|
| return;
|
| @@ -3408,7 +3408,7 @@ static void cachedAttributeRaisesExceptionGetterAnyAttributeAttributeGetterCallb
|
|
|
| static void cachedAttributeRaisesExceptionGetterAnyAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "cachedAttributeRaisesExceptionGetterAnyAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| ScriptValue cppValue = ScriptValue(ScriptState::current(info.GetIsolate()), v8Value);
|
| @@ -3426,7 +3426,7 @@ static void cachedAttributeRaisesExceptionGetterAnyAttributeAttributeSetterCallb
|
|
|
| static void reflectTestInterfaceAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->fastGetAttribute(HTMLNames::reflecttestinterfaceattributeAttr)), impl);
|
| }
|
| @@ -3440,7 +3440,7 @@ static void reflectTestInterfaceAttributeAttributeGetterCallback(v8::Local<v8::S
|
|
|
| static void reflectTestInterfaceAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TestInterfaceImplementation* cppValue = V8TestInterface::toImplWithTypeCheck(info.GetIsolate(), v8Value);
|
| CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
|
| @@ -3457,7 +3457,7 @@ static void reflectTestInterfaceAttributeAttributeSetterCallback(v8::Local<v8::S
|
|
|
| static void reflectReflectedNameAttributeTestAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->fastGetAttribute(HTMLNames::reflectedNameAttributeAttr)), impl);
|
| }
|
| @@ -3471,7 +3471,7 @@ static void reflectReflectedNameAttributeTestAttributeAttributeGetterCallback(v8
|
|
|
| static void reflectReflectedNameAttributeTestAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TestInterfaceImplementation* cppValue = V8TestInterface::toImplWithTypeCheck(info.GetIsolate(), v8Value);
|
| CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
|
| @@ -3488,7 +3488,7 @@ static void reflectReflectedNameAttributeTestAttributeAttributeSetterCallback(v8
|
|
|
| static void reflectBooleanAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueBool(info, impl->fastHasAttribute(HTMLNames::reflectbooleanattributeAttr));
|
| }
|
| @@ -3502,7 +3502,7 @@ static void reflectBooleanAttributeAttributeGetterCallback(v8::Local<v8::String>
|
|
|
| static void reflectBooleanAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| bool cppValue = v8Value->BooleanValue();
|
| CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
|
| @@ -3519,7 +3519,7 @@ static void reflectBooleanAttributeAttributeSetterCallback(v8::Local<v8::String>
|
|
|
| static void reflectLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->getIntegralAttribute(HTMLNames::reflectlongattributeAttr));
|
| }
|
| @@ -3533,7 +3533,7 @@ static void reflectLongAttributeAttributeGetterCallback(v8::Local<v8::String>, c
|
|
|
| static void reflectLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "reflectLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -3551,7 +3551,7 @@ static void reflectLongAttributeAttributeSetterCallback(v8::Local<v8::String>, v
|
|
|
| static void reflectUnsignedShortAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueUnsigned(info, std::max(0, static_cast<int>(impl->fastGetAttribute(HTMLNames::reflectunsignedshortattributeAttr))));
|
| }
|
| @@ -3565,7 +3565,7 @@ static void reflectUnsignedShortAttributeAttributeGetterCallback(v8::Local<v8::S
|
|
|
| static void reflectUnsignedShortAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "reflectUnsignedShortAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(unsigned, cppValue, toUInt16(v8Value, exceptionState), exceptionState);
|
| @@ -3583,7 +3583,7 @@ static void reflectUnsignedShortAttributeAttributeSetterCallback(v8::Local<v8::S
|
|
|
| static void reflectUnsignedLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueUnsigned(info, std::max(0, static_cast<int>(impl->getIntegralAttribute(HTMLNames::reflectunsignedlongattributeAttr))));
|
| }
|
| @@ -3597,7 +3597,7 @@ static void reflectUnsignedLongAttributeAttributeGetterCallback(v8::Local<v8::St
|
|
|
| static void reflectUnsignedLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "reflectUnsignedLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(unsigned, cppValue, toUInt32(v8Value, exceptionState), exceptionState);
|
| @@ -3615,7 +3615,7 @@ static void reflectUnsignedLongAttributeAttributeSetterCallback(v8::Local<v8::St
|
|
|
| static void idAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueString(info, impl->getIdAttribute(), info.GetIsolate());
|
| }
|
| @@ -3629,7 +3629,7 @@ static void idAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyC
|
|
|
| static void idAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
|
| CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
|
| @@ -3646,7 +3646,7 @@ static void idAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value
|
|
|
| static void nameAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueString(info, impl->getNameAttribute(), info.GetIsolate());
|
| }
|
| @@ -3660,7 +3660,7 @@ static void nameAttributeGetterCallback(v8::Local<v8::String>, const v8::Propert
|
|
|
| static void nameAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
|
| CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
|
| @@ -3677,7 +3677,7 @@ static void nameAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Val
|
|
|
| static void classAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueString(info, impl->getClassAttribute(), info.GetIsolate());
|
| }
|
| @@ -3691,7 +3691,7 @@ static void classAttributeGetterCallback(v8::Local<v8::String>, const v8::Proper
|
|
|
| static void classAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
|
| CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
|
| @@ -3708,7 +3708,7 @@ static void classAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Va
|
|
|
| static void reflectedIdAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueString(info, impl->getIdAttribute(), info.GetIsolate());
|
| }
|
| @@ -3722,7 +3722,7 @@ static void reflectedIdAttributeGetterCallback(v8::Local<v8::String>, const v8::
|
|
|
| static void reflectedIdAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
|
| CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
|
| @@ -3739,7 +3739,7 @@ static void reflectedIdAttributeSetterCallback(v8::Local<v8::String>, v8::Local<
|
|
|
| static void reflectedNameAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueString(info, impl->getNameAttribute(), info.GetIsolate());
|
| }
|
| @@ -3753,7 +3753,7 @@ static void reflectedNameAttributeGetterCallback(v8::Local<v8::String>, const v8
|
|
|
| static void reflectedNameAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
|
| CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
|
| @@ -3770,7 +3770,7 @@ static void reflectedNameAttributeSetterCallback(v8::Local<v8::String>, v8::Loca
|
|
|
| static void reflectedClassAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueString(info, impl->getClassAttribute(), info.GetIsolate());
|
| }
|
| @@ -3784,7 +3784,7 @@ static void reflectedClassAttributeGetterCallback(v8::Local<v8::String>, const v
|
|
|
| static void reflectedClassAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
|
| CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
|
| @@ -3801,7 +3801,7 @@ static void reflectedClassAttributeSetterCallback(v8::Local<v8::String>, v8::Loc
|
|
|
| static void limitedToOnlyOneAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| String cppValue(impl->fastGetAttribute(HTMLNames::limitedtoonlyoneattributeAttr));
|
| if (cppValue.isEmpty()) {
|
| @@ -3823,7 +3823,7 @@ static void limitedToOnlyOneAttributeAttributeGetterCallback(v8::Local<v8::Strin
|
|
|
| static void limitedToOnlyOneAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
|
| CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
|
| @@ -3840,7 +3840,7 @@ static void limitedToOnlyOneAttributeAttributeSetterCallback(v8::Local<v8::Strin
|
|
|
| static void limitedToOnlyAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| String cppValue(impl->fastGetAttribute(HTMLNames::limitedtoonlyattributeAttr));
|
| if (cppValue.isEmpty()) {
|
| @@ -3866,7 +3866,7 @@ static void limitedToOnlyAttributeAttributeGetterCallback(v8::Local<v8::String>,
|
|
|
| static void limitedToOnlyAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
|
| CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
|
| @@ -3883,7 +3883,7 @@ static void limitedToOnlyAttributeAttributeSetterCallback(v8::Local<v8::String>,
|
|
|
| static void limitedToOnlyOtherAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| String cppValue(impl->fastGetAttribute(HTMLNames::otherAttr));
|
| if (cppValue.isEmpty()) {
|
| @@ -3907,7 +3907,7 @@ static void limitedToOnlyOtherAttributeAttributeGetterCallback(v8::Local<v8::Str
|
|
|
| static void limitedToOnlyOtherAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
|
| CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
|
| @@ -3924,7 +3924,7 @@ static void limitedToOnlyOtherAttributeAttributeSetterCallback(v8::Local<v8::Str
|
|
|
| static void limitedWithMissingDefaultAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| String cppValue(impl->fastGetAttribute(HTMLNames::limitedwithmissingdefaultattributeAttr));
|
| if (cppValue.isEmpty()) {
|
| @@ -3948,7 +3948,7 @@ static void limitedWithMissingDefaultAttributeAttributeGetterCallback(v8::Local<
|
|
|
| static void limitedWithMissingDefaultAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
|
| CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
|
| @@ -3965,7 +3965,7 @@ static void limitedWithMissingDefaultAttributeAttributeSetterCallback(v8::Local<
|
|
|
| static void limitedWithInvalidMissingDefaultAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| String cppValue(impl->fastGetAttribute(HTMLNames::limitedwithinvalidmissingdefaultattributeAttr));
|
| if (cppValue.isEmpty()) {
|
| @@ -3991,7 +3991,7 @@ static void limitedWithInvalidMissingDefaultAttributeAttributeGetterCallback(v8:
|
|
|
| static void limitedWithInvalidMissingDefaultAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
|
| CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
|
| @@ -4008,7 +4008,7 @@ static void limitedWithInvalidMissingDefaultAttributeAttributeSetterCallback(v8:
|
|
|
| static void corsSettingAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| String cppValue(impl->fastGetAttribute(HTMLNames::corssettingattributeAttr));
|
| if (cppValue.isNull()) {
|
| @@ -4034,7 +4034,7 @@ static void corsSettingAttributeAttributeGetterCallback(v8::Local<v8::String>, c
|
|
|
| static void limitedWithEmptyMissingInvalidAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| String cppValue(impl->fastGetAttribute(HTMLNames::limitedwithemptymissinginvalidattributeAttr));
|
| if (cppValue.isNull()) {
|
| @@ -4064,7 +4064,7 @@ static void limitedWithEmptyMissingInvalidAttributeAttributeGetterCallback(v8::L
|
|
|
| static void replaceableReadonlyLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->replaceableReadonlyLongAttribute());
|
| }
|
| @@ -4078,7 +4078,7 @@ static void replaceableReadonlyLongAttributeAttributeGetterCallback(v8::Local<v8
|
|
|
| static void locationReplaceableAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->locationReplaceable()), impl);
|
| }
|
| @@ -4092,7 +4092,7 @@ static void locationReplaceableAttributeGetterCallback(v8::Local<v8::String>, co
|
|
|
| static void locationReplaceableAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* proxyImpl = V8TestObject::toImpl(holder);
|
| RefPtrWillBeRawPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationReplaceable());
|
| if (!impl)
|
| @@ -4110,7 +4110,7 @@ static void locationReplaceableAttributeSetterCallback(v8::Local<v8::String>, v8
|
|
|
| static void runtimeEnabledLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->runtimeEnabledLongAttribute());
|
| }
|
| @@ -4124,7 +4124,7 @@ static void runtimeEnabledLongAttributeAttributeGetterCallback(v8::Local<v8::Str
|
|
|
| static void runtimeEnabledLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "runtimeEnabledLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -4140,7 +4140,7 @@ static void runtimeEnabledLongAttributeAttributeSetterCallback(v8::Local<v8::Str
|
|
|
| static void perContextEnabledRuntimeEnabledLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->perContextEnabledRuntimeEnabledLongAttribute());
|
| }
|
| @@ -4154,7 +4154,7 @@ static void perContextEnabledRuntimeEnabledLongAttributeAttributeGetterCallback(
|
|
|
| static void perContextEnabledRuntimeEnabledLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "perContextEnabledRuntimeEnabledLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -4171,7 +4171,7 @@ static void perContextEnabledRuntimeEnabledLongAttributeAttributeSetterCallback(
|
| #if ENABLE(CONDITION)
|
| static void conditionalRuntimeEnabledLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->conditionalRuntimeEnabledLongAttribute());
|
| }
|
| @@ -4189,7 +4189,7 @@ static void conditionalRuntimeEnabledLongAttributeAttributeGetterCallback(v8::Lo
|
| #if ENABLE(CONDITION)
|
| static void conditionalRuntimeEnabledLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "conditionalRuntimeEnabledLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -4208,7 +4208,7 @@ static void conditionalRuntimeEnabledLongAttributeAttributeSetterCallback(v8::Lo
|
|
|
| static void setterCallWithActiveWindowAndFirstWindowStringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueString(info, impl->setterCallWithActiveWindowAndFirstWindowStringAttribute(), info.GetIsolate());
|
| }
|
| @@ -4222,7 +4222,7 @@ static void setterCallWithActiveWindowAndFirstWindowStringAttributeAttributeGett
|
|
|
| static void setterCallWithActiveWindowAndFirstWindowStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
|
| impl->setSetterCallWithActiveWindowAndFirstWindowStringAttribute(callingDOMWindow(info.GetIsolate()), enteredDOMWindow(info.GetIsolate()), cppValue);
|
| @@ -4237,7 +4237,7 @@ static void setterCallWithActiveWindowAndFirstWindowStringAttributeAttributeSett
|
|
|
| static void setterCallWithExecutionContextStringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueString(info, impl->setterCallWithExecutionContextStringAttribute(), info.GetIsolate());
|
| }
|
| @@ -4251,7 +4251,7 @@ static void setterCallWithExecutionContextStringAttributeAttributeGetterCallback
|
|
|
| static void setterCallWithExecutionContextStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
|
| ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate());
|
| @@ -4267,7 +4267,7 @@ static void setterCallWithExecutionContextStringAttributeAttributeSetterCallback
|
|
|
| static void treatNullAsEmptyStringStringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueString(info, impl->treatNullAsEmptyStringStringAttribute(), info.GetIsolate());
|
| }
|
| @@ -4281,7 +4281,7 @@ static void treatNullAsEmptyStringStringAttributeAttributeGetterCallback(v8::Loc
|
|
|
| static void treatNullAsEmptyStringStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<TreatNullAsEmptyString>, cppValue, v8Value);
|
| impl->setTreatNullAsEmptyStringStringAttribute(cppValue);
|
| @@ -4296,7 +4296,7 @@ static void treatNullAsEmptyStringStringAttributeAttributeSetterCallback(v8::Loc
|
|
|
| static void treatNullAsNullStringStringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueString(info, impl->treatNullAsNullStringStringAttribute(), info.GetIsolate());
|
| }
|
| @@ -4310,7 +4310,7 @@ static void treatNullAsNullStringStringAttributeAttributeGetterCallback(v8::Loca
|
|
|
| static void treatNullAsNullStringStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<TreatNullAsNullString>, cppValue, v8Value);
|
| impl->setTreatNullAsNullStringStringAttribute(cppValue);
|
| @@ -4325,7 +4325,7 @@ static void treatNullAsNullStringStringAttributeAttributeSetterCallback(v8::Loca
|
|
|
| static void treatReturnedNullStringAsNullStringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueStringOrNull(info, impl->treatReturnedNullStringAsNullStringAttribute(), info.GetIsolate());
|
| }
|
| @@ -4339,7 +4339,7 @@ static void treatReturnedNullStringAsNullStringAttributeAttributeGetterCallback(
|
|
|
| static void treatReturnedNullStringAsNullStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
|
| impl->setTreatReturnedNullStringAsNullStringAttribute(cppValue);
|
| @@ -4354,7 +4354,7 @@ static void treatReturnedNullStringAsNullStringAttributeAttributeSetterCallback(
|
|
|
| static void treatReturnedNullStringAsUndefinedStringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueStringOrUndefined(info, impl->treatReturnedNullStringAsUndefinedStringAttribute(), info.GetIsolate());
|
| }
|
| @@ -4368,7 +4368,7 @@ static void treatReturnedNullStringAsUndefinedStringAttributeAttributeGetterCall
|
|
|
| static void treatReturnedNullStringAsUndefinedStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
|
| impl->setTreatReturnedNullStringAsUndefinedStringAttribute(cppValue);
|
| @@ -4383,11 +4383,11 @@ static void treatReturnedNullStringAsUndefinedStringAttributeAttributeSetterCall
|
|
|
| static void cachedTreatReturnedNullStringAsUndefinedStringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| - v8::Handle<v8::String> propertyName = v8AtomicString(info.GetIsolate(), "cachedTreatReturnedNullStringAsUndefinedStringAttribute");
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::String> propertyName = v8AtomicString(info.GetIsolate(), "cachedTreatReturnedNullStringAsUndefinedStringAttribute");
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| if (!impl->isStringDirty()) {
|
| - v8::Handle<v8::Value> v8Value = V8HiddenValue::getHiddenValue(info.GetIsolate(), holder, propertyName);
|
| + v8::Local<v8::Value> v8Value = V8HiddenValue::getHiddenValue(info.GetIsolate(), holder, propertyName);
|
| if (!v8Value.IsEmpty()) {
|
| v8SetReturnValue(info, v8Value);
|
| return;
|
| @@ -4407,7 +4407,7 @@ static void cachedTreatReturnedNullStringAsUndefinedStringAttributeAttributeGett
|
|
|
| static void cachedTreatReturnedNullStringAsUndefinedStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
|
| impl->setCachedTreatReturnedNullStringAsUndefinedStringAttribute(cppValue);
|
| @@ -4423,7 +4423,7 @@ static void cachedTreatReturnedNullStringAsUndefinedStringAttributeAttributeSett
|
|
|
| static void treatReturnedNullStringAsNullByteStringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueStringOrNull(info, impl->treatReturnedNullStringAsNullByteStringAttribute(), info.GetIsolate());
|
| }
|
| @@ -4437,7 +4437,7 @@ static void treatReturnedNullStringAsNullByteStringAttributeAttributeGetterCallb
|
|
|
| static void treatReturnedNullStringAsNullByteStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "treatReturnedNullStringAsNullByteStringAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(V8StringResource<>, cppValue, toByteString(v8Value, exceptionState), exceptionState);
|
| @@ -4453,7 +4453,7 @@ static void treatReturnedNullStringAsNullByteStringAttributeAttributeSetterCallb
|
|
|
| static void treatReturnedNullStringAsUndefinedByteStringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueStringOrUndefined(info, impl->treatReturnedNullStringAsUndefinedByteStringAttribute(), info.GetIsolate());
|
| }
|
| @@ -4467,7 +4467,7 @@ static void treatReturnedNullStringAsUndefinedByteStringAttributeAttributeGetter
|
|
|
| static void treatReturnedNullStringAsUndefinedByteStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "treatReturnedNullStringAsUndefinedByteStringAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(V8StringResource<>, cppValue, toByteString(v8Value, exceptionState), exceptionState);
|
| @@ -4483,7 +4483,7 @@ static void treatReturnedNullStringAsUndefinedByteStringAttributeAttributeSetter
|
|
|
| static void treatReturnedNullStringAsNullUSVStringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueStringOrNull(info, impl->treatReturnedNullStringAsNullUSVStringAttribute(), info.GetIsolate());
|
| }
|
| @@ -4497,7 +4497,7 @@ static void treatReturnedNullStringAsNullUSVStringAttributeAttributeGetterCallba
|
|
|
| static void treatReturnedNullStringAsNullUSVStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "treatReturnedNullStringAsNullUSVStringAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(V8StringResource<>, cppValue, toUSVString(v8Value, exceptionState), exceptionState);
|
| @@ -4513,7 +4513,7 @@ static void treatReturnedNullStringAsNullUSVStringAttributeAttributeSetterCallba
|
|
|
| static void treatReturnedNullStringAsUndefinedUSVStringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueStringOrUndefined(info, impl->treatReturnedNullStringAsUndefinedUSVStringAttribute(), info.GetIsolate());
|
| }
|
| @@ -4527,7 +4527,7 @@ static void treatReturnedNullStringAsUndefinedUSVStringAttributeAttributeGetterC
|
|
|
| static void treatReturnedNullStringAsUndefinedUSVStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "treatReturnedNullStringAsUndefinedUSVStringAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(V8StringResource<>, cppValue, toUSVString(v8Value, exceptionState), exceptionState);
|
| @@ -4543,7 +4543,7 @@ static void treatReturnedNullStringAsUndefinedUSVStringAttributeAttributeSetterC
|
|
|
| static void typeCheckingInterfaceFloatAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValue(info, impl->typeCheckingInterfaceFloatAttribute());
|
| }
|
| @@ -4557,7 +4557,7 @@ static void typeCheckingInterfaceFloatAttributeAttributeGetterCallback(v8::Local
|
|
|
| static void typeCheckingInterfaceFloatAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "typeCheckingInterfaceFloatAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(float, cppValue, toFloat(v8Value, exceptionState), exceptionState);
|
| @@ -4573,7 +4573,7 @@ static void typeCheckingInterfaceFloatAttributeAttributeSetterCallback(v8::Local
|
|
|
| static void typeCheckingInterfaceTestInterfaceAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->typeCheckingInterfaceTestInterfaceAttribute()), impl);
|
| }
|
| @@ -4587,7 +4587,7 @@ static void typeCheckingInterfaceTestInterfaceAttributeAttributeGetterCallback(v
|
|
|
| static void typeCheckingInterfaceTestInterfaceAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "typeCheckingInterfaceTestInterfaceAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TestInterfaceImplementation* cppValue = V8TestInterface::toImplWithTypeCheck(info.GetIsolate(), v8Value);
|
| @@ -4608,7 +4608,7 @@ static void typeCheckingInterfaceTestInterfaceAttributeAttributeSetterCallback(v
|
|
|
| static void typeCheckingInterfaceTestInterfaceOrNullAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->typeCheckingInterfaceTestInterfaceOrNullAttribute()), impl);
|
| }
|
| @@ -4622,7 +4622,7 @@ static void typeCheckingInterfaceTestInterfaceOrNullAttributeAttributeGetterCall
|
|
|
| static void typeCheckingInterfaceTestInterfaceOrNullAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "typeCheckingInterfaceTestInterfaceOrNullAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TestInterfaceImplementation* cppValue = V8TestInterface::toImplWithTypeCheck(info.GetIsolate(), v8Value);
|
| @@ -4643,7 +4643,7 @@ static void typeCheckingInterfaceTestInterfaceOrNullAttributeAttributeSetterCall
|
|
|
| static void urlStringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueString(info, impl->getURLAttribute(HTMLNames::urlstringattributeAttr), info.GetIsolate());
|
| }
|
| @@ -4657,7 +4657,7 @@ static void urlStringAttributeAttributeGetterCallback(v8::Local<v8::String>, con
|
|
|
| static void urlStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
|
| CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
|
| @@ -4674,7 +4674,7 @@ static void urlStringAttributeAttributeSetterCallback(v8::Local<v8::String>, v8:
|
|
|
| static void urlStringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueString(info, impl->getURLAttribute(HTMLNames::reflectUrlAttributeAttr), info.GetIsolate());
|
| }
|
| @@ -4688,7 +4688,7 @@ static void urlStringAttributeAttributeGetterCallback(v8::Local<v8::String>, con
|
|
|
| static void urlStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
|
| CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
|
| @@ -4705,7 +4705,7 @@ static void urlStringAttributeAttributeSetterCallback(v8::Local<v8::String>, v8:
|
|
|
| static void unforgeableLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueInt(info, impl->unforgeableLongAttribute());
|
| }
|
| @@ -4719,7 +4719,7 @@ static void unforgeableLongAttributeAttributeGetterCallback(v8::Local<v8::String
|
|
|
| static void unforgeableLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "unforgeableLongAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| @@ -4735,7 +4735,7 @@ static void unforgeableLongAttributeAttributeSetterCallback(v8::Local<v8::String
|
|
|
| static void testInterfaceAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->testInterfaceAttribute()), impl);
|
| }
|
| @@ -4749,7 +4749,7 @@ static void testInterfaceAttributeAttributeGetterCallback(v8::Local<v8::String>,
|
|
|
| static void testInterfaceAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TestInterfaceImplementation* cppValue = V8TestInterface::toImplWithTypeCheck(info.GetIsolate(), v8Value);
|
| impl->setTestInterfaceAttribute(WTF::getPtr(cppValue));
|
| @@ -4764,7 +4764,7 @@ static void testInterfaceAttributeAttributeSetterCallback(v8::Local<v8::String>,
|
|
|
| static void testInterfaceGarbageCollectedAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->testInterfaceGarbageCollectedAttribute()), impl);
|
| }
|
| @@ -4778,7 +4778,7 @@ static void testInterfaceGarbageCollectedAttributeAttributeGetterCallback(v8::Lo
|
|
|
| static void testInterfaceGarbageCollectedAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TestInterfaceGarbageCollected* cppValue = V8TestInterfaceGarbageCollected::toImplWithTypeCheck(info.GetIsolate(), v8Value);
|
| impl->setTestInterfaceGarbageCollectedAttribute(WTF::getPtr(cppValue));
|
| @@ -4793,7 +4793,7 @@ static void testInterfaceGarbageCollectedAttributeAttributeSetterCallback(v8::Lo
|
|
|
| static void testInterfaceGarbageCollectedOrNullAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->testInterfaceGarbageCollectedOrNullAttribute()), impl);
|
| }
|
| @@ -4807,7 +4807,7 @@ static void testInterfaceGarbageCollectedOrNullAttributeAttributeGetterCallback(
|
|
|
| static void testInterfaceGarbageCollectedOrNullAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TestInterfaceGarbageCollected* cppValue = V8TestInterfaceGarbageCollected::toImplWithTypeCheck(info.GetIsolate(), v8Value);
|
| impl->setTestInterfaceGarbageCollectedOrNullAttribute(WTF::getPtr(cppValue));
|
| @@ -4822,7 +4822,7 @@ static void testInterfaceGarbageCollectedOrNullAttributeAttributeSetterCallback(
|
|
|
| static void testInterfaceWillBeGarbageCollectedAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->testInterfaceWillBeGarbageCollectedAttribute()), impl);
|
| }
|
| @@ -4836,7 +4836,7 @@ static void testInterfaceWillBeGarbageCollectedAttributeAttributeGetterCallback(
|
|
|
| static void testInterfaceWillBeGarbageCollectedAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TestInterfaceWillBeGarbageCollected* cppValue = V8TestInterfaceWillBeGarbageCollected::toImplWithTypeCheck(info.GetIsolate(), v8Value);
|
| impl->setTestInterfaceWillBeGarbageCollectedAttribute(WTF::getPtr(cppValue));
|
| @@ -4851,7 +4851,7 @@ static void testInterfaceWillBeGarbageCollectedAttributeAttributeSetterCallback(
|
|
|
| static void testInterfaceWillBeGarbageCollectedOrNullAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueFast(info, WTF::getPtr(impl->testInterfaceWillBeGarbageCollectedOrNullAttribute()), impl);
|
| }
|
| @@ -4865,7 +4865,7 @@ static void testInterfaceWillBeGarbageCollectedOrNullAttributeAttributeGetterCal
|
|
|
| static void testInterfaceWillBeGarbageCollectedOrNullAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TestInterfaceWillBeGarbageCollected* cppValue = V8TestInterfaceWillBeGarbageCollected::toImplWithTypeCheck(info.GetIsolate(), v8Value);
|
| impl->setTestInterfaceWillBeGarbageCollectedOrNullAttribute(WTF::getPtr(cppValue));
|
| @@ -4880,7 +4880,7 @@ static void testInterfaceWillBeGarbageCollectedOrNullAttributeAttributeSetterCal
|
|
|
| static void readonlyShortAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| int result = 0;
|
| if (!V8TestObject::PrivateScript::readonlyShortAttributeAttributeGetter(toFrameIfNotDetached(info.GetIsolate()->GetCurrentContext()), impl, &result))
|
| @@ -4897,7 +4897,7 @@ static void readonlyShortAttributeAttributeGetterCallback(v8::Local<v8::String>,
|
|
|
| static void shortAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| int result = 0;
|
| if (!V8TestObject::PrivateScript::shortAttributeAttributeGetter(toFrameIfNotDetached(info.GetIsolate()->GetCurrentContext()), impl, &result))
|
| @@ -4914,7 +4914,7 @@ static void shortAttributeAttributeGetterCallback(v8::Local<v8::String>, const v
|
|
|
| static void shortAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "shortAttribute", "TestObject", holder, info.GetIsolate());
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt16(v8Value, exceptionState), exceptionState);
|
| @@ -4930,7 +4930,7 @@ static void shortAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Loc
|
|
|
| static void stringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| String result;
|
| if (!V8TestObject::PrivateScript::stringAttributeAttributeGetter(toFrameIfNotDetached(info.GetIsolate()->GetCurrentContext()), impl, &result))
|
| @@ -4947,7 +4947,7 @@ static void stringAttributeAttributeGetterCallback(v8::Local<v8::String>, const
|
|
|
| static void stringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
|
| V8TestObject::PrivateScript::stringAttributeAttributeSetter(toFrameIfNotDetached(info.GetIsolate()->GetCurrentContext()), impl, cppValue);
|
| @@ -4962,7 +4962,7 @@ static void stringAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Lo
|
|
|
| static void nodeAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| RefPtrWillBeRawPtr<Node> result = nullptr;
|
| if (!V8TestObject::PrivateScript::nodeAttributeAttributeGetter(toFrameIfNotDetached(info.GetIsolate()->GetCurrentContext()), impl, &result))
|
| @@ -4979,7 +4979,7 @@ static void nodeAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8
|
|
|
| static void nodeAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| Node* cppValue = V8Node::toImplWithTypeCheck(info.GetIsolate(), v8Value);
|
| V8TestObject::PrivateScript::nodeAttributeAttributeSetter(toFrameIfNotDetached(info.GetIsolate()->GetCurrentContext()), impl, cppValue);
|
| @@ -4994,7 +4994,7 @@ static void nodeAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Loca
|
|
|
| static void attributeImplementedInCPPForPrivateScriptOnlyAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| v8SetReturnValueString(info, impl->attributeImplementedInCPPForPrivateScriptOnly(), info.GetIsolate());
|
| }
|
| @@ -5008,7 +5008,7 @@ static void attributeImplementedInCPPForPrivateScriptOnlyAttributeGetterCallback
|
|
|
| static void attributeImplementedInCPPForPrivateScriptOnlyAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
|
| impl->setAttributeImplementedInCPPForPrivateScriptOnly(cppValue);
|
| @@ -5023,7 +5023,7 @@ static void attributeImplementedInCPPForPrivateScriptOnlyAttributeSetterCallback
|
|
|
| static void enumForPrivateScriptAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| String result;
|
| if (!V8TestObject::PrivateScript::enumForPrivateScriptAttributeGetter(toFrameIfNotDetached(info.GetIsolate()->GetCurrentContext()), impl, &result))
|
| @@ -5040,7 +5040,7 @@ static void enumForPrivateScriptAttributeGetterCallback(v8::Local<v8::String>, c
|
|
|
| static void enumForPrivateScriptAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
|
| {
|
| - v8::Handle<v8::Object> holder = info.Holder();
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| TestObject* impl = V8TestObject::toImpl(holder);
|
| TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
|
| String string = cppValue;
|
| @@ -5058,7 +5058,7 @@ static void enumForPrivateScriptAttributeSetterCallback(v8::Local<v8::String>, v
|
|
|
| static void TestObjectConstructorGetter(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - v8::Handle<v8::Value> data = info.Data();
|
| + v8::Local<v8::Value> data = info.Data();
|
| ASSERT(data->IsExternal());
|
| V8PerContextData* perContextData = V8PerContextData::from(info.Holder()->CreationContext());
|
| if (!perContextData)
|
| @@ -11185,7 +11185,7 @@ bool V8TestObject::PrivateScript::voidMethodImplementedInPrivateScriptMethod(Loc
|
| return false;
|
| v8::HandleScope handleScope(toIsolate(frame));
|
| ScriptForbiddenScope::AllowUserAgentScript script;
|
| - v8::Handle<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| + v8::Local<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| if (contextInPrivateScript.IsEmpty())
|
| return false;
|
| ScriptState* scriptState = ScriptState::from(contextInPrivateScript);
|
| @@ -11194,11 +11194,11 @@ bool V8TestObject::PrivateScript::voidMethodImplementedInPrivateScriptMethod(Loc
|
| return false;
|
|
|
| ScriptState::Scope scope(scriptState);
|
| - v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
| + v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
|
|
| - v8::Handle<v8::Value> *argv = 0;
|
| + v8::Local<v8::Value> *argv = 0;
|
| ExceptionState exceptionState(ExceptionState::ExecutionContext, "voidMethodImplementedInPrivateScript", "TestObject", scriptState->context()->Global(), scriptState->isolate());
|
| - v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, scriptStateInUserScript, "TestObject", "voidMethodImplementedInPrivateScript", holder, 0, argv);
|
| + v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, scriptStateInUserScript, "TestObject", "voidMethodImplementedInPrivateScript", holder, 0, argv);
|
| if (v8Value.IsEmpty())
|
| return false;
|
| RELEASE_ASSERT(!exceptionState.hadException());
|
| @@ -11211,7 +11211,7 @@ bool V8TestObject::PrivateScript::shortMethodImplementedInPrivateScriptMethod(Lo
|
| return false;
|
| v8::HandleScope handleScope(toIsolate(frame));
|
| ScriptForbiddenScope::AllowUserAgentScript script;
|
| - v8::Handle<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| + v8::Local<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| if (contextInPrivateScript.IsEmpty())
|
| return false;
|
| ScriptState* scriptState = ScriptState::from(contextInPrivateScript);
|
| @@ -11220,11 +11220,11 @@ bool V8TestObject::PrivateScript::shortMethodImplementedInPrivateScriptMethod(Lo
|
| return false;
|
|
|
| ScriptState::Scope scope(scriptState);
|
| - v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
| + v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
|
|
| - v8::Handle<v8::Value> *argv = 0;
|
| + v8::Local<v8::Value> *argv = 0;
|
| ExceptionState exceptionState(ExceptionState::ExecutionContext, "shortMethodImplementedInPrivateScript", "TestObject", scriptState->context()->Global(), scriptState->isolate());
|
| - v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, scriptStateInUserScript, "TestObject", "shortMethodImplementedInPrivateScript", holder, 0, argv);
|
| + v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, scriptStateInUserScript, "TestObject", "shortMethodImplementedInPrivateScript", holder, 0, argv);
|
| if (v8Value.IsEmpty())
|
| return false;
|
| TONATIVE_DEFAULT_EXCEPTIONSTATE(int, cppValue, toInt16(v8Value, exceptionState), exceptionState, false);
|
| @@ -11239,7 +11239,7 @@ bool V8TestObject::PrivateScript::shortMethodWithShortArgumentImplementedInPriva
|
| return false;
|
| v8::HandleScope handleScope(toIsolate(frame));
|
| ScriptForbiddenScope::AllowUserAgentScript script;
|
| - v8::Handle<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| + v8::Local<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| if (contextInPrivateScript.IsEmpty())
|
| return false;
|
| ScriptState* scriptState = ScriptState::from(contextInPrivateScript);
|
| @@ -11248,12 +11248,12 @@ bool V8TestObject::PrivateScript::shortMethodWithShortArgumentImplementedInPriva
|
| return false;
|
|
|
| ScriptState::Scope scope(scriptState);
|
| - v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
| + v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
|
|
| - v8::Handle<v8::Value> valueHandle = v8::Integer::New(scriptState->isolate(), value);
|
| - v8::Handle<v8::Value> argv[] = { valueHandle };
|
| + v8::Local<v8::Value> valueHandle = v8::Integer::New(scriptState->isolate(), value);
|
| + v8::Local<v8::Value> argv[] = { valueHandle };
|
| ExceptionState exceptionState(ExceptionState::ExecutionContext, "shortMethodWithShortArgumentImplementedInPrivateScript", "TestObject", scriptState->context()->Global(), scriptState->isolate());
|
| - v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, scriptStateInUserScript, "TestObject", "shortMethodWithShortArgumentImplementedInPrivateScript", holder, 1, argv);
|
| + v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, scriptStateInUserScript, "TestObject", "shortMethodWithShortArgumentImplementedInPrivateScript", holder, 1, argv);
|
| if (v8Value.IsEmpty())
|
| return false;
|
| TONATIVE_DEFAULT_EXCEPTIONSTATE(int, cppValue, toInt16(v8Value, exceptionState), exceptionState, false);
|
| @@ -11268,7 +11268,7 @@ bool V8TestObject::PrivateScript::stringMethodWithStringArgumentImplementedInPri
|
| return false;
|
| v8::HandleScope handleScope(toIsolate(frame));
|
| ScriptForbiddenScope::AllowUserAgentScript script;
|
| - v8::Handle<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| + v8::Local<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| if (contextInPrivateScript.IsEmpty())
|
| return false;
|
| ScriptState* scriptState = ScriptState::from(contextInPrivateScript);
|
| @@ -11277,12 +11277,12 @@ bool V8TestObject::PrivateScript::stringMethodWithStringArgumentImplementedInPri
|
| return false;
|
|
|
| ScriptState::Scope scope(scriptState);
|
| - v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
| + v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
|
|
| - v8::Handle<v8::Value> valueHandle = v8String(scriptState->isolate(), value);
|
| - v8::Handle<v8::Value> argv[] = { valueHandle };
|
| + v8::Local<v8::Value> valueHandle = v8String(scriptState->isolate(), value);
|
| + v8::Local<v8::Value> argv[] = { valueHandle };
|
| ExceptionState exceptionState(ExceptionState::ExecutionContext, "stringMethodWithStringArgumentImplementedInPrivateScript", "TestObject", scriptState->context()->Global(), scriptState->isolate());
|
| - v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, scriptStateInUserScript, "TestObject", "stringMethodWithStringArgumentImplementedInPrivateScript", holder, 1, argv);
|
| + v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, scriptStateInUserScript, "TestObject", "stringMethodWithStringArgumentImplementedInPrivateScript", holder, 1, argv);
|
| if (v8Value.IsEmpty())
|
| return false;
|
| TOSTRING_DEFAULT(V8StringResource<>, cppValue, v8Value, false);
|
| @@ -11297,7 +11297,7 @@ bool V8TestObject::PrivateScript::nodeMethodWithNodeArgumentImplementedInPrivate
|
| return false;
|
| v8::HandleScope handleScope(toIsolate(frame));
|
| ScriptForbiddenScope::AllowUserAgentScript script;
|
| - v8::Handle<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| + v8::Local<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| if (contextInPrivateScript.IsEmpty())
|
| return false;
|
| ScriptState* scriptState = ScriptState::from(contextInPrivateScript);
|
| @@ -11306,12 +11306,12 @@ bool V8TestObject::PrivateScript::nodeMethodWithNodeArgumentImplementedInPrivate
|
| return false;
|
|
|
| ScriptState::Scope scope(scriptState);
|
| - v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
| + v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
|
|
| - v8::Handle<v8::Value> valueHandle = toV8(value, scriptState->context()->Global(), scriptState->isolate());
|
| - v8::Handle<v8::Value> argv[] = { valueHandle };
|
| + v8::Local<v8::Value> valueHandle = toV8(value, scriptState->context()->Global(), scriptState->isolate());
|
| + v8::Local<v8::Value> argv[] = { valueHandle };
|
| ExceptionState exceptionState(ExceptionState::ExecutionContext, "nodeMethodWithNodeArgumentImplementedInPrivateScript", "TestObject", scriptState->context()->Global(), scriptState->isolate());
|
| - v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, scriptStateInUserScript, "TestObject", "nodeMethodWithNodeArgumentImplementedInPrivateScript", holder, 1, argv);
|
| + v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, scriptStateInUserScript, "TestObject", "nodeMethodWithNodeArgumentImplementedInPrivateScript", holder, 1, argv);
|
| if (v8Value.IsEmpty())
|
| return false;
|
| Node* cppValue = V8Node::toImplWithTypeCheck(scriptState->isolate(), v8Value);
|
| @@ -11326,7 +11326,7 @@ bool V8TestObject::PrivateScript::nodeMethodWithVariousArgumentsImplementedInPri
|
| return false;
|
| v8::HandleScope handleScope(toIsolate(frame));
|
| ScriptForbiddenScope::AllowUserAgentScript script;
|
| - v8::Handle<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| + v8::Local<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| if (contextInPrivateScript.IsEmpty())
|
| return false;
|
| ScriptState* scriptState = ScriptState::from(contextInPrivateScript);
|
| @@ -11335,16 +11335,16 @@ bool V8TestObject::PrivateScript::nodeMethodWithVariousArgumentsImplementedInPri
|
| return false;
|
|
|
| ScriptState::Scope scope(scriptState);
|
| - v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
| -
|
| - v8::Handle<v8::Value> documentHandle = toV8(document, scriptState->context()->Global(), scriptState->isolate());
|
| - v8::Handle<v8::Value> nodeHandle = toV8(node, scriptState->context()->Global(), scriptState->isolate());
|
| - v8::Handle<v8::Value> value1Handle = v8::Integer::New(scriptState->isolate(), value1);
|
| - v8::Handle<v8::Value> value2Handle = v8::Number::New(scriptState->isolate(), value2);
|
| - v8::Handle<v8::Value> stringHandle = v8String(scriptState->isolate(), string);
|
| - v8::Handle<v8::Value> argv[] = { documentHandle, nodeHandle, value1Handle, value2Handle, stringHandle };
|
| + v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
| +
|
| + v8::Local<v8::Value> documentHandle = toV8(document, scriptState->context()->Global(), scriptState->isolate());
|
| + v8::Local<v8::Value> nodeHandle = toV8(node, scriptState->context()->Global(), scriptState->isolate());
|
| + v8::Local<v8::Value> value1Handle = v8::Integer::New(scriptState->isolate(), value1);
|
| + v8::Local<v8::Value> value2Handle = v8::Number::New(scriptState->isolate(), value2);
|
| + v8::Local<v8::Value> stringHandle = v8String(scriptState->isolate(), string);
|
| + v8::Local<v8::Value> argv[] = { documentHandle, nodeHandle, value1Handle, value2Handle, stringHandle };
|
| ExceptionState exceptionState(ExceptionState::ExecutionContext, "nodeMethodWithVariousArgumentsImplementedInPrivateScript", "TestObject", scriptState->context()->Global(), scriptState->isolate());
|
| - v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, scriptStateInUserScript, "TestObject", "nodeMethodWithVariousArgumentsImplementedInPrivateScript", holder, 5, argv);
|
| + v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, scriptStateInUserScript, "TestObject", "nodeMethodWithVariousArgumentsImplementedInPrivateScript", holder, 5, argv);
|
| if (v8Value.IsEmpty())
|
| return false;
|
| Node* cppValue = V8Node::toImplWithTypeCheck(scriptState->isolate(), v8Value);
|
| @@ -11359,7 +11359,7 @@ bool V8TestObject::PrivateScript::methodForPrivateScriptOnlyMethod(LocalFrame* f
|
| return false;
|
| v8::HandleScope handleScope(toIsolate(frame));
|
| ScriptForbiddenScope::AllowUserAgentScript script;
|
| - v8::Handle<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| + v8::Local<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| if (contextInPrivateScript.IsEmpty())
|
| return false;
|
| ScriptState* scriptState = ScriptState::from(contextInPrivateScript);
|
| @@ -11368,13 +11368,13 @@ bool V8TestObject::PrivateScript::methodForPrivateScriptOnlyMethod(LocalFrame* f
|
| return false;
|
|
|
| ScriptState::Scope scope(scriptState);
|
| - v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
| + v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
|
|
| - v8::Handle<v8::Value> value1Handle = v8::Integer::New(scriptState->isolate(), value1);
|
| - v8::Handle<v8::Value> value2Handle = v8::Integer::New(scriptState->isolate(), value2);
|
| - v8::Handle<v8::Value> argv[] = { value1Handle, value2Handle };
|
| + v8::Local<v8::Value> value1Handle = v8::Integer::New(scriptState->isolate(), value1);
|
| + v8::Local<v8::Value> value2Handle = v8::Integer::New(scriptState->isolate(), value2);
|
| + v8::Local<v8::Value> argv[] = { value1Handle, value2Handle };
|
| ExceptionState exceptionState(ExceptionState::ExecutionContext, "methodForPrivateScriptOnly", "TestObject", scriptState->context()->Global(), scriptState->isolate());
|
| - v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, scriptStateInUserScript, "TestObject", "methodForPrivateScriptOnly", holder, 2, argv);
|
| + v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, scriptStateInUserScript, "TestObject", "methodForPrivateScriptOnly", holder, 2, argv);
|
| if (v8Value.IsEmpty())
|
| return false;
|
| TONATIVE_DEFAULT_EXCEPTIONSTATE(int, cppValue, toInt16(v8Value, exceptionState), exceptionState, false);
|
| @@ -11389,7 +11389,7 @@ bool V8TestObject::PrivateScript::readonlyShortAttributeAttributeGetter(LocalFra
|
| return false;
|
| v8::HandleScope handleScope(toIsolate(frame));
|
| ScriptForbiddenScope::AllowUserAgentScript script;
|
| - v8::Handle<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| + v8::Local<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| if (contextInPrivateScript.IsEmpty())
|
| return false;
|
| ScriptState* scriptState = ScriptState::from(contextInPrivateScript);
|
| @@ -11398,10 +11398,10 @@ bool V8TestObject::PrivateScript::readonlyShortAttributeAttributeGetter(LocalFra
|
| return false;
|
|
|
| ScriptState::Scope scope(scriptState);
|
| - v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
| + v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
|
|
| ExceptionState exceptionState(ExceptionState::GetterContext, "readonlyShortAttribute", "TestObject", scriptState->context()->Global(), scriptState->isolate());
|
| - v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(scriptState, scriptStateInUserScript, "TestObject", "readonlyShortAttribute", holder);
|
| + v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(scriptState, scriptStateInUserScript, "TestObject", "readonlyShortAttribute", holder);
|
| if (v8Value.IsEmpty())
|
| return false;
|
| TONATIVE_DEFAULT_EXCEPTIONSTATE(int, cppValue, toInt16(v8Value, exceptionState), exceptionState, false);
|
| @@ -11416,7 +11416,7 @@ bool V8TestObject::PrivateScript::shortAttributeAttributeGetter(LocalFrame* fram
|
| return false;
|
| v8::HandleScope handleScope(toIsolate(frame));
|
| ScriptForbiddenScope::AllowUserAgentScript script;
|
| - v8::Handle<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| + v8::Local<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| if (contextInPrivateScript.IsEmpty())
|
| return false;
|
| ScriptState* scriptState = ScriptState::from(contextInPrivateScript);
|
| @@ -11425,10 +11425,10 @@ bool V8TestObject::PrivateScript::shortAttributeAttributeGetter(LocalFrame* fram
|
| return false;
|
|
|
| ScriptState::Scope scope(scriptState);
|
| - v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
| + v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
|
|
| ExceptionState exceptionState(ExceptionState::GetterContext, "shortAttribute", "TestObject", scriptState->context()->Global(), scriptState->isolate());
|
| - v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(scriptState, scriptStateInUserScript, "TestObject", "shortAttribute", holder);
|
| + v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(scriptState, scriptStateInUserScript, "TestObject", "shortAttribute", holder);
|
| if (v8Value.IsEmpty())
|
| return false;
|
| TONATIVE_DEFAULT_EXCEPTIONSTATE(int, cppValue, toInt16(v8Value, exceptionState), exceptionState, false);
|
| @@ -11443,7 +11443,7 @@ bool V8TestObject::PrivateScript::shortAttributeAttributeSetter(LocalFrame* fram
|
| return false;
|
| v8::HandleScope handleScope(toIsolate(frame));
|
| ScriptForbiddenScope::AllowUserAgentScript script;
|
| - v8::Handle<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| + v8::Local<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| if (contextInPrivateScript.IsEmpty())
|
| return false;
|
| ScriptState* scriptState = ScriptState::from(contextInPrivateScript);
|
| @@ -11452,7 +11452,7 @@ bool V8TestObject::PrivateScript::shortAttributeAttributeSetter(LocalFrame* fram
|
| return false;
|
|
|
| ScriptState::Scope scope(scriptState);
|
| - v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
| + v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
|
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "shortAttribute", "TestObject", scriptState->context()->Global(), scriptState->isolate());
|
| return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateInUserScript, "TestObject", "shortAttribute", holder, v8::Integer::New(scriptState->isolate(), cppValue));
|
| @@ -11464,7 +11464,7 @@ bool V8TestObject::PrivateScript::stringAttributeAttributeGetter(LocalFrame* fra
|
| return false;
|
| v8::HandleScope handleScope(toIsolate(frame));
|
| ScriptForbiddenScope::AllowUserAgentScript script;
|
| - v8::Handle<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| + v8::Local<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| if (contextInPrivateScript.IsEmpty())
|
| return false;
|
| ScriptState* scriptState = ScriptState::from(contextInPrivateScript);
|
| @@ -11473,10 +11473,10 @@ bool V8TestObject::PrivateScript::stringAttributeAttributeGetter(LocalFrame* fra
|
| return false;
|
|
|
| ScriptState::Scope scope(scriptState);
|
| - v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
| + v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
|
|
| ExceptionState exceptionState(ExceptionState::GetterContext, "stringAttribute", "TestObject", scriptState->context()->Global(), scriptState->isolate());
|
| - v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(scriptState, scriptStateInUserScript, "TestObject", "stringAttribute", holder);
|
| + v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(scriptState, scriptStateInUserScript, "TestObject", "stringAttribute", holder);
|
| if (v8Value.IsEmpty())
|
| return false;
|
| TOSTRING_DEFAULT(V8StringResource<>, cppValue, v8Value, false);
|
| @@ -11491,7 +11491,7 @@ bool V8TestObject::PrivateScript::stringAttributeAttributeSetter(LocalFrame* fra
|
| return false;
|
| v8::HandleScope handleScope(toIsolate(frame));
|
| ScriptForbiddenScope::AllowUserAgentScript script;
|
| - v8::Handle<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| + v8::Local<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| if (contextInPrivateScript.IsEmpty())
|
| return false;
|
| ScriptState* scriptState = ScriptState::from(contextInPrivateScript);
|
| @@ -11500,7 +11500,7 @@ bool V8TestObject::PrivateScript::stringAttributeAttributeSetter(LocalFrame* fra
|
| return false;
|
|
|
| ScriptState::Scope scope(scriptState);
|
| - v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
| + v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
|
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "stringAttribute", "TestObject", scriptState->context()->Global(), scriptState->isolate());
|
| return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateInUserScript, "TestObject", "stringAttribute", holder, v8String(scriptState->isolate(), cppValue));
|
| @@ -11512,7 +11512,7 @@ bool V8TestObject::PrivateScript::nodeAttributeAttributeGetter(LocalFrame* frame
|
| return false;
|
| v8::HandleScope handleScope(toIsolate(frame));
|
| ScriptForbiddenScope::AllowUserAgentScript script;
|
| - v8::Handle<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| + v8::Local<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| if (contextInPrivateScript.IsEmpty())
|
| return false;
|
| ScriptState* scriptState = ScriptState::from(contextInPrivateScript);
|
| @@ -11521,10 +11521,10 @@ bool V8TestObject::PrivateScript::nodeAttributeAttributeGetter(LocalFrame* frame
|
| return false;
|
|
|
| ScriptState::Scope scope(scriptState);
|
| - v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
| + v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
|
|
| ExceptionState exceptionState(ExceptionState::GetterContext, "nodeAttribute", "TestObject", scriptState->context()->Global(), scriptState->isolate());
|
| - v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(scriptState, scriptStateInUserScript, "TestObject", "nodeAttribute", holder);
|
| + v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(scriptState, scriptStateInUserScript, "TestObject", "nodeAttribute", holder);
|
| if (v8Value.IsEmpty())
|
| return false;
|
| Node* cppValue = V8Node::toImplWithTypeCheck(scriptState->isolate(), v8Value);
|
| @@ -11539,7 +11539,7 @@ bool V8TestObject::PrivateScript::nodeAttributeAttributeSetter(LocalFrame* frame
|
| return false;
|
| v8::HandleScope handleScope(toIsolate(frame));
|
| ScriptForbiddenScope::AllowUserAgentScript script;
|
| - v8::Handle<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| + v8::Local<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| if (contextInPrivateScript.IsEmpty())
|
| return false;
|
| ScriptState* scriptState = ScriptState::from(contextInPrivateScript);
|
| @@ -11548,7 +11548,7 @@ bool V8TestObject::PrivateScript::nodeAttributeAttributeSetter(LocalFrame* frame
|
| return false;
|
|
|
| ScriptState::Scope scope(scriptState);
|
| - v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
| + v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
|
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "nodeAttribute", "TestObject", scriptState->context()->Global(), scriptState->isolate());
|
| return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateInUserScript, "TestObject", "nodeAttribute", holder, toV8(cppValue, scriptState->context()->Global(), scriptState->isolate()));
|
| @@ -11560,7 +11560,7 @@ bool V8TestObject::PrivateScript::attributeForPrivateScriptOnlyAttributeGetter(L
|
| return false;
|
| v8::HandleScope handleScope(toIsolate(frame));
|
| ScriptForbiddenScope::AllowUserAgentScript script;
|
| - v8::Handle<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| + v8::Local<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| if (contextInPrivateScript.IsEmpty())
|
| return false;
|
| ScriptState* scriptState = ScriptState::from(contextInPrivateScript);
|
| @@ -11569,10 +11569,10 @@ bool V8TestObject::PrivateScript::attributeForPrivateScriptOnlyAttributeGetter(L
|
| return false;
|
|
|
| ScriptState::Scope scope(scriptState);
|
| - v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
| + v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
|
|
| ExceptionState exceptionState(ExceptionState::GetterContext, "attributeForPrivateScriptOnly", "TestObject", scriptState->context()->Global(), scriptState->isolate());
|
| - v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(scriptState, scriptStateInUserScript, "TestObject", "attributeForPrivateScriptOnly", holder);
|
| + v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(scriptState, scriptStateInUserScript, "TestObject", "attributeForPrivateScriptOnly", holder);
|
| if (v8Value.IsEmpty())
|
| return false;
|
| TOSTRING_DEFAULT(V8StringResource<>, cppValue, v8Value, false);
|
| @@ -11587,7 +11587,7 @@ bool V8TestObject::PrivateScript::attributeForPrivateScriptOnlyAttributeSetter(L
|
| return false;
|
| v8::HandleScope handleScope(toIsolate(frame));
|
| ScriptForbiddenScope::AllowUserAgentScript script;
|
| - v8::Handle<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| + v8::Local<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| if (contextInPrivateScript.IsEmpty())
|
| return false;
|
| ScriptState* scriptState = ScriptState::from(contextInPrivateScript);
|
| @@ -11596,7 +11596,7 @@ bool V8TestObject::PrivateScript::attributeForPrivateScriptOnlyAttributeSetter(L
|
| return false;
|
|
|
| ScriptState::Scope scope(scriptState);
|
| - v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
| + v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
|
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "attributeForPrivateScriptOnly", "TestObject", scriptState->context()->Global(), scriptState->isolate());
|
| return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateInUserScript, "TestObject", "attributeForPrivateScriptOnly", holder, v8String(scriptState->isolate(), cppValue));
|
| @@ -11608,7 +11608,7 @@ bool V8TestObject::PrivateScript::enumForPrivateScriptAttributeGetter(LocalFrame
|
| return false;
|
| v8::HandleScope handleScope(toIsolate(frame));
|
| ScriptForbiddenScope::AllowUserAgentScript script;
|
| - v8::Handle<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| + v8::Local<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| if (contextInPrivateScript.IsEmpty())
|
| return false;
|
| ScriptState* scriptState = ScriptState::from(contextInPrivateScript);
|
| @@ -11617,10 +11617,10 @@ bool V8TestObject::PrivateScript::enumForPrivateScriptAttributeGetter(LocalFrame
|
| return false;
|
|
|
| ScriptState::Scope scope(scriptState);
|
| - v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
| + v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
|
|
| ExceptionState exceptionState(ExceptionState::GetterContext, "enumForPrivateScript", "TestObject", scriptState->context()->Global(), scriptState->isolate());
|
| - v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(scriptState, scriptStateInUserScript, "TestObject", "enumForPrivateScript", holder);
|
| + v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(scriptState, scriptStateInUserScript, "TestObject", "enumForPrivateScript", holder);
|
| if (v8Value.IsEmpty())
|
| return false;
|
| TOSTRING_DEFAULT(V8StringResource<>, cppValue, v8Value, false);
|
| @@ -11635,7 +11635,7 @@ bool V8TestObject::PrivateScript::enumForPrivateScriptAttributeSetter(LocalFrame
|
| return false;
|
| v8::HandleScope handleScope(toIsolate(frame));
|
| ScriptForbiddenScope::AllowUserAgentScript script;
|
| - v8::Handle<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| + v8::Local<v8::Context> contextInPrivateScript = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| if (contextInPrivateScript.IsEmpty())
|
| return false;
|
| ScriptState* scriptState = ScriptState::from(contextInPrivateScript);
|
| @@ -11644,7 +11644,7 @@ bool V8TestObject::PrivateScript::enumForPrivateScriptAttributeSetter(LocalFrame
|
| return false;
|
|
|
| ScriptState::Scope scope(scriptState);
|
| - v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
| + v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
|
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivateScript", "TestObject", scriptState->context()->Global(), scriptState->isolate());
|
| return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateInUserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState->isolate(), cppValue));
|
|
|