Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Side by Side Diff: Source/bindings/tests/results/V8TestObjectPython.cpp

Issue 52353003: IDL compiler: 3 more special types for methods (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revised Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/bindings/tests/idls/TestObjectPython.idl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 This file is part of the Blink open source project. 2 This file is part of the Blink open source project.
3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! 3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY!
4 4
5 This library is free software; you can redistribute it and/or 5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public 6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either 7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version. 8 version 2 of the License, or (at your option) any later version.
9 9
10 This library is distributed in the hope that it will be useful, 10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details. 13 Library General Public License for more details.
14 14
15 You should have received a copy of the GNU Library General Public License 15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to 16 along with this library; see the file COPYING.LIB. If not, write to
17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA. 18 Boston, MA 02111-1307, USA.
19 */ 19 */
20 20
21 #include "config.h" 21 #include "config.h"
22 #include "V8TestObjectPython.h" 22 #include "V8TestObjectPython.h"
23 23
24 #include "HTMLNames.h" 24 #include "HTMLNames.h"
25 #include "RuntimeEnabledFeatures.h" 25 #include "RuntimeEnabledFeatures.h"
26 #include "V8Attr.h" 26 #include "V8Attr.h"
27 #include "V8CompareHow.h"
27 #include "V8DOMStringList.h" 28 #include "V8DOMStringList.h"
29 #include "V8Dictionary.h"
28 #include "V8Document.h" 30 #include "V8Document.h"
29 #include "V8DocumentFragment.h" 31 #include "V8DocumentFragment.h"
30 #include "V8DocumentType.h" 32 #include "V8DocumentType.h"
31 #include "V8Element.h" 33 #include "V8Element.h"
32 #include "V8Entity.h" 34 #include "V8Entity.h"
33 #include "V8HTMLCollection.h" 35 #include "V8HTMLCollection.h"
34 #include "V8HTMLElement.h" 36 #include "V8HTMLElement.h"
37 #include "V8MediaQueryListListener.h"
35 #include "V8Node.h" 38 #include "V8Node.h"
36 #include "V8NodeFilter.h" 39 #include "V8NodeFilter.h"
37 #include "V8ShadowRoot.h" 40 #include "V8ShadowRoot.h"
38 #include "V8TestInterface.h" 41 #include "V8TestInterface.h"
39 #include "V8TestInterfaceEmpty.h" 42 #include "V8TestInterfaceEmpty.h"
40 #include "V8TestObjectA.h" 43 #include "V8TestObjectA.h"
41 #include "V8Window.h" 44 #include "V8Window.h"
42 #include "V8XPathNSResolver.h" 45 #include "V8XPathNSResolver.h"
43 #include "bindings/v8/BindingSecurity.h" 46 #include "bindings/v8/BindingSecurity.h"
47 #include "bindings/v8/Dictionary.h"
44 #include "bindings/v8/ExceptionMessages.h" 48 #include "bindings/v8/ExceptionMessages.h"
45 #include "bindings/v8/ExceptionState.h" 49 #include "bindings/v8/ExceptionState.h"
46 #include "bindings/v8/ScriptController.h" 50 #include "bindings/v8/ScriptController.h"
47 #include "bindings/v8/ScriptPromise.h" 51 #include "bindings/v8/ScriptPromise.h"
48 #include "bindings/v8/ScriptValue.h" 52 #include "bindings/v8/ScriptValue.h"
49 #include "bindings/v8/SerializedScriptValue.h" 53 #include "bindings/v8/SerializedScriptValue.h"
50 #include "bindings/v8/V8AbstractEventListener.h" 54 #include "bindings/v8/V8AbstractEventListener.h"
51 #include "bindings/v8/V8Binding.h" 55 #include "bindings/v8/V8Binding.h"
52 #include "bindings/v8/V8DOMActivityLogger.h" 56 #include "bindings/v8/V8DOMActivityLogger.h"
53 #include "bindings/v8/V8DOMConfiguration.h" 57 #include "bindings/v8/V8DOMConfiguration.h"
54 #include "bindings/v8/V8DOMWrapper.h" 58 #include "bindings/v8/V8DOMWrapper.h"
55 #include "bindings/v8/V8EventListenerList.h" 59 #include "bindings/v8/V8EventListenerList.h"
56 #include "bindings/v8/V8HiddenPropertyName.h" 60 #include "bindings/v8/V8HiddenPropertyName.h"
57 #include "bindings/v8/custom/V8ArrayBufferCustom.h" 61 #include "bindings/v8/custom/V8ArrayBufferCustom.h"
58 #include "bindings/v8/custom/V8ArrayBufferViewCustom.h" 62 #include "bindings/v8/custom/V8ArrayBufferViewCustom.h"
59 #include "bindings/v8/custom/V8Float32ArrayCustom.h" 63 #include "bindings/v8/custom/V8Float32ArrayCustom.h"
60 #include "bindings/v8/custom/V8Int32ArrayCustom.h" 64 #include "bindings/v8/custom/V8Int32ArrayCustom.h"
61 #include "bindings/v8/custom/V8Uint8ArrayCustom.h" 65 #include "bindings/v8/custom/V8Uint8ArrayCustom.h"
66 #include "core/css/MediaQueryListListener.h"
62 #include "core/dom/ContextFeatures.h" 67 #include "core/dom/ContextFeatures.h"
63 #include "core/dom/Document.h" 68 #include "core/dom/Document.h"
64 #include "core/dom/custom/CustomElementCallbackDispatcher.h" 69 #include "core/dom/custom/CustomElementCallbackDispatcher.h"
65 #include "core/page/UseCounter.h" 70 #include "core/page/UseCounter.h"
66 #include "platform/TraceEvent.h" 71 #include "platform/TraceEvent.h"
67 #include "wtf/GetPtr.h" 72 #include "wtf/GetPtr.h"
68 #include "wtf/RefPtr.h" 73 #include "wtf/RefPtr.h"
69 #include "wtf/UnusedParam.h" 74 #include "wtf/UnusedParam.h"
70 75
71 namespace WebCore { 76 namespace WebCore {
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 imp->setDomStringListAttribute(WTF::getPtr(cppValue)); 720 imp->setDomStringListAttribute(WTF::getPtr(cppValue));
716 } 721 }
717 722
718 static void domStringListAttributeAttributeSetterCallback(v8::Local<v8::String> name, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) 723 static void domStringListAttributeAttributeSetterCallback(v8::Local<v8::String> name, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info)
719 { 724 {
720 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); 725 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
721 TestObjectPythonV8Internal::domStringListAttributeAttributeSetter(name, jsVa lue, info); 726 TestObjectPythonV8Internal::domStringListAttributeAttributeSetter(name, jsVa lue, info);
722 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 727 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
723 } 728 }
724 729
730 static void promiseAttributeAttributeGetter(v8::Local<v8::String> name, const v8 ::PropertyCallbackInfo<v8::Value>& info)
731 {
732 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
733 v8SetReturnValue(info, imp->promiseAttribute().v8Value());
734 }
735
736 static void promiseAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
737 {
738 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
739 TestObjectPythonV8Internal::promiseAttributeAttributeGetter(name, info);
740 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
741 }
742
743 static void promiseAttributeAttributeSetter(v8::Local<v8::String> name, v8::Loca l<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info)
744 {
745 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
746 V8TRYCATCH_VOID(ScriptPromise, cppValue, ScriptPromise(jsValue));
747 imp->setPromiseAttribute(cppValue);
748 }
749
750 static void promiseAttributeAttributeSetterCallback(v8::Local<v8::String> name, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info)
751 {
752 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
753 TestObjectPythonV8Internal::promiseAttributeAttributeSetter(name, jsValue, i nfo);
754 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
755 }
756
725 static void documentAttributeAttributeGetter(v8::Local<v8::String> name, const v 8::PropertyCallbackInfo<v8::Value>& info) 757 static void documentAttributeAttributeGetter(v8::Local<v8::String> name, const v 8::PropertyCallbackInfo<v8::Value>& info)
726 { 758 {
727 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); 759 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
728 v8SetReturnValueFast(info, imp->documentAttribute(), imp); 760 v8SetReturnValueFast(info, imp->documentAttribute(), imp);
729 } 761 }
730 762
731 static void documentAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) 763 static void documentAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
732 { 764 {
733 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 765 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
734 TestObjectPythonV8Internal::documentAttributeAttributeGetter(name, info); 766 TestObjectPythonV8Internal::documentAttributeAttributeGetter(name, info);
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after
1361 imp->setEventHandlerAttribute(V8EventListenerList::getEventListener(jsValue, true, ListenerFindOrCreate), isolatedWorldForIsolate(info.GetIsolate())); 1393 imp->setEventHandlerAttribute(V8EventListenerList::getEventListener(jsValue, true, ListenerFindOrCreate), isolatedWorldForIsolate(info.GetIsolate()));
1362 } 1394 }
1363 1395
1364 static void eventHandlerAttributeAttributeSetterCallback(v8::Local<v8::String> n ame, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) 1396 static void eventHandlerAttributeAttributeSetterCallback(v8::Local<v8::String> n ame, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info)
1365 { 1397 {
1366 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); 1398 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
1367 TestObjectPythonV8Internal::eventHandlerAttributeAttributeSetter(name, jsVal ue, info); 1399 TestObjectPythonV8Internal::eventHandlerAttributeAttributeSetter(name, jsVal ue, info);
1368 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 1400 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
1369 } 1401 }
1370 1402
1371 static void promiseAttributeAttributeGetter(v8::Local<v8::String> name, const v8 ::PropertyCallbackInfo<v8::Value>& info)
1372 {
1373 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
1374 v8SetReturnValue(info, imp->promiseAttribute().v8Value());
1375 }
1376
1377 static void promiseAttributeAttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
1378 {
1379 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
1380 TestObjectPythonV8Internal::promiseAttributeAttributeGetter(name, info);
1381 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
1382 }
1383
1384 static void promiseAttributeAttributeSetter(v8::Local<v8::String> name, v8::Loca l<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info)
1385 {
1386 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
1387 V8TRYCATCH_VOID(ScriptPromise, cppValue, ScriptPromise(jsValue));
1388 imp->setPromiseAttribute(cppValue);
1389 }
1390
1391 static void promiseAttributeAttributeSetterCallback(v8::Local<v8::String> name, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info)
1392 {
1393 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
1394 TestObjectPythonV8Internal::promiseAttributeAttributeSetter(name, jsValue, i nfo);
1395 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
1396 }
1397
1398 static void activityLoggingAccessForAllWorldsLongAttributeAttributeGetter(v8::Lo cal<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) 1403 static void activityLoggingAccessForAllWorldsLongAttributeAttributeGetter(v8::Lo cal<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
1399 { 1404 {
1400 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); 1405 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
1401 v8SetReturnValueInt(info, imp->activityLoggingAccessForAllWorldsLongAttribut e()); 1406 v8SetReturnValueInt(info, imp->activityLoggingAccessForAllWorldsLongAttribut e());
1402 } 1407 }
1403 1408
1404 static void activityLoggingAccessForAllWorldsLongAttributeAttributeGetterCallbac k(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) 1409 static void activityLoggingAccessForAllWorldsLongAttributeAttributeGetterCallbac k(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
1405 { 1410 {
1406 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 1411 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
1407 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext()); 1412 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext());
(...skipping 2301 matching lines...) Expand 10 before | Expand all | Expand 10 after
3709 imp->voidMethodLongArgTestInterfaceEmptyArg(longArg, testInterfaceEmptyArg); 3714 imp->voidMethodLongArgTestInterfaceEmptyArg(longArg, testInterfaceEmptyArg);
3710 } 3715 }
3711 3716
3712 static void voidMethodLongArgTestInterfaceEmptyArgMethodCallback(const v8::Funct ionCallbackInfo<v8::Value>& args) 3717 static void voidMethodLongArgTestInterfaceEmptyArgMethodCallback(const v8::Funct ionCallbackInfo<v8::Value>& args)
3713 { 3718 {
3714 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 3719 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
3715 TestObjectPythonV8Internal::voidMethodLongArgTestInterfaceEmptyArgMethod(arg s); 3720 TestObjectPythonV8Internal::voidMethodLongArgTestInterfaceEmptyArgMethod(arg s);
3716 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 3721 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
3717 } 3722 }
3718 3723
3724 static void compareHowMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& ar gs)
3725 {
3726 TestObjectPython* imp = V8TestObjectPython::toNative(args.Holder());
3727 v8SetReturnValue(args, imp->compareHowMethod());
3728 }
3729
3730 static void compareHowMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Va lue>& args)
3731 {
3732 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
3733 TestObjectPythonV8Internal::compareHowMethodMethod(args);
3734 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
3735 }
3736
3737 static void domStringListMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& args)
3738 {
3739 TestObjectPython* imp = V8TestObjectPython::toNative(args.Holder());
3740 v8SetReturnValue(args, imp->domStringListMethod());
3741 }
3742
3743 static void domStringListMethodMethodCallback(const v8::FunctionCallbackInfo<v8: :Value>& args)
3744 {
3745 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
3746 TestObjectPythonV8Internal::domStringListMethodMethod(args);
3747 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
3748 }
3749
3750 static void mediaQueryListListenerMethodMethod(const v8::FunctionCallbackInfo<v8 ::Value>& args)
3751 {
3752 TestObjectPython* imp = V8TestObjectPython::toNative(args.Holder());
3753 v8SetReturnValue(args, imp->mediaQueryListListenerMethod());
3754 }
3755
3756 static void mediaQueryListListenerMethodMethodCallback(const v8::FunctionCallbac kInfo<v8::Value>& args)
3757 {
3758 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
3759 TestObjectPythonV8Internal::mediaQueryListListenerMethodMethod(args);
3760 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
3761 }
3762
3763 static void anyMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& args)
3764 {
3765 TestObjectPython* imp = V8TestObjectPython::toNative(args.Holder());
3766 v8SetReturnValue(args, imp->anyMethod().v8Value());
3767 }
3768
3769 static void anyMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& a rgs)
3770 {
3771 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
3772 TestObjectPythonV8Internal::anyMethodMethod(args);
3773 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
3774 }
3775
3776 static void voidMethodMediaQueryListListenerArgMethod(const v8::FunctionCallback Info<v8::Value>& args)
3777 {
3778 if (UNLIKELY(args.Length() < 1)) {
3779 throwTypeError(ExceptionMessages::failedToExecute("voidMethodMediaQueryL istListenerArg", "TestObjectPython", ExceptionMessages::notEnoughArguments(1, ar gs.Length())), args.GetIsolate());
3780 return;
3781 }
3782 TestObjectPython* imp = V8TestObjectPython::toNative(args.Holder());
3783 V8TRYCATCH_VOID(RefPtr<MediaQueryListListener>, mediaQueryListListenerArg, M ediaQueryListListener::create(ScriptValue(args[0], args.GetIsolate())));
3784 imp->voidMethodMediaQueryListListenerArg(mediaQueryListListenerArg);
3785 }
3786
3787 static void voidMethodMediaQueryListListenerArgMethodCallback(const v8::Function CallbackInfo<v8::Value>& args)
3788 {
3789 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
3790 TestObjectPythonV8Internal::voidMethodMediaQueryListListenerArgMethod(args);
3791 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
3792 }
3793
3794 static void voidMethodCompareHowArgMethod(const v8::FunctionCallbackInfo<v8::Val ue>& args)
3795 {
3796 if (UNLIKELY(args.Length() < 1)) {
3797 throwTypeError(ExceptionMessages::failedToExecute("voidMethodCompareHowA rg", "TestObjectPython", ExceptionMessages::notEnoughArguments(1, args.Length()) ), args.GetIsolate());
3798 return;
3799 }
3800 TestObjectPython* imp = V8TestObjectPython::toNative(args.Holder());
3801 V8TRYCATCH_VOID(Range::CompareHow, compareHowArg, static_cast<Range::Compare How>(args[0]->Int32Value()));
3802 imp->voidMethodCompareHowArg(compareHowArg);
3803 }
3804
3805 static void voidMethodCompareHowArgMethodCallback(const v8::FunctionCallbackInfo <v8::Value>& args)
3806 {
3807 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
3808 TestObjectPythonV8Internal::voidMethodCompareHowArgMethod(args);
3809 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
3810 }
3811
3812 static void voidMethodDOMStringListArgMethod(const v8::FunctionCallbackInfo<v8:: Value>& args)
3813 {
3814 if (UNLIKELY(args.Length() < 1)) {
3815 throwTypeError(ExceptionMessages::failedToExecute("voidMethodDOMStringLi stArg", "TestObjectPython", ExceptionMessages::notEnoughArguments(1, args.Length ())), args.GetIsolate());
3816 return;
3817 }
3818 TestObjectPython* imp = V8TestObjectPython::toNative(args.Holder());
3819 V8TRYCATCH_VOID(RefPtr<DOMStringList>, domStringListArg, toDOMStringList(arg s[0], args.GetIsolate()));
3820 imp->voidMethodDOMStringListArg(domStringListArg);
3821 }
3822
3823 static void voidMethodDOMStringListArgMethodCallback(const v8::FunctionCallbackI nfo<v8::Value>& args)
3824 {
3825 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
3826 TestObjectPythonV8Internal::voidMethodDOMStringListArgMethod(args);
3827 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
3828 }
3829
3830 static void voidMethodAnyArgMethod(const v8::FunctionCallbackInfo<v8::Value>& ar gs)
3831 {
3832 if (UNLIKELY(args.Length() < 1)) {
3833 throwTypeError(ExceptionMessages::failedToExecute("voidMethodAnyArg", "T estObjectPython", ExceptionMessages::notEnoughArguments(1, args.Length())), args .GetIsolate());
3834 return;
3835 }
3836 TestObjectPython* imp = V8TestObjectPython::toNative(args.Holder());
3837 V8TRYCATCH_VOID(ScriptValue, anyArg, ScriptValue(args[0], args.GetIsolate()) );
3838 imp->voidMethodAnyArg(anyArg);
3839 }
3840
3841 static void voidMethodAnyArgMethodCallback(const v8::FunctionCallbackInfo<v8::Va lue>& args)
3842 {
3843 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
3844 TestObjectPythonV8Internal::voidMethodAnyArgMethod(args);
3845 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
3846 }
3847
3719 static void voidMethodAttrArgMethod(const v8::FunctionCallbackInfo<v8::Value>& a rgs) 3848 static void voidMethodAttrArgMethod(const v8::FunctionCallbackInfo<v8::Value>& a rgs)
3720 { 3849 {
3721 if (UNLIKELY(args.Length() < 1)) { 3850 if (UNLIKELY(args.Length() < 1)) {
3722 throwTypeError(ExceptionMessages::failedToExecute("voidMethodAttrArg", " TestObjectPython", ExceptionMessages::notEnoughArguments(1, args.Length())), arg s.GetIsolate()); 3851 throwTypeError(ExceptionMessages::failedToExecute("voidMethodAttrArg", " TestObjectPython", ExceptionMessages::notEnoughArguments(1, args.Length())), arg s.GetIsolate());
3723 return; 3852 return;
3724 } 3853 }
3725 TestObjectPython* imp = V8TestObjectPython::toNative(args.Holder()); 3854 TestObjectPython* imp = V8TestObjectPython::toNative(args.Holder());
3726 V8TRYCATCH_VOID(Attr*, attrArg, V8Attr::HasInstance(args[0], args.GetIsolate (), worldType(args.GetIsolate())) ? V8Attr::toNative(v8::Handle<v8::Object>::Cas t(args[0])) : 0); 3855 V8TRYCATCH_VOID(Attr*, attrArg, V8Attr::HasInstance(args[0], args.GetIsolate (), worldType(args.GetIsolate())) ? V8Attr::toNative(v8::Handle<v8::Object>::Cas t(args[0])) : 0);
3727 imp->voidMethodAttrArg(attrArg); 3856 imp->voidMethodAttrArg(attrArg);
3728 } 3857 }
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
4176 imp->voidMethodTestEnumArg(testEnumTypeArg); 4305 imp->voidMethodTestEnumArg(testEnumTypeArg);
4177 } 4306 }
4178 4307
4179 static void voidMethodTestEnumArgMethodCallback(const v8::FunctionCallbackInfo<v 8::Value>& args) 4308 static void voidMethodTestEnumArgMethodCallback(const v8::FunctionCallbackInfo<v 8::Value>& args)
4180 { 4309 {
4181 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 4310 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
4182 TestObjectPythonV8Internal::voidMethodTestEnumArgMethod(args); 4311 TestObjectPythonV8Internal::voidMethodTestEnumArgMethod(args);
4183 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 4312 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
4184 } 4313 }
4185 4314
4186 static void domStringListMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& args) 4315 static void dictionaryMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& ar gs)
4187 { 4316 {
4188 TestObjectPython* imp = V8TestObjectPython::toNative(args.Holder()); 4317 TestObjectPython* imp = V8TestObjectPython::toNative(args.Holder());
4189 v8SetReturnValue(args, imp->domStringListMethod()); 4318 v8SetReturnValue(args, imp->dictionaryMethod());
4190 } 4319 }
4191 4320
4192 static void domStringListMethodMethodCallback(const v8::FunctionCallbackInfo<v8: :Value>& args) 4321 static void dictionaryMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Va lue>& args)
4193 { 4322 {
4194 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 4323 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
4195 TestObjectPythonV8Internal::domStringListMethodMethod(args); 4324 TestObjectPythonV8Internal::dictionaryMethodMethod(args);
4196 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 4325 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
4197 } 4326 }
4198 4327
4199 static void nodeFilterMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& ar gs) 4328 static void nodeFilterMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& ar gs)
4200 { 4329 {
4201 TestObjectPython* imp = V8TestObjectPython::toNative(args.Holder()); 4330 TestObjectPython* imp = V8TestObjectPython::toNative(args.Holder());
4202 v8SetReturnValue(args, imp->nodeFilterMethod()); 4331 v8SetReturnValue(args, imp->nodeFilterMethod());
4203 } 4332 }
4204 4333
4205 static void nodeFilterMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Va lue>& args) 4334 static void nodeFilterMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Va lue>& args)
(...skipping 22 matching lines...) Expand all
4228 v8SetReturnValue(args, imp->xPathNSResolverMethod()); 4357 v8SetReturnValue(args, imp->xPathNSResolverMethod());
4229 } 4358 }
4230 4359
4231 static void xPathNSResolverMethodMethodCallback(const v8::FunctionCallbackInfo<v 8::Value>& args) 4360 static void xPathNSResolverMethodMethodCallback(const v8::FunctionCallbackInfo<v 8::Value>& args)
4232 { 4361 {
4233 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 4362 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
4234 TestObjectPythonV8Internal::xPathNSResolverMethodMethod(args); 4363 TestObjectPythonV8Internal::xPathNSResolverMethodMethod(args);
4235 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 4364 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
4236 } 4365 }
4237 4366
4238 static void voidMethodDOMStringListArgMethod(const v8::FunctionCallbackInfo<v8:: Value>& args) 4367 static void voidMethodDictionaryArgMethod(const v8::FunctionCallbackInfo<v8::Val ue>& args)
4239 { 4368 {
4240 if (UNLIKELY(args.Length() < 1)) { 4369 if (UNLIKELY(args.Length() < 1)) {
4241 throwTypeError(ExceptionMessages::failedToExecute("voidMethodDOMStringLi stArg", "TestObjectPython", ExceptionMessages::notEnoughArguments(1, args.Length ())), args.GetIsolate()); 4370 throwTypeError(ExceptionMessages::failedToExecute("voidMethodDictionaryA rg", "TestObjectPython", ExceptionMessages::notEnoughArguments(1, args.Length()) ), args.GetIsolate());
4242 return; 4371 return;
4243 } 4372 }
4244 TestObjectPython* imp = V8TestObjectPython::toNative(args.Holder()); 4373 TestObjectPython* imp = V8TestObjectPython::toNative(args.Holder());
4245 V8TRYCATCH_VOID(RefPtr<DOMStringList>, domStringListArg, toDOMStringList(arg s[0], args.GetIsolate())); 4374 V8TRYCATCH_VOID(Dictionary, dictionaryArg, Dictionary(args[0], args.GetIsola te()));
4246 imp->voidMethodDOMStringListArg(domStringListArg); 4375 if (!dictionaryArg.isUndefinedOrNull() && !dictionaryArg.isObject()) {
4376 throwTypeError(ExceptionMessages::failedToExecute("voidMethodDictionaryA rg", "TestObjectPython", "parameter 1 ('dictionaryArg') is not an object."), arg s.GetIsolate());
4377 return;
4378 }
4379 imp->voidMethodDictionaryArg(dictionaryArg);
4247 } 4380 }
4248 4381
4249 static void voidMethodDOMStringListArgMethodCallback(const v8::FunctionCallbackI nfo<v8::Value>& args) 4382 static void voidMethodDictionaryArgMethodCallback(const v8::FunctionCallbackInfo <v8::Value>& args)
4250 { 4383 {
4251 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 4384 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
4252 TestObjectPythonV8Internal::voidMethodDOMStringListArgMethod(args); 4385 TestObjectPythonV8Internal::voidMethodDictionaryArgMethod(args);
4253 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 4386 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
4254 } 4387 }
4255 4388
4256 static void voidMethodNodeFilterArgMethod(const v8::FunctionCallbackInfo<v8::Val ue>& args) 4389 static void voidMethodNodeFilterArgMethod(const v8::FunctionCallbackInfo<v8::Val ue>& args)
4257 { 4390 {
4258 if (UNLIKELY(args.Length() < 1)) { 4391 if (UNLIKELY(args.Length() < 1)) {
4259 throwTypeError(ExceptionMessages::failedToExecute("voidMethodNodeFilterA rg", "TestObjectPython", ExceptionMessages::notEnoughArguments(1, args.Length()) ), args.GetIsolate()); 4392 throwTypeError(ExceptionMessages::failedToExecute("voidMethodNodeFilterA rg", "TestObjectPython", ExceptionMessages::notEnoughArguments(1, args.Length()) ), args.GetIsolate());
4260 return; 4393 return;
4261 } 4394 }
4262 TestObjectPython* imp = V8TestObjectPython::toNative(args.Holder()); 4395 TestObjectPython* imp = V8TestObjectPython::toNative(args.Holder());
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
4635 {"unsignedLongLongAttribute", TestObjectPythonV8Internal::unsignedLongLongAt tributeAttributeGetterCallback, TestObjectPythonV8Internal::unsignedLongLongAttr ibuteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAUL T), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 4768 {"unsignedLongLongAttribute", TestObjectPythonV8Internal::unsignedLongLongAt tributeAttributeGetterCallback, TestObjectPythonV8Internal::unsignedLongLongAttr ibuteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAUL T), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
4636 {"unsignedShortAttribute", TestObjectPythonV8Internal::unsignedShortAttribut eAttributeGetterCallback, TestObjectPythonV8Internal::unsignedShortAttributeAttr ibuteSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stati c_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 4769 {"unsignedShortAttribute", TestObjectPythonV8Internal::unsignedShortAttribut eAttributeGetterCallback, TestObjectPythonV8Internal::unsignedShortAttributeAttr ibuteSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stati c_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
4637 {"cssAttribute", TestObjectPythonV8Internal::cssAttributeAttributeGetterCall back, TestObjectPythonV8Internal::cssAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>( v8::None), 0 /* on instance */}, 4770 {"cssAttribute", TestObjectPythonV8Internal::cssAttributeAttributeGetterCall back, TestObjectPythonV8Internal::cssAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>( v8::None), 0 /* on instance */},
4638 {"imeAttribute", TestObjectPythonV8Internal::imeAttributeAttributeGetterCall back, TestObjectPythonV8Internal::imeAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>( v8::None), 0 /* on instance */}, 4771 {"imeAttribute", TestObjectPythonV8Internal::imeAttributeAttributeGetterCall back, TestObjectPythonV8Internal::imeAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>( v8::None), 0 /* on instance */},
4639 {"svgAttribute", TestObjectPythonV8Internal::svgAttributeAttributeGetterCall back, TestObjectPythonV8Internal::svgAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>( v8::None), 0 /* on instance */}, 4772 {"svgAttribute", TestObjectPythonV8Internal::svgAttributeAttributeGetterCall back, TestObjectPythonV8Internal::svgAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>( v8::None), 0 /* on instance */},
4640 {"xmlAttribute", TestObjectPythonV8Internal::xmlAttributeAttributeGetterCall back, TestObjectPythonV8Internal::xmlAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>( v8::None), 0 /* on instance */}, 4773 {"xmlAttribute", TestObjectPythonV8Internal::xmlAttributeAttributeGetterCall back, TestObjectPythonV8Internal::xmlAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>( v8::None), 0 /* on instance */},
4641 {"nodeFilterAttribute", TestObjectPythonV8Internal::nodeFilterAttributeAttri buteGetterCallback, TestObjectPythonV8Internal::nodeFilterAttributeAttributeSett erCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8 ::PropertyAttribute>(v8::None), 0 /* on instance */}, 4774 {"nodeFilterAttribute", TestObjectPythonV8Internal::nodeFilterAttributeAttri buteGetterCallback, TestObjectPythonV8Internal::nodeFilterAttributeAttributeSett erCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8 ::PropertyAttribute>(v8::None), 0 /* on instance */},
4642 {"serializedScriptValueAttribute", TestObjectPythonV8Internal::serializedScr iptValueAttributeAttributeGetterCallback, TestObjectPythonV8Internal::serialized ScriptValueAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCont rol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instanc e */}, 4775 {"serializedScriptValueAttribute", TestObjectPythonV8Internal::serializedScr iptValueAttributeAttributeGetterCallback, TestObjectPythonV8Internal::serialized ScriptValueAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCont rol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instanc e */},
4643 {"anyAttribute", TestObjectPythonV8Internal::anyAttributeAttributeGetterCall back, TestObjectPythonV8Internal::anyAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>( v8::None), 0 /* on instance */}, 4776 {"anyAttribute", TestObjectPythonV8Internal::anyAttributeAttributeGetterCall back, TestObjectPythonV8Internal::anyAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>( v8::None), 0 /* on instance */},
4644 {"domStringListAttribute", TestObjectPythonV8Internal::domStringListAttribut eAttributeGetterCallback, TestObjectPythonV8Internal::domStringListAttributeAttr ibuteSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stati c_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 4777 {"domStringListAttribute", TestObjectPythonV8Internal::domStringListAttribut eAttributeGetterCallback, TestObjectPythonV8Internal::domStringListAttributeAttr ibuteSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stati c_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
4778 {"promiseAttribute", TestObjectPythonV8Internal::promiseAttributeAttributeGe tterCallback, TestObjectPythonV8Internal::promiseAttributeAttributeSetterCallbac k, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Propert yAttribute>(v8::None), 0 /* on instance */},
4645 {"documentAttribute", TestObjectPythonV8Internal::documentAttributeAttribute GetterCallback, TestObjectPythonV8Internal::documentAttributeAttributeSetterCall back, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prop ertyAttribute>(v8::None), 0 /* on instance */}, 4779 {"documentAttribute", TestObjectPythonV8Internal::documentAttributeAttribute GetterCallback, TestObjectPythonV8Internal::documentAttributeAttributeSetterCall back, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prop ertyAttribute>(v8::None), 0 /* on instance */},
4646 {"documentFragmentAttribute", TestObjectPythonV8Internal::documentFragmentAt tributeAttributeGetterCallback, TestObjectPythonV8Internal::documentFragmentAttr ibuteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAUL T), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 4780 {"documentFragmentAttribute", TestObjectPythonV8Internal::documentFragmentAt tributeAttributeGetterCallback, TestObjectPythonV8Internal::documentFragmentAttr ibuteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAUL T), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
4647 {"documentTypeAttribute", TestObjectPythonV8Internal::documentTypeAttributeA ttributeGetterCallback, TestObjectPythonV8Internal::documentTypeAttributeAttribu teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c ast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 4781 {"documentTypeAttribute", TestObjectPythonV8Internal::documentTypeAttributeA ttributeGetterCallback, TestObjectPythonV8Internal::documentTypeAttributeAttribu teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c ast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
4648 {"elementAttribute", TestObjectPythonV8Internal::elementAttributeAttributeGe tterCallback, TestObjectPythonV8Internal::elementAttributeAttributeSetterCallbac k, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Propert yAttribute>(v8::None), 0 /* on instance */}, 4782 {"elementAttribute", TestObjectPythonV8Internal::elementAttributeAttributeGe tterCallback, TestObjectPythonV8Internal::elementAttributeAttributeSetterCallbac k, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Propert yAttribute>(v8::None), 0 /* on instance */},
4649 {"entityAttribute", TestObjectPythonV8Internal::entityAttributeAttributeGett erCallback, TestObjectPythonV8Internal::entityAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAt tribute>(v8::None), 0 /* on instance */}, 4783 {"entityAttribute", TestObjectPythonV8Internal::entityAttributeAttributeGett erCallback, TestObjectPythonV8Internal::entityAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAt tribute>(v8::None), 0 /* on instance */},
4650 {"nodeAttribute", TestObjectPythonV8Internal::nodeAttributeAttributeGetterCa llback, TestObjectPythonV8Internal::nodeAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribut e>(v8::None), 0 /* on instance */}, 4784 {"nodeAttribute", TestObjectPythonV8Internal::nodeAttributeAttributeGetterCa llback, TestObjectPythonV8Internal::nodeAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribut e>(v8::None), 0 /* on instance */},
4651 {"shadowRootAttribute", TestObjectPythonV8Internal::shadowRootAttributeAttri buteGetterCallback, TestObjectPythonV8Internal::shadowRootAttributeAttributeSett erCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8 ::PropertyAttribute>(v8::None), 0 /* on instance */}, 4785 {"shadowRootAttribute", TestObjectPythonV8Internal::shadowRootAttributeAttri buteGetterCallback, TestObjectPythonV8Internal::shadowRootAttributeAttributeSett erCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8 ::PropertyAttribute>(v8::None), 0 /* on instance */},
4652 {"arrayBufferAttribute", TestObjectPythonV8Internal::arrayBufferAttributeAtt ributeGetterCallback, TestObjectPythonV8Internal::arrayBufferAttributeAttributeS etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast <v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 4786 {"arrayBufferAttribute", TestObjectPythonV8Internal::arrayBufferAttributeAtt ributeGetterCallback, TestObjectPythonV8Internal::arrayBufferAttributeAttributeS etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast <v8::PropertyAttribute>(v8::None), 0 /* on instance */},
4653 {"float32ArrayAttribute", TestObjectPythonV8Internal::float32ArrayAttributeA ttributeGetterCallback, TestObjectPythonV8Internal::float32ArrayAttributeAttribu teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c ast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 4787 {"float32ArrayAttribute", TestObjectPythonV8Internal::float32ArrayAttributeA ttributeGetterCallback, TestObjectPythonV8Internal::float32ArrayAttributeAttribu teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c ast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
4654 {"uint8ArrayAttribute", TestObjectPythonV8Internal::uint8ArrayAttributeAttri buteGetterCallback, TestObjectPythonV8Internal::uint8ArrayAttributeAttributeSett erCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8 ::PropertyAttribute>(v8::None), 0 /* on instance */}, 4788 {"uint8ArrayAttribute", TestObjectPythonV8Internal::uint8ArrayAttributeAttri buteGetterCallback, TestObjectPythonV8Internal::uint8ArrayAttributeAttributeSett erCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8 ::PropertyAttribute>(v8::None), 0 /* on instance */},
4655 {"testInterfaceEmptyAttribute", TestObjectPythonV8Internal::testInterfaceEmp tyAttributeAttributeGetterCallback, TestObjectPythonV8Internal::testInterfaceEmp tyAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8:: DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 4789 {"testInterfaceEmptyAttribute", TestObjectPythonV8Internal::testInterfaceEmp tyAttributeAttributeGetterCallback, TestObjectPythonV8Internal::testInterfaceEmp tyAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8:: DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
4656 {"self", TestObjectPythonV8Internal::selfAttributeGetterCallback, TestObject PythonV8Internal::selfAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCo ntrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on insta nce */}, 4790 {"self", TestObjectPythonV8Internal::selfAttributeGetterCallback, TestObject PythonV8Internal::selfAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCo ntrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on insta nce */},
4657 {"readonlyWindowAttribute", TestObjectPythonV8Internal::readonlyWindowAttrib uteAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAU LT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 4791 {"readonlyWindowAttribute", TestObjectPythonV8Internal::readonlyWindowAttrib uteAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAU LT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
4658 {"htmlCollectionAttribute", TestObjectPythonV8Internal::htmlCollectionAttrib uteAttributeGetterCallback, TestObjectPythonV8Internal::htmlCollectionAttributeA ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 4792 {"htmlCollectionAttribute", TestObjectPythonV8Internal::htmlCollectionAttrib uteAttributeGetterCallback, TestObjectPythonV8Internal::htmlCollectionAttributeA ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
4659 {"htmlElementAttribute", TestObjectPythonV8Internal::htmlElementAttributeAtt ributeGetterCallback, TestObjectPythonV8Internal::htmlElementAttributeAttributeS etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast <v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 4793 {"htmlElementAttribute", TestObjectPythonV8Internal::htmlElementAttributeAtt ributeGetterCallback, TestObjectPythonV8Internal::htmlElementAttributeAttributeS etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast <v8::PropertyAttribute>(v8::None), 0 /* on instance */},
4660 {"stringArrayAttribute", TestObjectPythonV8Internal::stringArrayAttributeAtt ributeGetterCallback, TestObjectPythonV8Internal::stringArrayAttributeAttributeS etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast <v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 4794 {"stringArrayAttribute", TestObjectPythonV8Internal::stringArrayAttributeAtt ributeGetterCallback, TestObjectPythonV8Internal::stringArrayAttributeAttributeS etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast <v8::PropertyAttribute>(v8::None), 0 /* on instance */},
4661 {"testInterfaceEmptyArrayAttribute", TestObjectPythonV8Internal::testInterfa ceEmptyArrayAttributeAttributeGetterCallback, TestObjectPythonV8Internal::testIn terfaceEmptyArrayAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i nstance */}, 4795 {"testInterfaceEmptyArrayAttribute", TestObjectPythonV8Internal::testInterfa ceEmptyArrayAttributeAttributeGetterCallback, TestObjectPythonV8Internal::testIn terfaceEmptyArrayAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i nstance */},
4662 {"floatArrayAttribute", TestObjectPythonV8Internal::floatArrayAttributeAttri buteGetterCallback, TestObjectPythonV8Internal::floatArrayAttributeAttributeSett erCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8 ::PropertyAttribute>(v8::None), 0 /* on instance */}, 4796 {"floatArrayAttribute", TestObjectPythonV8Internal::floatArrayAttributeAttri buteGetterCallback, TestObjectPythonV8Internal::floatArrayAttributeAttributeSett erCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8 ::PropertyAttribute>(v8::None), 0 /* on instance */},
4663 {"nullableStringAttribute", TestObjectPythonV8Internal::nullableStringAttrib uteAttributeGetterCallback, TestObjectPythonV8Internal::nullableStringAttributeA ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 4797 {"nullableStringAttribute", TestObjectPythonV8Internal::nullableStringAttrib uteAttributeGetterCallback, TestObjectPythonV8Internal::nullableStringAttributeA ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
4664 {"nullableLongAttribute", TestObjectPythonV8Internal::nullableLongAttributeA ttributeGetterCallback, TestObjectPythonV8Internal::nullableLongAttributeAttribu teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c ast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 4798 {"nullableLongAttribute", TestObjectPythonV8Internal::nullableLongAttributeA ttributeGetterCallback, TestObjectPythonV8Internal::nullableLongAttributeAttribu teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c ast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
4665 {"testEnumAttribute", TestObjectPythonV8Internal::testEnumAttributeAttribute GetterCallback, TestObjectPythonV8Internal::testEnumAttributeAttributeSetterCall back, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prop ertyAttribute>(v8::None), 0 /* on instance */}, 4799 {"testEnumAttribute", TestObjectPythonV8Internal::testEnumAttributeAttribute GetterCallback, TestObjectPythonV8Internal::testEnumAttributeAttributeSetterCall back, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prop ertyAttribute>(v8::None), 0 /* on instance */},
4666 {"testObjectAConstructorAttribute", TestObjectPythonV8Internal::TestObjectPy thonConstructorGetter, TestObjectPythonV8Internal::TestObjectPythonReplaceableAt tributeSetterCallback, 0, 0, const_cast<WrapperTypeInfo*>(&V8TestObjectA::wrappe rTypeInfo), static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Propert yAttribute>(v8::DontEnum), 0 /* on instance */}, 4800 {"testObjectAConstructorAttribute", TestObjectPythonV8Internal::TestObjectPy thonConstructorGetter, TestObjectPythonV8Internal::TestObjectPythonReplaceableAt tributeSetterCallback, 0, 0, const_cast<WrapperTypeInfo*>(&V8TestObjectA::wrappe rTypeInfo), static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Propert yAttribute>(v8::DontEnum), 0 /* on instance */},
4667 {"eventHandlerAttribute", TestObjectPythonV8Internal::eventHandlerAttributeA ttributeGetterCallback, TestObjectPythonV8Internal::eventHandlerAttributeAttribu teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c ast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 4801 {"eventHandlerAttribute", TestObjectPythonV8Internal::eventHandlerAttributeA ttributeGetterCallback, TestObjectPythonV8Internal::eventHandlerAttributeAttribu teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c ast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
4668 {"promiseAttribute", TestObjectPythonV8Internal::promiseAttributeAttributeGe tterCallback, TestObjectPythonV8Internal::promiseAttributeAttributeSetterCallbac k, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Propert yAttribute>(v8::None), 0 /* on instance */},
4669 {"activityLoggingAccessForAllWorldsLongAttribute", TestObjectPythonV8Interna l::activityLoggingAccessForAllWorldsLongAttributeAttributeGetterCallback, TestOb jectPythonV8Internal::activityLoggingAccessForAllWorldsLongAttributeAttributeSet terCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v 8::PropertyAttribute>(v8::None), 0 /* on instance */}, 4802 {"activityLoggingAccessForAllWorldsLongAttribute", TestObjectPythonV8Interna l::activityLoggingAccessForAllWorldsLongAttributeAttributeGetterCallback, TestOb jectPythonV8Internal::activityLoggingAccessForAllWorldsLongAttributeAttributeSet terCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v 8::PropertyAttribute>(v8::None), 0 /* on instance */},
4670 {"activityLoggingGetterForAllWorldsLongAttribute", TestObjectPythonV8Interna l::activityLoggingGetterForAllWorldsLongAttributeAttributeGetterCallback, TestOb jectPythonV8Internal::activityLoggingGetterForAllWorldsLongAttributeAttributeSet terCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v 8::PropertyAttribute>(v8::None), 0 /* on instance */}, 4803 {"activityLoggingGetterForAllWorldsLongAttribute", TestObjectPythonV8Interna l::activityLoggingGetterForAllWorldsLongAttributeAttributeGetterCallback, TestOb jectPythonV8Internal::activityLoggingGetterForAllWorldsLongAttributeAttributeSet terCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v 8::PropertyAttribute>(v8::None), 0 /* on instance */},
4671 {"activityLoggingSetterForAllWorldsLongAttribute", TestObjectPythonV8Interna l::activityLoggingSetterForAllWorldsLongAttributeAttributeGetterCallback, TestOb jectPythonV8Internal::activityLoggingSetterForAllWorldsLongAttributeAttributeSet terCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v 8::PropertyAttribute>(v8::None), 0 /* on instance */}, 4804 {"activityLoggingSetterForAllWorldsLongAttribute", TestObjectPythonV8Interna l::activityLoggingSetterForAllWorldsLongAttributeAttributeGetterCallback, TestOb jectPythonV8Internal::activityLoggingSetterForAllWorldsLongAttributeAttributeSet terCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v 8::PropertyAttribute>(v8::None), 0 /* on instance */},
4672 {"cachedAttributeAnyAttribute", TestObjectPythonV8Internal::cachedAttributeA nyAttributeAttributeGetterCallback, TestObjectPythonV8Internal::cachedAttributeA nyAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8:: DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 4805 {"cachedAttributeAnyAttribute", TestObjectPythonV8Internal::cachedAttributeA nyAttributeAttributeGetterCallback, TestObjectPythonV8Internal::cachedAttributeA nyAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8:: DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
4673 {"callWithExecutionContextAnyAttribute", TestObjectPythonV8Internal::callWit hExecutionContextAnyAttributeAttributeGetterCallback, TestObjectPythonV8Internal ::callWithExecutionContextAnyAttributeAttributeSetterCallback, 0, 0, 0, static_c ast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None ), 0 /* on instance */}, 4806 {"callWithExecutionContextAnyAttribute", TestObjectPythonV8Internal::callWit hExecutionContextAnyAttributeAttributeGetterCallback, TestObjectPythonV8Internal ::callWithExecutionContextAnyAttributeAttributeSetterCallback, 0, 0, 0, static_c ast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None ), 0 /* on instance */},
4674 {"checkSecurityForNodeReadonlyDocumentAttribute", TestObjectPythonV8Internal ::checkSecurityForNodeReadonlyDocumentAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu te>(v8::None), 0 /* on instance */}, 4807 {"checkSecurityForNodeReadonlyDocumentAttribute", TestObjectPythonV8Internal ::checkSecurityForNodeReadonlyDocumentAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu te>(v8::None), 0 /* on instance */},
4675 #if ENABLE(Condition) 4808 #if ENABLE(Condition)
4676 {"conditionalLongAttribute", TestObjectPythonV8Internal::conditionalLongAttr ibuteAttributeGetterCallback, TestObjectPythonV8Internal::conditionalLongAttribu teAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 4809 {"conditionalLongAttribute", TestObjectPythonV8Internal::conditionalLongAttr ibuteAttributeGetterCallback, TestObjectPythonV8Internal::conditionalLongAttribu teAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
4677 #endif // ENABLE(Condition) 4810 #endif // ENABLE(Condition)
4678 #if ENABLE(Condition1) && ENABLE(Condition2) 4811 #if ENABLE(Condition1) && ENABLE(Condition2)
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
4757 {"voidMethodDoubleArg", TestObjectPythonV8Internal::voidMethodDoubleArgMetho dCallback, 0, 1}, 4890 {"voidMethodDoubleArg", TestObjectPythonV8Internal::voidMethodDoubleArgMetho dCallback, 0, 1},
4758 {"voidMethodFloatArg", TestObjectPythonV8Internal::voidMethodFloatArgMethodC allback, 0, 1}, 4891 {"voidMethodFloatArg", TestObjectPythonV8Internal::voidMethodFloatArgMethodC allback, 0, 1},
4759 {"voidMethodLongArg", TestObjectPythonV8Internal::voidMethodLongArgMethodCal lback, 0, 1}, 4892 {"voidMethodLongArg", TestObjectPythonV8Internal::voidMethodLongArgMethodCal lback, 0, 1},
4760 {"voidMethodLongLongArg", TestObjectPythonV8Internal::voidMethodLongLongArgM ethodCallback, 0, 1}, 4893 {"voidMethodLongLongArg", TestObjectPythonV8Internal::voidMethodLongLongArgM ethodCallback, 0, 1},
4761 {"voidMethodOctetArg", TestObjectPythonV8Internal::voidMethodOctetArgMethodC allback, 0, 1}, 4894 {"voidMethodOctetArg", TestObjectPythonV8Internal::voidMethodOctetArgMethodC allback, 0, 1},
4762 {"voidMethodShortArg", TestObjectPythonV8Internal::voidMethodShortArgMethodC allback, 0, 1}, 4895 {"voidMethodShortArg", TestObjectPythonV8Internal::voidMethodShortArgMethodC allback, 0, 1},
4763 {"voidMethodUnsignedLongArg", TestObjectPythonV8Internal::voidMethodUnsigned LongArgMethodCallback, 0, 1}, 4896 {"voidMethodUnsignedLongArg", TestObjectPythonV8Internal::voidMethodUnsigned LongArgMethodCallback, 0, 1},
4764 {"voidMethodUnsignedLongLongArg", TestObjectPythonV8Internal::voidMethodUnsi gnedLongLongArgMethodCallback, 0, 1}, 4897 {"voidMethodUnsignedLongLongArg", TestObjectPythonV8Internal::voidMethodUnsi gnedLongLongArgMethodCallback, 0, 1},
4765 {"voidMethodUnsignedShortArg", TestObjectPythonV8Internal::voidMethodUnsigne dShortArgMethodCallback, 0, 1}, 4898 {"voidMethodUnsignedShortArg", TestObjectPythonV8Internal::voidMethodUnsigne dShortArgMethodCallback, 0, 1},
4766 {"testInterfaceEmptyMethod", TestObjectPythonV8Internal::testInterfaceEmptyM ethodMethodCallback, 0, 0}, 4899 {"testInterfaceEmptyMethod", TestObjectPythonV8Internal::testInterfaceEmptyM ethodMethodCallback, 0, 0},
4900 {"compareHowMethod", TestObjectPythonV8Internal::compareHowMethodMethodCallb ack, 0, 0},
4901 {"domStringListMethod", TestObjectPythonV8Internal::domStringListMethodMetho dCallback, 0, 0},
4902 {"mediaQueryListListenerMethod", TestObjectPythonV8Internal::mediaQueryListL istenerMethodMethodCallback, 0, 0},
4903 {"anyMethod", TestObjectPythonV8Internal::anyMethodMethodCallback, 0, 0},
4904 {"voidMethodMediaQueryListListenerArg", TestObjectPythonV8Internal::voidMeth odMediaQueryListListenerArgMethodCallback, 0, 1},
4905 {"voidMethodCompareHowArg", TestObjectPythonV8Internal::voidMethodCompareHow ArgMethodCallback, 0, 1},
4906 {"voidMethodAnyArg", TestObjectPythonV8Internal::voidMethodAnyArgMethodCallb ack, 0, 1},
4767 {"arrayBufferMethod", TestObjectPythonV8Internal::arrayBufferMethodMethodCal lback, 0, 0}, 4907 {"arrayBufferMethod", TestObjectPythonV8Internal::arrayBufferMethodMethodCal lback, 0, 0},
4768 {"arrayBufferViewMethod", TestObjectPythonV8Internal::arrayBufferViewMethodM ethodCallback, 0, 0}, 4908 {"arrayBufferViewMethod", TestObjectPythonV8Internal::arrayBufferViewMethodM ethodCallback, 0, 0},
4769 {"float32ArrayMethod", TestObjectPythonV8Internal::float32ArrayMethodMethodC allback, 0, 0}, 4909 {"float32ArrayMethod", TestObjectPythonV8Internal::float32ArrayMethodMethodC allback, 0, 0},
4770 {"int32ArrayMethod", TestObjectPythonV8Internal::int32ArrayMethodMethodCallb ack, 0, 0}, 4910 {"int32ArrayMethod", TestObjectPythonV8Internal::int32ArrayMethodMethodCallb ack, 0, 0},
4771 {"uint8ArrayMethod", TestObjectPythonV8Internal::uint8ArrayMethodMethodCallb ack, 0, 0}, 4911 {"uint8ArrayMethod", TestObjectPythonV8Internal::uint8ArrayMethodMethodCallb ack, 0, 0},
4772 {"longArrayMethod", TestObjectPythonV8Internal::longArrayMethodMethodCallbac k, 0, 0}, 4912 {"longArrayMethod", TestObjectPythonV8Internal::longArrayMethodMethodCallbac k, 0, 0},
4773 {"stringArrayMethod", TestObjectPythonV8Internal::stringArrayMethodMethodCal lback, 0, 0}, 4913 {"stringArrayMethod", TestObjectPythonV8Internal::stringArrayMethodMethodCal lback, 0, 0},
4774 {"testInterfaceEmptyArrayMethod", TestObjectPythonV8Internal::testInterfaceE mptyArrayMethodMethodCallback, 0, 0}, 4914 {"testInterfaceEmptyArrayMethod", TestObjectPythonV8Internal::testInterfaceE mptyArrayMethodMethodCallback, 0, 0},
4775 {"voidMethodArrayLongArg", TestObjectPythonV8Internal::voidMethodArrayLongAr gMethodCallback, 0, 1}, 4915 {"voidMethodArrayLongArg", TestObjectPythonV8Internal::voidMethodArrayLongAr gMethodCallback, 0, 1},
4776 {"voidMethodArrayStringArg", TestObjectPythonV8Internal::voidMethodArrayStri ngArgMethodCallback, 0, 1}, 4916 {"voidMethodArrayStringArg", TestObjectPythonV8Internal::voidMethodArrayStri ngArgMethodCallback, 0, 1},
4777 {"voidMethodArrayTestInterfaceEmptyArg", TestObjectPythonV8Internal::voidMet hodArrayTestInterfaceEmptyArgMethodCallback, 0, 1}, 4917 {"voidMethodArrayTestInterfaceEmptyArg", TestObjectPythonV8Internal::voidMet hodArrayTestInterfaceEmptyArgMethodCallback, 0, 1},
4778 {"sequenceLongMethod", TestObjectPythonV8Internal::sequenceLongMethodMethodC allback, 0, 0}, 4918 {"sequenceLongMethod", TestObjectPythonV8Internal::sequenceLongMethodMethodC allback, 0, 0},
4779 {"sequenceStringMethod", TestObjectPythonV8Internal::sequenceStringMethodMet hodCallback, 0, 0}, 4919 {"sequenceStringMethod", TestObjectPythonV8Internal::sequenceStringMethodMet hodCallback, 0, 0},
4780 {"sequenceTestInterfaceEmptyMethod", TestObjectPythonV8Internal::sequenceTes tInterfaceEmptyMethodMethodCallback, 0, 0}, 4920 {"sequenceTestInterfaceEmptyMethod", TestObjectPythonV8Internal::sequenceTes tInterfaceEmptyMethodMethodCallback, 0, 0},
4781 {"voidMethodSequenceLongArg", TestObjectPythonV8Internal::voidMethodSequence LongArgMethodCallback, 0, 1}, 4921 {"voidMethodSequenceLongArg", TestObjectPythonV8Internal::voidMethodSequence LongArgMethodCallback, 0, 1},
4782 {"voidMethodSequenceStringArg", TestObjectPythonV8Internal::voidMethodSequen ceStringArgMethodCallback, 0, 1}, 4922 {"voidMethodSequenceStringArg", TestObjectPythonV8Internal::voidMethodSequen ceStringArgMethodCallback, 0, 1},
4783 {"voidMethodSequenceTestInterfaceEmptyArg", TestObjectPythonV8Internal::void MethodSequenceTestInterfaceEmptyArgMethodCallback, 0, 1}, 4923 {"voidMethodSequenceTestInterfaceEmptyArg", TestObjectPythonV8Internal::void MethodSequenceTestInterfaceEmptyArgMethodCallback, 0, 1},
4784 {"testEnumMethod", TestObjectPythonV8Internal::testEnumMethodMethodCallback, 0, 0}, 4924 {"testEnumMethod", TestObjectPythonV8Internal::testEnumMethodMethodCallback, 0, 0},
4785 {"voidMethodTestEnumArg", TestObjectPythonV8Internal::voidMethodTestEnumArgM ethodCallback, 0, 1}, 4925 {"voidMethodTestEnumArg", TestObjectPythonV8Internal::voidMethodTestEnumArgM ethodCallback, 0, 1},
4786 {"domStringListMethod", TestObjectPythonV8Internal::domStringListMethodMetho dCallback, 0, 0}, 4926 {"dictionaryMethod", TestObjectPythonV8Internal::dictionaryMethodMethodCallb ack, 0, 0},
4787 {"nodeFilterMethod", TestObjectPythonV8Internal::nodeFilterMethodMethodCallb ack, 0, 0}, 4927 {"nodeFilterMethod", TestObjectPythonV8Internal::nodeFilterMethodMethodCallb ack, 0, 0},
4788 {"serializedScriptValueMethod", TestObjectPythonV8Internal::serializedScript ValueMethodMethodCallback, 0, 0}, 4928 {"serializedScriptValueMethod", TestObjectPythonV8Internal::serializedScript ValueMethodMethodCallback, 0, 0},
4789 {"xPathNSResolverMethod", TestObjectPythonV8Internal::xPathNSResolverMethodM ethodCallback, 0, 0}, 4929 {"xPathNSResolverMethod", TestObjectPythonV8Internal::xPathNSResolverMethodM ethodCallback, 0, 0},
4930 {"voidMethodDictionaryArg", TestObjectPythonV8Internal::voidMethodDictionary ArgMethodCallback, 0, 1},
4790 {"voidMethodNodeFilterArg", TestObjectPythonV8Internal::voidMethodNodeFilter ArgMethodCallback, 0, 1}, 4931 {"voidMethodNodeFilterArg", TestObjectPythonV8Internal::voidMethodNodeFilter ArgMethodCallback, 0, 1},
4791 {"voidMethodSerializedScriptValueArg", TestObjectPythonV8Internal::voidMetho dSerializedScriptValueArgMethodCallback, 0, 1}, 4932 {"voidMethodSerializedScriptValueArg", TestObjectPythonV8Internal::voidMetho dSerializedScriptValueArgMethodCallback, 0, 1},
4792 {"voidMethodStringArgLongArg", TestObjectPythonV8Internal::voidMethodStringA rgLongArgMethodCallback, 0, 2}, 4933 {"voidMethodStringArgLongArg", TestObjectPythonV8Internal::voidMethodStringA rgLongArgMethodCallback, 0, 2},
4793 {"voidMethodOptionalStringArg", TestObjectPythonV8Internal::voidMethodOption alStringArgMethodCallback, 0, 0}, 4934 {"voidMethodOptionalStringArg", TestObjectPythonV8Internal::voidMethodOption alStringArgMethodCallback, 0, 0},
4794 {"voidMethodOptionalTestInterfaceEmptyArg", TestObjectPythonV8Internal::void MethodOptionalTestInterfaceEmptyArgMethodCallback, 0, 0}, 4935 {"voidMethodOptionalTestInterfaceEmptyArg", TestObjectPythonV8Internal::void MethodOptionalTestInterfaceEmptyArgMethodCallback, 0, 0},
4795 {"voidMethodOptionalLongArg", TestObjectPythonV8Internal::voidMethodOptional LongArgMethodCallback, 0, 0}, 4936 {"voidMethodOptionalLongArg", TestObjectPythonV8Internal::voidMethodOptional LongArgMethodCallback, 0, 0},
4796 {"stringMethodOptionalLongArg", TestObjectPythonV8Internal::stringMethodOpti onalLongArgMethodCallback, 0, 0}, 4937 {"stringMethodOptionalLongArg", TestObjectPythonV8Internal::stringMethodOpti onalLongArgMethodCallback, 0, 0},
4797 {"testInterfaceEmptyMethodOptionalLongArg", TestObjectPythonV8Internal::test InterfaceEmptyMethodOptionalLongArgMethodCallback, 0, 0}, 4938 {"testInterfaceEmptyMethodOptionalLongArg", TestObjectPythonV8Internal::test InterfaceEmptyMethodOptionalLongArgMethodCallback, 0, 0},
4798 {"longMethodOptionalLongArg", TestObjectPythonV8Internal::longMethodOptional LongArgMethodCallback, 0, 0}, 4939 {"longMethodOptionalLongArg", TestObjectPythonV8Internal::longMethodOptional LongArgMethodCallback, 0, 0},
4799 {"voidMethodLongArgOptionalLongArg", TestObjectPythonV8Internal::voidMethodL ongArgOptionalLongArgMethodCallback, 0, 1}, 4940 {"voidMethodLongArgOptionalLongArg", TestObjectPythonV8Internal::voidMethodL ongArgOptionalLongArgMethodCallback, 0, 1},
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
4835 v8::Handle<v8::FunctionTemplate> voidMethodTestInterfaceEmptyArgArgv[voidMet hodTestInterfaceEmptyArgArgc] = { V8PerIsolateData::from(isolate)->rawTemplate(& V8TestInterfaceEmpty::wrapperTypeInfo, currentWorldType) }; 4976 v8::Handle<v8::FunctionTemplate> voidMethodTestInterfaceEmptyArgArgv[voidMet hodTestInterfaceEmptyArgArgc] = { V8PerIsolateData::from(isolate)->rawTemplate(& V8TestInterfaceEmpty::wrapperTypeInfo, currentWorldType) };
4836 v8::Handle<v8::Signature> voidMethodTestInterfaceEmptyArgSignature = v8::Sig nature::New(desc, voidMethodTestInterfaceEmptyArgArgc, voidMethodTestInterfaceEm ptyArgArgv); 4977 v8::Handle<v8::Signature> voidMethodTestInterfaceEmptyArgSignature = v8::Sig nature::New(desc, voidMethodTestInterfaceEmptyArgArgc, voidMethodTestInterfaceEm ptyArgArgv);
4837 proto->Set(v8::String::NewSymbol("voidMethodTestInterfaceEmptyArg"), v8::Fun ctionTemplate::New(TestObjectPythonV8Internal::voidMethodTestInterfaceEmptyArgMe thodCallback, v8Undefined(), voidMethodTestInterfaceEmptyArgSignature, 1)); 4978 proto->Set(v8::String::NewSymbol("voidMethodTestInterfaceEmptyArg"), v8::Fun ctionTemplate::New(TestObjectPythonV8Internal::voidMethodTestInterfaceEmptyArgMe thodCallback, v8Undefined(), voidMethodTestInterfaceEmptyArgSignature, 1));
4838 4979
4839 // Custom Signature 'voidMethodLongArgTestInterfaceEmptyArg' 4980 // Custom Signature 'voidMethodLongArgTestInterfaceEmptyArg'
4840 const int voidMethodLongArgTestInterfaceEmptyArgArgc = 2; 4981 const int voidMethodLongArgTestInterfaceEmptyArgArgc = 2;
4841 v8::Handle<v8::FunctionTemplate> voidMethodLongArgTestInterfaceEmptyArgArgv[ voidMethodLongArgTestInterfaceEmptyArgArgc] = { v8::Handle<v8::FunctionTemplate> (), V8PerIsolateData::from(isolate)->rawTemplate(&V8TestInterfaceEmpty::wrapperT ypeInfo, currentWorldType) }; 4982 v8::Handle<v8::FunctionTemplate> voidMethodLongArgTestInterfaceEmptyArgArgv[ voidMethodLongArgTestInterfaceEmptyArgArgc] = { v8::Handle<v8::FunctionTemplate> (), V8PerIsolateData::from(isolate)->rawTemplate(&V8TestInterfaceEmpty::wrapperT ypeInfo, currentWorldType) };
4842 v8::Handle<v8::Signature> voidMethodLongArgTestInterfaceEmptyArgSignature = v8::Signature::New(desc, voidMethodLongArgTestInterfaceEmptyArgArgc, voidMethodL ongArgTestInterfaceEmptyArgArgv); 4983 v8::Handle<v8::Signature> voidMethodLongArgTestInterfaceEmptyArgSignature = v8::Signature::New(desc, voidMethodLongArgTestInterfaceEmptyArgArgc, voidMethodL ongArgTestInterfaceEmptyArgArgv);
4843 proto->Set(v8::String::NewSymbol("voidMethodLongArgTestInterfaceEmptyArg"), v8::FunctionTemplate::New(TestObjectPythonV8Internal::voidMethodLongArgTestInter faceEmptyArgMethodCallback, v8Undefined(), voidMethodLongArgTestInterfaceEmptyAr gSignature, 2)); 4984 proto->Set(v8::String::NewSymbol("voidMethodLongArgTestInterfaceEmptyArg"), v8::FunctionTemplate::New(TestObjectPythonV8Internal::voidMethodLongArgTestInter faceEmptyArgMethodCallback, v8Undefined(), voidMethodLongArgTestInterfaceEmptyAr gSignature, 2));
4844 4985
4986 // Custom Signature 'voidMethodDOMStringListArg'
4987 const int voidMethodDOMStringListArgArgc = 1;
4988 v8::Handle<v8::FunctionTemplate> voidMethodDOMStringListArgArgv[voidMethodDO MStringListArgArgc] = { V8PerIsolateData::from(isolate)->rawTemplate(&V8DOMStrin gList::wrapperTypeInfo, currentWorldType) };
4989 v8::Handle<v8::Signature> voidMethodDOMStringListArgSignature = v8::Signatur e::New(desc, voidMethodDOMStringListArgArgc, voidMethodDOMStringListArgArgv);
4990 proto->Set(v8::String::NewSymbol("voidMethodDOMStringListArg"), v8::Function Template::New(TestObjectPythonV8Internal::voidMethodDOMStringListArgMethodCallba ck, v8Undefined(), voidMethodDOMStringListArgSignature, 1));
4991
4845 // Custom Signature 'voidMethodAttrArg' 4992 // Custom Signature 'voidMethodAttrArg'
4846 const int voidMethodAttrArgArgc = 1; 4993 const int voidMethodAttrArgArgc = 1;
4847 v8::Handle<v8::FunctionTemplate> voidMethodAttrArgArgv[voidMethodAttrArgArgc ] = { V8PerIsolateData::from(isolate)->rawTemplate(&V8Attr::wrapperTypeInfo, cur rentWorldType) }; 4994 v8::Handle<v8::FunctionTemplate> voidMethodAttrArgArgv[voidMethodAttrArgArgc ] = { V8PerIsolateData::from(isolate)->rawTemplate(&V8Attr::wrapperTypeInfo, cur rentWorldType) };
4848 v8::Handle<v8::Signature> voidMethodAttrArgSignature = v8::Signature::New(de sc, voidMethodAttrArgArgc, voidMethodAttrArgArgv); 4995 v8::Handle<v8::Signature> voidMethodAttrArgSignature = v8::Signature::New(de sc, voidMethodAttrArgArgc, voidMethodAttrArgArgv);
4849 proto->Set(v8::String::NewSymbol("voidMethodAttrArg"), v8::FunctionTemplate: :New(TestObjectPythonV8Internal::voidMethodAttrArgMethodCallback, v8Undefined(), voidMethodAttrArgSignature, 1)); 4996 proto->Set(v8::String::NewSymbol("voidMethodAttrArg"), v8::FunctionTemplate: :New(TestObjectPythonV8Internal::voidMethodAttrArgMethodCallback, v8Undefined(), voidMethodAttrArgSignature, 1));
4850 4997
4851 // Custom Signature 'voidMethodDocumentArg' 4998 // Custom Signature 'voidMethodDocumentArg'
4852 const int voidMethodDocumentArgArgc = 1; 4999 const int voidMethodDocumentArgArgc = 1;
4853 v8::Handle<v8::FunctionTemplate> voidMethodDocumentArgArgv[voidMethodDocumen tArgArgc] = { V8PerIsolateData::from(isolate)->rawTemplate(&V8Document::wrapperT ypeInfo, currentWorldType) }; 5000 v8::Handle<v8::FunctionTemplate> voidMethodDocumentArgArgv[voidMethodDocumen tArgArgc] = { V8PerIsolateData::from(isolate)->rawTemplate(&V8Document::wrapperT ypeInfo, currentWorldType) };
4854 v8::Handle<v8::Signature> voidMethodDocumentArgSignature = v8::Signature::Ne w(desc, voidMethodDocumentArgArgc, voidMethodDocumentArgArgv); 5001 v8::Handle<v8::Signature> voidMethodDocumentArgSignature = v8::Signature::Ne w(desc, voidMethodDocumentArgArgc, voidMethodDocumentArgArgv);
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
4895 v8::Handle<v8::FunctionTemplate> voidMethodInt32ArrayArgArgv[voidMethodInt32 ArrayArgArgc] = { v8::Handle<v8::FunctionTemplate>() }; 5042 v8::Handle<v8::FunctionTemplate> voidMethodInt32ArrayArgArgv[voidMethodInt32 ArrayArgArgc] = { v8::Handle<v8::FunctionTemplate>() };
4896 v8::Handle<v8::Signature> voidMethodInt32ArrayArgSignature = v8::Signature:: New(desc, voidMethodInt32ArrayArgArgc, voidMethodInt32ArrayArgArgv); 5043 v8::Handle<v8::Signature> voidMethodInt32ArrayArgSignature = v8::Signature:: New(desc, voidMethodInt32ArrayArgArgc, voidMethodInt32ArrayArgArgv);
4897 proto->Set(v8::String::NewSymbol("voidMethodInt32ArrayArg"), v8::FunctionTem plate::New(TestObjectPythonV8Internal::voidMethodInt32ArrayArgMethodCallback, v8 Undefined(), voidMethodInt32ArrayArgSignature, 1)); 5044 proto->Set(v8::String::NewSymbol("voidMethodInt32ArrayArg"), v8::FunctionTem plate::New(TestObjectPythonV8Internal::voidMethodInt32ArrayArgMethodCallback, v8 Undefined(), voidMethodInt32ArrayArgSignature, 1));
4898 5045
4899 // Custom Signature 'voidMethodUint8ArrayArg' 5046 // Custom Signature 'voidMethodUint8ArrayArg'
4900 const int voidMethodUint8ArrayArgArgc = 1; 5047 const int voidMethodUint8ArrayArgArgc = 1;
4901 v8::Handle<v8::FunctionTemplate> voidMethodUint8ArrayArgArgv[voidMethodUint8 ArrayArgArgc] = { v8::Handle<v8::FunctionTemplate>() }; 5048 v8::Handle<v8::FunctionTemplate> voidMethodUint8ArrayArgArgv[voidMethodUint8 ArrayArgArgc] = { v8::Handle<v8::FunctionTemplate>() };
4902 v8::Handle<v8::Signature> voidMethodUint8ArrayArgSignature = v8::Signature:: New(desc, voidMethodUint8ArrayArgArgc, voidMethodUint8ArrayArgArgv); 5049 v8::Handle<v8::Signature> voidMethodUint8ArrayArgSignature = v8::Signature:: New(desc, voidMethodUint8ArrayArgArgc, voidMethodUint8ArrayArgArgv);
4903 proto->Set(v8::String::NewSymbol("voidMethodUint8ArrayArg"), v8::FunctionTem plate::New(TestObjectPythonV8Internal::voidMethodUint8ArrayArgMethodCallback, v8 Undefined(), voidMethodUint8ArrayArgSignature, 1)); 5050 proto->Set(v8::String::NewSymbol("voidMethodUint8ArrayArg"), v8::FunctionTem plate::New(TestObjectPythonV8Internal::voidMethodUint8ArrayArgMethodCallback, v8 Undefined(), voidMethodUint8ArrayArgSignature, 1));
4904 5051
4905 // Custom Signature 'voidMethodDOMStringListArg'
4906 const int voidMethodDOMStringListArgArgc = 1;
4907 v8::Handle<v8::FunctionTemplate> voidMethodDOMStringListArgArgv[voidMethodDO MStringListArgArgc] = { V8PerIsolateData::from(isolate)->rawTemplate(&V8DOMStrin gList::wrapperTypeInfo, currentWorldType) };
4908 v8::Handle<v8::Signature> voidMethodDOMStringListArgSignature = v8::Signatur e::New(desc, voidMethodDOMStringListArgArgc, voidMethodDOMStringListArgArgv);
4909 proto->Set(v8::String::NewSymbol("voidMethodDOMStringListArg"), v8::Function Template::New(TestObjectPythonV8Internal::voidMethodDOMStringListArgMethodCallba ck, v8Undefined(), voidMethodDOMStringListArgSignature, 1));
4910
4911 // Custom Signature 'voidMethodXPathNSResolverArg' 5052 // Custom Signature 'voidMethodXPathNSResolverArg'
4912 const int voidMethodXPathNSResolverArgArgc = 1; 5053 const int voidMethodXPathNSResolverArgArgc = 1;
4913 v8::Handle<v8::FunctionTemplate> voidMethodXPathNSResolverArgArgv[voidMethod XPathNSResolverArgArgc] = { v8::Handle<v8::FunctionTemplate>() }; 5054 v8::Handle<v8::FunctionTemplate> voidMethodXPathNSResolverArgArgv[voidMethod XPathNSResolverArgArgc] = { v8::Handle<v8::FunctionTemplate>() };
4914 v8::Handle<v8::Signature> voidMethodXPathNSResolverArgSignature = v8::Signat ure::New(desc, voidMethodXPathNSResolverArgArgc, voidMethodXPathNSResolverArgArg v); 5055 v8::Handle<v8::Signature> voidMethodXPathNSResolverArgSignature = v8::Signat ure::New(desc, voidMethodXPathNSResolverArgArgc, voidMethodXPathNSResolverArgArg v);
4915 proto->Set(v8::String::NewSymbol("voidMethodXPathNSResolverArg"), v8::Functi onTemplate::New(TestObjectPythonV8Internal::voidMethodXPathNSResolverArgMethodCa llback, v8Undefined(), voidMethodXPathNSResolverArgSignature, 1)); 5056 proto->Set(v8::String::NewSymbol("voidMethodXPathNSResolverArg"), v8::Functi onTemplate::New(TestObjectPythonV8Internal::voidMethodXPathNSResolverArgMethodCa llback, v8Undefined(), voidMethodXPathNSResolverArgSignature, 1));
4916 5057
4917 // Custom Signature 'voidMethodVariadicTestInterfaceEmptyArg' 5058 // Custom Signature 'voidMethodVariadicTestInterfaceEmptyArg'
4918 const int voidMethodVariadicTestInterfaceEmptyArgArgc = 1; 5059 const int voidMethodVariadicTestInterfaceEmptyArgArgc = 1;
4919 v8::Handle<v8::FunctionTemplate> voidMethodVariadicTestInterfaceEmptyArgArgv [voidMethodVariadicTestInterfaceEmptyArgArgc] = { V8PerIsolateData::from(isolate )->rawTemplate(&V8TestInterfaceEmpty::wrapperTypeInfo, currentWorldType) }; 5060 v8::Handle<v8::FunctionTemplate> voidMethodVariadicTestInterfaceEmptyArgArgv [voidMethodVariadicTestInterfaceEmptyArgArgc] = { V8PerIsolateData::from(isolate )->rawTemplate(&V8TestInterfaceEmpty::wrapperTypeInfo, currentWorldType) };
4920 v8::Handle<v8::Signature> voidMethodVariadicTestInterfaceEmptyArgSignature = v8::Signature::New(desc, voidMethodVariadicTestInterfaceEmptyArgArgc, voidMetho dVariadicTestInterfaceEmptyArgArgv); 5061 v8::Handle<v8::Signature> voidMethodVariadicTestInterfaceEmptyArgSignature = v8::Signature::New(desc, voidMethodVariadicTestInterfaceEmptyArgArgc, voidMetho dVariadicTestInterfaceEmptyArgArgv);
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
4989 V8DOMWrapper::associateObjectWithWrapper<V8TestObjectPython>(impl, &wrapperT ypeInfo, wrapper, isolate, WrapperConfiguration::Independent); 5130 V8DOMWrapper::associateObjectWithWrapper<V8TestObjectPython>(impl, &wrapperT ypeInfo, wrapper, isolate, WrapperConfiguration::Independent);
4990 return wrapper; 5131 return wrapper;
4991 } 5132 }
4992 5133
4993 void V8TestObjectPython::derefObject(void* object) 5134 void V8TestObjectPython::derefObject(void* object)
4994 { 5135 {
4995 fromInternalPointer(object)->deref(); 5136 fromInternalPointer(object)->deref();
4996 } 5137 }
4997 5138
4998 } // namespace WebCore 5139 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/idls/TestObjectPython.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698