| Index: Source/bindings/tests/results/V8TestObjectPython.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestObjectPython.cpp b/Source/bindings/tests/results/V8TestObjectPython.cpp
|
| index 6eb28c30215ba752005434cd9b4c030209bced79..6aa9d1847a001c98fb4107001d0bf799b835d308 100644
|
| --- a/Source/bindings/tests/results/V8TestObjectPython.cpp
|
| +++ b/Source/bindings/tests/results/V8TestObjectPython.cpp
|
| @@ -78,7 +78,6 @@ static void readonlyDateAttributeAttributeGetter(v8::Local<v8::String> name, con
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValue(info, v8DateOrNull(imp->readonlyDateAttribute(), info.GetIsolate()));
|
| - return;
|
| }
|
|
|
| static void readonlyDateAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -92,7 +91,6 @@ static void readonlyStringAttributeAttributeGetter(v8::Local<v8::String> name, c
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValueString(info, imp->readonlyStringAttribute(), info.GetIsolate());
|
| - return;
|
| }
|
|
|
| static void readonlyStringAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -106,7 +104,6 @@ static void readonlyDOMTimeStampAttributeAttributeGetter(v8::Local<v8::String> n
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValue(info, static_cast<double>(imp->readonlyDOMTimeStampAttribute()));
|
| - return;
|
| }
|
|
|
| static void readonlyDOMTimeStampAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -120,7 +117,6 @@ static void readonlyBooleanAttributeAttributeGetter(v8::Local<v8::String> name,
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValueBool(info, imp->readonlyBooleanAttribute());
|
| - return;
|
| }
|
|
|
| static void readonlyBooleanAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -134,7 +130,6 @@ static void readonlyByteAttributeAttributeGetter(v8::Local<v8::String> name, con
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValueInt(info, imp->readonlyByteAttribute());
|
| - return;
|
| }
|
|
|
| static void readonlyByteAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -148,7 +143,6 @@ static void readonlyDoubleAttributeAttributeGetter(v8::Local<v8::String> name, c
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValue(info, imp->readonlyDoubleAttribute());
|
| - return;
|
| }
|
|
|
| static void readonlyDoubleAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -162,7 +156,6 @@ static void readonlyFloatAttributeAttributeGetter(v8::Local<v8::String> name, co
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValue(info, imp->readonlyFloatAttribute());
|
| - return;
|
| }
|
|
|
| static void readonlyFloatAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -176,7 +169,6 @@ static void readonlyLongAttributeAttributeGetter(v8::Local<v8::String> name, con
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValueInt(info, imp->readonlyLongAttribute());
|
| - return;
|
| }
|
|
|
| static void readonlyLongAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -190,7 +182,6 @@ static void readonlyLongLongAttributeAttributeGetter(v8::Local<v8::String> name,
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValue(info, static_cast<double>(imp->readonlyLongLongAttribute()));
|
| - return;
|
| }
|
|
|
| static void readonlyLongLongAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -204,7 +195,6 @@ static void readonlyOctetAttributeAttributeGetter(v8::Local<v8::String> name, co
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValueUnsigned(info, imp->readonlyOctetAttribute());
|
| - return;
|
| }
|
|
|
| static void readonlyOctetAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -218,7 +208,6 @@ static void readonlyShortAttributeAttributeGetter(v8::Local<v8::String> name, co
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValueInt(info, imp->readonlyShortAttribute());
|
| - return;
|
| }
|
|
|
| static void readonlyShortAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -232,7 +221,6 @@ static void readonlyUnsignedLongAttributeAttributeGetter(v8::Local<v8::String> n
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValueUnsigned(info, imp->readonlyUnsignedLongAttribute());
|
| - return;
|
| }
|
|
|
| static void readonlyUnsignedLongAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -246,7 +234,6 @@ static void readonlyUnsignedLongLongAttributeAttributeGetter(v8::Local<v8::Strin
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValue(info, static_cast<double>(imp->readonlyUnsignedLongLongAttribute()));
|
| - return;
|
| }
|
|
|
| static void readonlyUnsignedLongLongAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -260,7 +247,6 @@ static void readonlyUnsignedShortAttributeAttributeGetter(v8::Local<v8::String>
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValueUnsigned(info, imp->readonlyUnsignedShortAttribute());
|
| - return;
|
| }
|
|
|
| static void readonlyUnsignedShortAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -274,7 +260,6 @@ static void readonlyNodeFilterAttributeAttributeGetter(v8::Local<v8::String> nam
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValueFast(info, imp->readonlyNodeFilterAttribute(), imp);
|
| - return;
|
| }
|
|
|
| static void readonlyNodeFilterAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -288,7 +273,6 @@ static void readonlySerializedScriptValueAttributeAttributeGetter(v8::Local<v8::
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValue(info, imp->readonlySerializedScriptValueAttribute() ? imp->readonlySerializedScriptValueAttribute()->deserialize() : v8::Handle<v8::Value>(v8::Null(info.GetIsolate())));
|
| - return;
|
| }
|
|
|
| static void readonlySerializedScriptValueAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -302,7 +286,6 @@ static void readonlyAnyAttributeAttributeGetter(v8::Local<v8::String> name, cons
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValue(info, imp->readonlyAnyAttribute().v8Value());
|
| - return;
|
| }
|
|
|
| static void readonlyAnyAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -316,7 +299,6 @@ static void readonlyDocumentAttributeAttributeGetter(v8::Local<v8::String> name,
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValueFast(info, imp->readonlyDocumentAttribute(), imp);
|
| - return;
|
| }
|
|
|
| static void readonlyDocumentAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -330,7 +312,6 @@ static void readonlyDocumentFragmentAttributeAttributeGetter(v8::Local<v8::Strin
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValueFast(info, imp->readonlyDocumentFragmentAttribute(), imp);
|
| - return;
|
| }
|
|
|
| static void readonlyDocumentFragmentAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -344,7 +325,6 @@ static void readonlyDocumentTypeAttributeAttributeGetter(v8::Local<v8::String> n
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValueFast(info, imp->readonlyDocumentTypeAttribute(), imp);
|
| - return;
|
| }
|
|
|
| static void readonlyDocumentTypeAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -358,7 +338,6 @@ static void readonlyElementAttributeAttributeGetter(v8::Local<v8::String> name,
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValueFast(info, imp->readonlyElementAttribute(), imp);
|
| - return;
|
| }
|
|
|
| static void readonlyElementAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -372,7 +351,6 @@ static void readonlyEntityAttributeAttributeGetter(v8::Local<v8::String> name, c
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValueFast(info, imp->readonlyEntityAttribute(), imp);
|
| - return;
|
| }
|
|
|
| static void readonlyEntityAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -386,7 +364,6 @@ static void readonlyNodeAttributeAttributeGetter(v8::Local<v8::String> name, con
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValueFast(info, imp->readonlyNodeAttribute(), imp);
|
| - return;
|
| }
|
|
|
| static void readonlyNodeAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -400,7 +377,6 @@ static void readonlyShadowRootAttributeAttributeGetter(v8::Local<v8::String> nam
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValueFast(info, imp->readonlyShadowRootAttribute(), imp);
|
| - return;
|
| }
|
|
|
| static void readonlyShadowRootAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -414,7 +390,6 @@ static void selfAttributeGetter(v8::Local<v8::String> name, const v8::PropertyCa
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValueFast(info, imp->self(), imp);
|
| - return;
|
| }
|
|
|
| static void selfAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -428,7 +403,6 @@ static void readonlySerializedScriptValueAttributeAttributeGetter(v8::Local<v8::
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValue(info, imp->readonlySerializedScriptValueAttribute() ? imp->readonlySerializedScriptValueAttribute()->deserialize() : v8::Handle<v8::Value>(v8::Null(info.GetIsolate())));
|
| - return;
|
| }
|
|
|
| static void readonlySerializedScriptValueAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -442,7 +416,6 @@ static void readonlyWindowAttributeAttributeGetter(v8::Local<v8::String> name, c
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValueFast(info, imp->readonlyWindowAttribute(), imp);
|
| - return;
|
| }
|
|
|
| static void readonlyWindowAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -456,7 +429,6 @@ static void readonlyHTMLCollectionAttributeAttributeGetter(v8::Local<v8::String>
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValueFast(info, imp->readonlyHTMLCollectionAttribute(), imp);
|
| - return;
|
| }
|
|
|
| static void readonlyHTMLCollectionAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -470,7 +442,6 @@ static void readonlyHTMLElementAttributeAttributeGetter(v8::Local<v8::String> na
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValueFast(info, imp->readonlyHTMLElementAttribute(), imp);
|
| - return;
|
| }
|
|
|
| static void readonlyHTMLElementAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -484,7 +455,6 @@ static void readonlyStringArrayAttributeAttributeGetter(v8::Local<v8::String> na
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValue(info, v8Array(imp->readonlyStringArrayAttribute(), info.GetIsolate()));
|
| - return;
|
| }
|
|
|
| static void readonlyStringArrayAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -498,7 +468,6 @@ static void readonlyTestInterfaceEmptyArrayAttributeAttributeGetter(v8::Local<v8
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValue(info, v8Array(imp->readonlyTestInterfaceEmptyArrayAttribute(), info.GetIsolate()));
|
| - return;
|
| }
|
|
|
| static void readonlyTestInterfaceEmptyArrayAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -512,7 +481,6 @@ static void readonlyFloatArrayAttributeAttributeGetter(v8::Local<v8::String> nam
|
| {
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| v8SetReturnValue(info, v8Array(imp->readonlyFloatArrayAttribute(), info.GetIsolate()));
|
| - return;
|
| }
|
|
|
| static void readonlyFloatArrayAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -532,7 +500,6 @@ static void readonlyNullableStringAttributeAttributeGetter(v8::Local<v8::String>
|
| return;
|
| }
|
| v8SetReturnValueString(info, value, info.GetIsolate());
|
| - return;
|
| }
|
|
|
| static void readonlyNullableStringAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -552,7 +519,6 @@ static void readonlyNullableLongAttributeAttributeGetter(v8::Local<v8::String> n
|
| return;
|
| }
|
| v8SetReturnValueInt(info, value);
|
| - return;
|
| }
|
|
|
| static void readonlyNullableLongAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -565,7 +531,6 @@ static void readonlyNullableLongAttributeAttributeGetterCallback(v8::Local<v8::S
|
| static void staticReadonlyStringAttributeAttributeGetter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| v8SetReturnValueString(info, TestObjectPython::staticReadonlyStringAttribute(), info.GetIsolate());
|
| - return;
|
| }
|
|
|
| static void staticReadonlyStringAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -578,7 +543,6 @@ static void staticReadonlyStringAttributeAttributeGetterCallback(v8::Local<v8::S
|
| static void staticReadonlyLongAttributeAttributeGetter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| v8SetReturnValueInt(info, TestObjectPython::staticReadonlyLongAttribute());
|
| - return;
|
| }
|
|
|
| static void staticReadonlyLongAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
|
|