Index: Source/bindings/tests/results/V8TestInterface.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterface.cpp b/Source/bindings/tests/results/V8TestInterface.cpp |
index 913540f24f90963e7732811bb4f836d439413a4d..a5e4550a797bfd93f3737d4caac9d057ea81f75f 100644 |
--- a/Source/bindings/tests/results/V8TestInterface.cpp |
+++ b/Source/bindings/tests/results/V8TestInterface.cpp |
@@ -76,16 +76,16 @@ static void implementsStaticStringAttributeAttributeGetterCallback(v8::Local<v8: |
TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
} |
-static void implementsStaticStringAttributeAttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
+static void implementsStaticStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
{ |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, jsValue); |
+ V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
TestImplements::setImplementsStaticStringAttribute(cppValue); |
} |
-static void implementsStaticStringAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
+static void implementsStaticStringAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
{ |
TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
- TestInterfaceV8Internal::implementsStaticStringAttributeAttributeSetter(jsValue, info); |
+ TestInterfaceV8Internal::implementsStaticStringAttributeAttributeSetter(v8Value, info); |
TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
} |
@@ -119,19 +119,19 @@ static void implementsStringAttributeAttributeGetterCallback(v8::Local<v8::Strin |
TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
} |
-static void implementsStringAttributeAttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
+static void implementsStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestInterface* impl = V8TestInterface::toNative(holder); |
ASSERT(impl); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, jsValue); |
+ V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
TestImplements::setImplementsStringAttribute(*impl, cppValue); |
} |
-static void implementsStringAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
+static void implementsStringAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
{ |
TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
- TestInterfaceV8Internal::implementsStringAttributeAttributeSetter(jsValue, info); |
+ TestInterfaceV8Internal::implementsStringAttributeAttributeSetter(v8Value, info); |
TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
} |
@@ -150,19 +150,19 @@ static void implementsNodeAttributeAttributeGetterCallback(v8::Local<v8::String> |
TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
} |
-static void implementsNodeAttributeAttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
+static void implementsNodeAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestInterface* impl = V8TestInterface::toNative(holder); |
ASSERT(impl); |
- V8TRYCATCH_VOID(Node*, cppValue, V8Node::toNativeWithTypeCheck(info.GetIsolate(), jsValue)); |
+ V8TRYCATCH_VOID(Node*, cppValue, V8Node::toNativeWithTypeCheck(info.GetIsolate(), v8Value)); |
TestImplements::setImplementsNodeAttribute(*impl, WTF::getPtr(cppValue)); |
} |
-static void implementsNodeAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
+static void implementsNodeAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
{ |
TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
- TestInterfaceV8Internal::implementsNodeAttributeAttributeSetter(jsValue, info); |
+ TestInterfaceV8Internal::implementsNodeAttributeAttributeSetter(v8Value, info); |
TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
} |
@@ -171,8 +171,8 @@ static void implementsEventHandlerAttributeAttributeGetter(const v8::PropertyCal |
v8::Handle<v8::Object> holder = info.Holder(); |
TestInterface* impl = V8TestInterface::toNative(holder); |
ASSERT(impl); |
- EventListener* jsValue = TestImplements::implementsEventHandlerAttribute(*impl); |
- v8SetReturnValue(info, jsValue ? v8::Handle<v8::Value>(V8AbstractEventListener::cast(jsValue)->getListenerObject(impl->executionContext())) : v8::Handle<v8::Value>(v8::Null(info.GetIsolate()))); |
+ EventListener* v8Value = TestImplements::implementsEventHandlerAttribute(*impl); |
+ v8SetReturnValue(info, v8Value ? v8::Handle<v8::Value>(V8AbstractEventListener::cast(v8Value)->getListenerObject(impl->executionContext())) : v8::Handle<v8::Value>(v8::Null(info.GetIsolate()))); |
} |
static void implementsEventHandlerAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
@@ -182,19 +182,19 @@ static void implementsEventHandlerAttributeAttributeGetterCallback(v8::Local<v8: |
TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
} |
-static void implementsEventHandlerAttributeAttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
+static void implementsEventHandlerAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestInterface* impl = V8TestInterface::toNative(holder); |
ASSERT(impl); |
- moveEventListenerToNewWrapper(holder, TestImplements::implementsEventHandlerAttribute(*impl), jsValue, V8TestInterface::eventListenerCacheIndex, info.GetIsolate()); |
- TestImplements::setImplementsEventHandlerAttribute(*impl, V8EventListenerList::getEventListener(jsValue, true, ListenerFindOrCreate)); |
+ moveEventListenerToNewWrapper(holder, TestImplements::implementsEventHandlerAttribute(*impl), v8Value, V8TestInterface::eventListenerCacheIndex, info.GetIsolate()); |
+ TestImplements::setImplementsEventHandlerAttribute(*impl, V8EventListenerList::getEventListener(v8Value, true, ListenerFindOrCreate)); |
} |
-static void implementsEventHandlerAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
+static void implementsEventHandlerAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
{ |
TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
- TestInterfaceV8Internal::implementsEventHandlerAttributeAttributeSetter(jsValue, info); |
+ TestInterfaceV8Internal::implementsEventHandlerAttributeAttributeSetter(v8Value, info); |
TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
} |
@@ -213,19 +213,19 @@ static void implementsRuntimeEnabledNodeAttributeAttributeGetterCallback(v8::Loc |
TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
} |
-static void implementsRuntimeEnabledNodeAttributeAttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
+static void implementsRuntimeEnabledNodeAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestInterface* impl = V8TestInterface::toNative(holder); |
ASSERT(impl); |
- V8TRYCATCH_VOID(Node*, cppValue, V8Node::toNativeWithTypeCheck(info.GetIsolate(), jsValue)); |
+ V8TRYCATCH_VOID(Node*, cppValue, V8Node::toNativeWithTypeCheck(info.GetIsolate(), v8Value)); |
TestImplements::setImplementsRuntimeEnabledNodeAttribute(*impl, WTF::getPtr(cppValue)); |
} |
-static void implementsRuntimeEnabledNodeAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
+static void implementsRuntimeEnabledNodeAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
{ |
TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
- TestInterfaceV8Internal::implementsRuntimeEnabledNodeAttributeAttributeSetter(jsValue, info); |
+ TestInterfaceV8Internal::implementsRuntimeEnabledNodeAttributeAttributeSetter(v8Value, info); |
TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
} |
@@ -244,19 +244,19 @@ static void implementsPerContextEnabledNodeAttributeAttributeGetterCallback(v8:: |
TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
} |
-static void implementsPerContextEnabledNodeAttributeAttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
+static void implementsPerContextEnabledNodeAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestInterface* impl = V8TestInterface::toNative(holder); |
ASSERT(impl); |
- V8TRYCATCH_VOID(Node*, cppValue, V8Node::toNativeWithTypeCheck(info.GetIsolate(), jsValue)); |
+ V8TRYCATCH_VOID(Node*, cppValue, V8Node::toNativeWithTypeCheck(info.GetIsolate(), v8Value)); |
TestImplements::setImplementsPerContextEnabledNodeAttribute(*impl, WTF::getPtr(cppValue)); |
} |
-static void implementsPerContextEnabledNodeAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
+static void implementsPerContextEnabledNodeAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
{ |
TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
- TestInterfaceV8Internal::implementsPerContextEnabledNodeAttributeAttributeSetter(jsValue, info); |
+ TestInterfaceV8Internal::implementsPerContextEnabledNodeAttributeAttributeSetter(v8Value, info); |
TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
} |
@@ -293,18 +293,18 @@ static void supplementalStaticAttrAttributeGetterCallback(v8::Local<v8::String>, |
#endif // ENABLE(CONDITION_PARTIAL) |
#if ENABLE(CONDITION_PARTIAL) |
-static void supplementalStaticAttrAttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
+static void supplementalStaticAttrAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
{ |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, jsValue); |
+ V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
TestPartialInterface::setSupplementalStaticAttr(cppValue); |
} |
#endif // ENABLE(CONDITION_PARTIAL) |
#if ENABLE(CONDITION_PARTIAL) |
-static void supplementalStaticAttrAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
+static void supplementalStaticAttrAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
{ |
TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
- TestInterfaceV8Internal::supplementalStaticAttrAttributeSetter(jsValue, info); |
+ TestInterfaceV8Internal::supplementalStaticAttrAttributeSetter(v8Value, info); |
TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
} |
#endif // ENABLE(CONDITION_PARTIAL) |
@@ -348,21 +348,21 @@ static void supplementalStr2AttributeGetterCallback(v8::Local<v8::String>, const |
#endif // ENABLE(CONDITION_PARTIAL) |
#if ENABLE(CONDITION_PARTIAL) |
-static void supplementalStr2AttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
+static void supplementalStr2AttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestInterface* impl = V8TestInterface::toNative(holder); |
ASSERT(impl); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, jsValue); |
+ V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value); |
TestPartialInterface::setSupplementalStr2(*impl, cppValue); |
} |
#endif // ENABLE(CONDITION_PARTIAL) |
#if ENABLE(CONDITION_PARTIAL) |
-static void supplementalStr2AttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
+static void supplementalStr2AttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
{ |
TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
- TestInterfaceV8Internal::supplementalStr2AttributeSetter(jsValue, info); |
+ TestInterfaceV8Internal::supplementalStr2AttributeSetter(v8Value, info); |
TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
} |
#endif // ENABLE(CONDITION_PARTIAL) |
@@ -387,21 +387,21 @@ static void supplementalNodeAttributeGetterCallback(v8::Local<v8::String>, const |
#endif // ENABLE(CONDITION_PARTIAL) |
#if ENABLE(CONDITION_PARTIAL) |
-static void supplementalNodeAttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
+static void supplementalNodeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestInterface* impl = V8TestInterface::toNative(holder); |
ASSERT(impl); |
- V8TRYCATCH_VOID(Node*, cppValue, V8Node::toNativeWithTypeCheck(info.GetIsolate(), jsValue)); |
+ V8TRYCATCH_VOID(Node*, cppValue, V8Node::toNativeWithTypeCheck(info.GetIsolate(), v8Value)); |
TestPartialInterface::setSupplementalNode(*impl, WTF::getPtr(cppValue)); |
} |
#endif // ENABLE(CONDITION_PARTIAL) |
#if ENABLE(CONDITION_PARTIAL) |
-static void supplementalNodeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
+static void supplementalNodeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
{ |
TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
- TestInterfaceV8Internal::supplementalNodeAttributeSetter(jsValue, info); |
+ TestInterfaceV8Internal::supplementalNodeAttributeSetter(v8Value, info); |
TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
} |
#endif // ENABLE(CONDITION_PARTIAL) |
@@ -426,21 +426,21 @@ static void Node13AttributeGetterCallback(v8::Local<v8::String>, const v8::Prope |
#endif // ENABLE(CONDITION_PARTIAL) |
#if ENABLE(CONDITION_PARTIAL) |
-static void Node13AttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
+static void Node13AttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestInterface* impl = V8TestInterface::toNative(holder); |
ASSERT(impl); |
- V8TRYCATCH_VOID(Node*, cppValue, V8Node::toNativeWithTypeCheck(info.GetIsolate(), jsValue)); |
+ V8TRYCATCH_VOID(Node*, cppValue, V8Node::toNativeWithTypeCheck(info.GetIsolate(), v8Value)); |
TestPartialInterface::setNode13(*impl, WTF::getPtr(cppValue)); |
} |
#endif // ENABLE(CONDITION_PARTIAL) |
#if ENABLE(CONDITION_PARTIAL) |
-static void Node13AttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
+static void Node13AttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
{ |
TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
- TestInterfaceV8Internal::Node13AttributeSetter(jsValue, info); |
+ TestInterfaceV8Internal::Node13AttributeSetter(v8Value, info); |
TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
} |
#endif // ENABLE(CONDITION_PARTIAL) |
@@ -663,10 +663,10 @@ static void namedPropertyGetterCallback(v8::Local<v8::String> name, const v8::Pr |
TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
} |
-static void namedPropertySetterCallback(v8::Local<v8::String> name, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<v8::Value>& info) |
+static void namedPropertySetterCallback(v8::Local<v8::String> name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info) |
{ |
TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMNamedProperty"); |
- V8TestInterface::namedPropertySetterCustom(name, jsValue, info); |
+ V8TestInterface::namedPropertySetterCustom(name, v8Value, info); |
TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
} |
@@ -846,14 +846,14 @@ v8::Handle<v8::FunctionTemplate> V8TestInterface::domTemplate(v8::Isolate* isola |
return result; |
} |
-bool V8TestInterface::hasInstance(v8::Handle<v8::Value> jsValue, v8::Isolate* isolate) |
+bool V8TestInterface::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) |
{ |
- return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, jsValue); |
+ return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value); |
} |
-v8::Handle<v8::Object> V8TestInterface::findInstanceInPrototypeChain(v8::Handle<v8::Value> jsValue, v8::Isolate* isolate) |
+v8::Handle<v8::Object> V8TestInterface::findInstanceInPrototypeChain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) |
{ |
- return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, jsValue); |
+ return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value); |
} |
TestInterface* V8TestInterface::toNativeWithTypeCheck(v8::Isolate* isolate, v8::Handle<v8::Value> value) |