Index: Source/bindings/tests/results/V8TestInterfacePython.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterfacePython.cpp b/Source/bindings/tests/results/V8TestInterfacePython.cpp |
index d00193c7c720aed0f223adec580435e57cda5ca3..b52dc85d2586c92ccbb2b4eea4867c7854c51171 100644 |
--- a/Source/bindings/tests/results/V8TestInterfacePython.cpp |
+++ b/Source/bindings/tests/results/V8TestInterfacePython.cpp |
@@ -41,7 +41,6 @@ |
#include "V8TestInterfaceEmpty.h" |
#include "bindings/tests/idls/TestImplements.h" |
#include "bindings/tests/idls/TestImplements2Implementation.h" |
-#include "bindings/tests/idls/TestImplements3.h" |
#include "bindings/tests/idls/TestPartialInterfacePython.h" |
#include "bindings/tests/idls/TestPartialInterfacePythonImplementation.h" |
#include "bindings/v8/ExceptionState.h" |
@@ -451,58 +450,6 @@ static void implements2StringAttributeAttributeSetterCallback(v8::Local<v8::Stri |
TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
} |
-static void implements3StringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) |
-{ |
- TestInterfacePythonImplementation* imp = V8TestInterfacePython::toNative(info.Holder()); |
- v8SetReturnValueString(info, TestImplements3::implements3StringAttribute(imp), info.GetIsolate()); |
-} |
- |
-static void implements3StringAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
-{ |
- TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
- TestInterfacePythonImplementationV8Internal::implements3StringAttributeAttributeGetter(info); |
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
-} |
- |
-static void implements3StringAttributeAttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
-{ |
- TestInterfacePythonImplementation* imp = V8TestInterfacePython::toNative(info.Holder()); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, jsValue); |
- TestImplements3::setImplements3StringAttribute(imp, cppValue); |
-} |
- |
-static void implements3StringAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
-{ |
- TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
- TestInterfacePythonImplementationV8Internal::implements3StringAttributeAttributeSetter(jsValue, info); |
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
-} |
- |
-static void implements3StaticStringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) |
-{ |
- v8SetReturnValueString(info, TestImplements3::implements3StaticStringAttribute(), info.GetIsolate()); |
-} |
- |
-static void implements3StaticStringAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
-{ |
- TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
- TestInterfacePythonImplementationV8Internal::implements3StaticStringAttributeAttributeGetter(info); |
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
-} |
- |
-static void implements3StaticStringAttributeAttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
-{ |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, jsValue); |
- TestImplements3::setImplements3StaticStringAttribute(cppValue); |
-} |
- |
-static void implements3StaticStringAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
-{ |
- TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
- TestInterfacePythonImplementationV8Internal::implements3StaticStringAttributeAttributeSetter(jsValue, info); |
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
-} |
- |
#if ENABLE(PARTIAL_CONDITION) |
static void partialLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) |
{ |
@@ -808,31 +755,6 @@ static void implements2VoidMethodMethodCallback(const v8::FunctionCallbackInfo<v |
TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
} |
-static void implements3VoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
-{ |
- TestInterfacePythonImplementation* imp = V8TestInterfacePython::toNative(info.Holder()); |
- TestImplements3::implements3VoidMethod(imp); |
-} |
- |
-static void implements3VoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) |
-{ |
- TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
- TestInterfacePythonImplementationV8Internal::implements3VoidMethodMethod(info); |
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
-} |
- |
-static void implements3StaticVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
-{ |
- TestImplements3::implements3StaticVoidMethod(); |
-} |
- |
-static void implements3StaticVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) |
-{ |
- TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
- TestInterfacePythonImplementationV8Internal::implements3StaticVoidMethodMethod(info); |
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
-} |
- |
#if ENABLE(PARTIAL_CONDITION) |
static void partialVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
@@ -960,7 +882,6 @@ static const V8DOMConfiguration::AttributeConfiguration V8TestInterfacePythonAtt |
{"implementsStringAttribute", TestInterfacePythonImplementationV8Internal::implementsStringAttributeAttributeGetterCallback, TestInterfacePythonImplementationV8Internal::implementsStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
{"implementsNodeAttribute", TestInterfacePythonImplementationV8Internal::implementsNodeAttributeAttributeGetterCallback, TestInterfacePythonImplementationV8Internal::implementsNodeAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
{"implementsEventHandlerAttribute", TestInterfacePythonImplementationV8Internal::implementsEventHandlerAttributeAttributeGetterCallback, TestInterfacePythonImplementationV8Internal::implementsEventHandlerAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
- {"implements3StringAttribute", TestInterfacePythonImplementationV8Internal::implements3StringAttributeAttributeGetterCallback, TestInterfacePythonImplementationV8Internal::implements3StringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
{"partial2LongAttribute", TestInterfacePythonImplementationV8Internal::partial2LongAttributeAttributeGetterCallback, TestInterfacePythonImplementationV8Internal::partial2LongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
}; |
@@ -970,7 +891,6 @@ static const V8DOMConfiguration::MethodConfiguration V8TestInterfacePythonMethod |
{"implementsVoidMethod", TestInterfacePythonImplementationV8Internal::implementsVoidMethodMethodCallback, 0, 0}, |
{"implementsComplexMethod", TestInterfacePythonImplementationV8Internal::implementsComplexMethodMethodCallback, 0, 2}, |
{"implementsCustomVoidMethod", TestInterfacePythonImplementationV8Internal::implementsCustomVoidMethodMethodCallback, 0, 0}, |
- {"implements3VoidMethod", TestInterfacePythonImplementationV8Internal::implements3VoidMethodMethodCallback, 0, 0}, |
{"partial2VoidMethod", TestInterfacePythonImplementationV8Internal::partial2VoidMethodMethodCallback, 0, 0}, |
}; |
@@ -1033,7 +953,6 @@ static void configureV8TestInterfacePythonTemplate(v8::Handle<v8::FunctionTempla |
functionTemplate->Set(v8AtomicString(isolate, "implementsStaticVoidMethod"), v8::FunctionTemplate::New(isolate, TestInterfacePythonImplementationV8Internal::implementsStaticVoidMethodMethodCallback, v8Undefined(), v8::Local<v8::Signature>(), 0)); |
if (RuntimeEnabledFeatures::implements2FeatureNameEnabled()) |
prototypeTemplate->Set(v8AtomicString(isolate, "implements2VoidMethod"), v8::FunctionTemplate::New(isolate, TestInterfacePythonImplementationV8Internal::implements2VoidMethodMethodCallback, v8Undefined(), defaultSignature, 0)); |
- functionTemplate->Set(v8AtomicString(isolate, "implements3StaticVoidMethod"), v8::FunctionTemplate::New(isolate, TestInterfacePythonImplementationV8Internal::implements3StaticVoidMethodMethodCallback, v8Undefined(), v8::Local<v8::Signature>(), 0)); |
#if ENABLE(PARTIAL_CONDITION) |
if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) |
prototypeTemplate->Set(v8AtomicString(isolate, "partialVoidMethod"), v8::FunctionTemplate::New(isolate, TestInterfacePythonImplementationV8Internal::partialVoidMethodMethodCallback, v8Undefined(), defaultSignature, 0)); |
@@ -1055,7 +974,6 @@ static void configureV8TestInterfacePythonTemplate(v8::Handle<v8::FunctionTempla |
functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "implementsStaticReadOnlyLongAttribute"), TestInterfacePythonImplementationV8Internal::implementsStaticReadOnlyLongAttributeAttributeGetterCallback, 0, v8::External::New(isolate, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::AccessorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); |
functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "implementsStaticStringAttribute"), TestInterfacePythonImplementationV8Internal::implementsStaticStringAttributeAttributeGetterCallback, TestInterfacePythonImplementationV8Internal::implementsStaticStringAttributeAttributeSetterCallback, v8::External::New(isolate, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::AccessorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); |
functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "implements2StaticStringAttribute"), TestInterfacePythonImplementationV8Internal::implements2StaticStringAttributeAttributeGetterCallback, TestInterfacePythonImplementationV8Internal::implements2StaticStringAttributeAttributeSetterCallback, v8::External::New(isolate, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::AccessorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); |
- functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "implements3StaticStringAttribute"), TestInterfacePythonImplementationV8Internal::implements3StaticStringAttributeAttributeGetterCallback, TestInterfacePythonImplementationV8Internal::implements3StaticStringAttributeAttributeSetterCallback, v8::External::New(isolate, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::AccessorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); |
#if ENABLE(PARTIAL_CONDITION) |
functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "partialStaticLongAttribute"), TestInterfacePythonImplementationV8Internal::partialStaticLongAttributeAttributeGetterCallback, TestInterfacePythonImplementationV8Internal::partialStaticLongAttributeAttributeSetterCallback, v8::External::New(isolate, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::AccessorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); |
#endif // ENABLE(PARTIAL_CONDITION) |