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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp

Issue 2717183002: Slim V8DOMConfiguration::MethodConfiguration by refactoring per-world bindings. (Closed)
Patch Set: haraken Created 3 years, 9 months 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file has been auto-generated by code_generator_v8.py. 5 // This file has been auto-generated by code_generator_v8.py.
6 // DO NOT MODIFY! 6 // DO NOT MODIFY!
7 7
8 // This file has been generated from the Jinja2 template in 8 // This file has been generated from the Jinja2 template in
9 // third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl 9 // third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl
10 10
(...skipping 2626 matching lines...) Expand 10 before | Expand all | Expand 10 after
2637 {"implementsStringAttribute", V8TestInterface::implementsStringAttributeAttr ibuteGetterCallback, V8TestInterface::implementsStringAttributeAttributeSetterCa llback, nullptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v 8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, 2637 {"implementsStringAttribute", V8TestInterface::implementsStringAttributeAttr ibuteGetterCallback, V8TestInterface::implementsStringAttributeAttributeSetterCa llback, nullptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v 8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
2638 {"implementsNodeAttribute", V8TestInterface::implementsNodeAttributeAttribut eGetterCallback, V8TestInterface::implementsNodeAttributeAttributeSetterCallback , nullptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::Non e), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, 2638 {"implementsNodeAttribute", V8TestInterface::implementsNodeAttributeAttribut eGetterCallback, V8TestInterface::implementsNodeAttributeAttributeSetterCallback , nullptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::Non e), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
2639 {"implementsEventHandlerAttribute", V8TestInterface::implementsEventHandlerA ttributeAttributeGetterCallback, V8TestInterface::implementsEventHandlerAttribut eAttributeSetterCallback, nullptr, nullptr, nullptr, nullptr, static_cast<v8::Pr opertyAttribute>(v8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration: :CheckHolder}, 2639 {"implementsEventHandlerAttribute", V8TestInterface::implementsEventHandlerA ttributeAttributeGetterCallback, V8TestInterface::implementsEventHandlerAttribut eAttributeSetterCallback, nullptr, nullptr, nullptr, nullptr, static_cast<v8::Pr opertyAttribute>(v8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration: :CheckHolder},
2640 {"implements3StringAttribute", V8TestInterface::implements3StringAttributeAt tributeGetterCallback, V8TestInterface::implements3StringAttributeAttributeSette rCallback, nullptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute >(v8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, 2640 {"implements3StringAttribute", V8TestInterface::implements3StringAttributeAt tributeGetterCallback, V8TestInterface::implements3StringAttributeAttributeSette rCallback, nullptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute >(v8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
2641 {"implements3StaticStringAttribute", V8TestInterface::implements3StaticStrin gAttributeAttributeGetterCallback, V8TestInterface::implements3StaticStringAttri buteAttributeSetterCallback, nullptr, nullptr, nullptr, nullptr, static_cast<v8: :PropertyAttribute>(v8::None), V8DOMConfiguration::OnInterface, V8DOMConfigurati on::CheckHolder}, 2641 {"implements3StaticStringAttribute", V8TestInterface::implements3StaticStrin gAttributeAttributeGetterCallback, V8TestInterface::implements3StaticStringAttri buteAttributeSetterCallback, nullptr, nullptr, nullptr, nullptr, static_cast<v8: :PropertyAttribute>(v8::None), V8DOMConfiguration::OnInterface, V8DOMConfigurati on::CheckHolder},
2642 {"partial2LongAttribute", V8TestInterface::partial2LongAttributeAttributeGet terCallback, V8TestInterface::partial2LongAttributeAttributeSetterCallback, null ptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8 DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, 2642 {"partial2LongAttribute", V8TestInterface::partial2LongAttributeAttributeGet terCallback, V8TestInterface::partial2LongAttributeAttributeSetterCallback, null ptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8 DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
2643 {"partial2StaticLongAttribute", V8TestInterface::partial2StaticLongAttribute AttributeGetterCallback, V8TestInterface::partial2StaticLongAttributeAttributeSe tterCallback, nullptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttrib ute>(v8::None), V8DOMConfiguration::OnInterface, V8DOMConfiguration::CheckHolder }, 2643 {"partial2StaticLongAttribute", V8TestInterface::partial2StaticLongAttribute AttributeGetterCallback, V8TestInterface::partial2StaticLongAttributeAttributeSe tterCallback, nullptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttrib ute>(v8::None), V8DOMConfiguration::OnInterface, V8DOMConfiguration::CheckHolder },
2644 }; 2644 };
2645 2645
2646 const V8DOMConfiguration::MethodConfiguration V8TestInterfaceMethods[] = { 2646 const V8DOMConfiguration::MethodConfiguration V8TestInterfaceMethods[] = {
2647 {"voidMethodTestInterfaceEmptyArg", V8TestInterface::voidMethodTestInterface EmptyArgMethodCallback, nullptr, 1, v8::None, V8DOMConfiguration::OnPrototype, V 8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}, 2647 {"voidMethodTestInterfaceEmptyArg", V8TestInterface::voidMethodTestInterface EmptyArgMethodCallback, 1, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfi guration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration: :AllWorlds},
2648 {"voidMethodDoubleArgFloatArg", V8TestInterface::voidMethodDoubleArgFloatArg MethodCallback, nullptr, 2, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConf iguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}, 2648 {"voidMethodDoubleArgFloatArg", V8TestInterface::voidMethodDoubleArgFloatArg MethodCallback, 2, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration ::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorl ds},
2649 {"voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg", V8TestInterface::voi dMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethodCallback, nullptr, 2, v8:: None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMCon figuration::DoNotCheckAccess}, 2649 {"voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg", V8TestInterface::voi dMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethodCallback, 2, v8::None, V8D OMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMConfiguratio n::DoNotCheckAccess, V8DOMConfiguration::AllWorlds},
2650 {"voidMethodTestEnumArg", V8TestInterface::voidMethodTestEnumArgMethodCallba ck, nullptr, 1, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::C heckHolder, V8DOMConfiguration::DoNotCheckAccess}, 2650 {"voidMethodTestEnumArg", V8TestInterface::voidMethodTestEnumArgMethodCallba ck, 1, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolde r, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds},
2651 {"voidMethod", V8TestInterface::voidMethodMethodCallback, V8TestInterface::v oidMethodMethodCallbackForMainWorld, 0, v8::None, V8DOMConfiguration::OnPrototyp e, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}, 2651 {"voidMethod", V8TestInterface::voidMethodMethodCallbackForMainWorld, 0, v8: :None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMCo nfiguration::DoNotCheckAccess, V8DOMConfiguration::MainWorld},
2652 {"alwaysExposedMethod", V8TestInterface::alwaysExposedMethodMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::Check Holder, V8DOMConfiguration::DoNotCheckAccess}, 2652 {"voidMethod", V8TestInterface::voidMethodMethodCallback, 0, v8::None, V8DOM Configuration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration: :DoNotCheckAccess, V8DOMConfiguration::NonMainWorlds},
2653 {"alwaysExposedStaticMethod", V8TestInterface::alwaysExposedStaticMethodMeth odCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnInterface, V8DOMConfigur ation::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}, 2653 {"alwaysExposedMethod", V8TestInterface::alwaysExposedMethodMethodCallback, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V 8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds},
2654 {"staticReturnDOMWrapperMethod", V8TestInterface::staticReturnDOMWrapperMeth odMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnInterface, V8DOMCo nfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}, 2654 {"alwaysExposedStaticMethod", V8TestInterface::alwaysExposedStaticMethodMeth odCallback, 0, v8::None, V8DOMConfiguration::OnInterface, V8DOMConfiguration::Ch eckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds},
2655 {"legacyInterfaceTypeCheckingMethod", V8TestInterface::legacyInterfaceTypeCh eckingMethodMethodCallback, nullptr, 1, v8::None, V8DOMConfiguration::OnPrototyp e, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}, 2655 {"staticReturnDOMWrapperMethod", V8TestInterface::staticReturnDOMWrapperMeth odMethodCallback, 0, v8::None, V8DOMConfiguration::OnInterface, V8DOMConfigurati on::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWo rlds},
2656 {"implementsVoidMethod", V8TestInterface::implementsVoidMethodMethodCallback , nullptr, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::Che ckHolder, V8DOMConfiguration::DoNotCheckAccess}, 2656 {"legacyInterfaceTypeCheckingMethod", V8TestInterface::legacyInterfaceTypeCh eckingMethodMethodCallback, 1, v8::None, V8DOMConfiguration::OnPrototype, V8DOMC onfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfigurat ion::AllWorlds},
2657 {"implementsComplexMethod", V8TestInterface::implementsComplexMethodMethodCa llback, nullptr, 2, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguratio n::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}, 2657 {"implementsVoidMethod", V8TestInterface::implementsVoidMethodMethodCallback , 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds},
2658 {"implementsCustomVoidMethod", V8TestInterface::implementsCustomVoidMethodMe thodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfig uration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}, 2658 {"implementsComplexMethod", V8TestInterface::implementsComplexMethodMethodCa llback, 2, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckH older, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds},
2659 {"implementsStaticVoidMethod", V8TestInterface::implementsStaticVoidMethodMe thodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnInterface, V8DOMConfig uration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}, 2659 {"implementsCustomVoidMethod", V8TestInterface::implementsCustomVoidMethodMe thodCallback, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration:: CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds },
2660 {"implements3VoidMethod", V8TestInterface::implements3VoidMethodMethodCallba ck, nullptr, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::C heckHolder, V8DOMConfiguration::DoNotCheckAccess}, 2660 {"implementsStaticVoidMethod", V8TestInterface::implementsStaticVoidMethodMe thodCallback, 0, v8::None, V8DOMConfiguration::OnInterface, V8DOMConfiguration:: CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds },
2661 {"implements3StaticVoidMethod", V8TestInterface::implements3StaticVoidMethod MethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnInterface, V8DOMConf iguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}, 2661 {"implements3VoidMethod", V8TestInterface::implements3VoidMethodMethodCallba ck, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolde r, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds},
2662 {"voidMethodPartialOverload", V8TestInterface::voidMethodPartialOverloadMeth odCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfigur ation::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}, 2662 {"implements3StaticVoidMethod", V8TestInterface::implements3StaticVoidMethod MethodCallback, 0, v8::None, V8DOMConfiguration::OnInterface, V8DOMConfiguration ::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorl ds},
2663 {"staticVoidMethodPartialOverload", V8TestInterface::staticVoidMethodPartial OverloadMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnInterface, V 8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}, 2663 {"voidMethodPartialOverload", V8TestInterface::voidMethodPartialOverloadMeth odCallback, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::Ch eckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds},
2664 {"promiseMethodPartialOverload", V8TestInterface::promiseMethodPartialOverlo adMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMCo nfiguration::DoNotCheckHolder, V8DOMConfiguration::DoNotCheckAccess}, 2664 {"staticVoidMethodPartialOverload", V8TestInterface::staticVoidMethodPartial OverloadMethodCallback, 0, v8::None, V8DOMConfiguration::OnInterface, V8DOMConfi guration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration: :AllWorlds},
2665 {"staticPromiseMethodPartialOverload", V8TestInterface::staticPromiseMethodP artialOverloadMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnInterf ace, V8DOMConfiguration::DoNotCheckHolder, V8DOMConfiguration::DoNotCheckAccess} , 2665 {"promiseMethodPartialOverload", V8TestInterface::promiseMethodPartialOverlo adMethodCallback, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfigurati on::DoNotCheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration:: AllWorlds},
2666 {"partial2VoidMethod", V8TestInterface::partial2VoidMethodMethodCallback, nu llptr, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHo lder, V8DOMConfiguration::DoNotCheckAccess}, 2666 {"staticPromiseMethodPartialOverload", V8TestInterface::staticPromiseMethodP artialOverloadMethodCallback, 0, v8::None, V8DOMConfiguration::OnInterface, V8DO MConfiguration::DoNotCheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMCon figuration::AllWorlds},
2667 {"partial2StaticVoidMethod", V8TestInterface::partial2StaticVoidMethodMethod Callback, nullptr, 0, v8::None, V8DOMConfiguration::OnInterface, V8DOMConfigurat ion::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}, 2667 {"partial2VoidMethod", V8TestInterface::partial2VoidMethodMethodCallback, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8D OMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds},
2668 {"toJSON", V8TestInterface::toJSONMethodCallback, nullptr, 0, static_cast<v8 ::PropertyAttribute>(v8::DontEnum), V8DOMConfiguration::OnPrototype, V8DOMConfig uration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}, 2668 {"partial2StaticVoidMethod", V8TestInterface::partial2StaticVoidMethodMethod Callback, 0, v8::None, V8DOMConfiguration::OnInterface, V8DOMConfiguration::Chec kHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds},
2669 {"toString", V8TestInterface::toStringMethodCallback, nullptr, 0, static_cas t<v8::PropertyAttribute>(v8::DontEnum), V8DOMConfiguration::OnPrototype, V8DOMCo nfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}, 2669 {"toJSON", V8TestInterface::toJSONMethodCallback, 0, static_cast<v8::Propert yAttribute>(v8::DontEnum), V8DOMConfiguration::OnPrototype, V8DOMConfiguration:: CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds },
2670 {"toString", V8TestInterface::toStringMethodCallback, 0, static_cast<v8::Pro pertyAttribute>(v8::DontEnum), V8DOMConfiguration::OnPrototype, V8DOMConfigurati on::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWo rlds},
2670 }; 2671 };
2671 2672
2672 void V8TestInterface::installV8TestInterfaceTemplate(v8::Isolate* isolate, const DOMWrapperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate) { 2673 void V8TestInterface::installV8TestInterfaceTemplate(v8::Isolate* isolate, const DOMWrapperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate) {
2673 // Initialize the interface object's template. 2674 // Initialize the interface object's template.
2674 V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplate, V8TestInterface::wrapperTypeInfo.interfaceName, V8TestInterfaceEmpty::domTempla te(isolate, world), V8TestInterface::internalFieldCount); 2675 V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplate, V8TestInterface::wrapperTypeInfo.interfaceName, V8TestInterfaceEmpty::domTempla te(isolate, world), V8TestInterface::internalFieldCount);
2675 2676
2676 if (!RuntimeEnabledFeatures::featureNameEnabled()) { 2677 if (!RuntimeEnabledFeatures::featureNameEnabled()) {
2677 return; 2678 return;
2678 } 2679 }
2679 2680
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
2739 v8::NamedPropertyHandlerConfiguration namedPropertyHandlerConfig(V8TestInterfa ce::namedPropertyGetterCallback, V8TestInterface::namedPropertySetterCallback, V 8TestInterface::namedPropertyQueryCallback, V8TestInterface::namedPropertyDelete rCallback, V8TestInterface::namedPropertyEnumeratorCallback, v8::Local<v8::Value >(), static_cast<v8::PropertyHandlerFlags>(int(v8::PropertyHandlerFlags::kOnlyIn terceptStrings) | int(v8::PropertyHandlerFlags::kNonMasking))); 2740 v8::NamedPropertyHandlerConfiguration namedPropertyHandlerConfig(V8TestInterfa ce::namedPropertyGetterCallback, V8TestInterface::namedPropertySetterCallback, V 8TestInterface::namedPropertyQueryCallback, V8TestInterface::namedPropertyDelete rCallback, V8TestInterface::namedPropertyEnumeratorCallback, v8::Local<v8::Value >(), static_cast<v8::PropertyHandlerFlags>(int(v8::PropertyHandlerFlags::kOnlyIn terceptStrings) | int(v8::PropertyHandlerFlags::kNonMasking)));
2740 instanceTemplate->SetHandler(namedPropertyHandlerConfig); 2741 instanceTemplate->SetHandler(namedPropertyHandlerConfig);
2741 2742
2742 // Iterator (@@iterator) 2743 // Iterator (@@iterator)
2743 const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKeyedIteratorCo nfiguration = { v8::Symbol::GetIterator, V8TestInterface::iteratorMethodCallback , 0, v8::DontEnum, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHol der, V8DOMConfiguration::DoNotCheckAccess }; 2744 const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKeyedIteratorCo nfiguration = { v8::Symbol::GetIterator, V8TestInterface::iteratorMethodCallback , 0, v8::DontEnum, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHol der, V8DOMConfiguration::DoNotCheckAccess };
2744 V8DOMConfiguration::installMethod(isolate, world, prototypeTemplate, signature , symbolKeyedIteratorConfiguration); 2745 V8DOMConfiguration::installMethod(isolate, world, prototypeTemplate, signature , symbolKeyedIteratorConfiguration);
2745 2746
2746 instanceTemplate->SetCallAsFunctionHandler(V8TestInterface::legacyCallCustom); 2747 instanceTemplate->SetCallAsFunctionHandler(V8TestInterface::legacyCallCustom);
2747 2748
2748 if (RuntimeEnabledFeatures::implements2FeatureNameEnabled()) { 2749 if (RuntimeEnabledFeatures::implements2FeatureNameEnabled()) {
2749 const V8DOMConfiguration::MethodConfiguration implements2VoidMethodMethodCon figuration = {"implements2VoidMethod", V8TestInterface::implements2VoidMethodMet hodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfigu ration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}; 2750 const V8DOMConfiguration::MethodConfiguration implements2VoidMethodMethodCon figuration[] = {
2750 V8DOMConfiguration::installMethod(isolate, world, instanceTemplate, prototyp eTemplate, interfaceTemplate, signature, implements2VoidMethodMethodConfiguratio n); 2751 {"implements2VoidMethod", V8TestInterface::implements2VoidMethodMethodCall back, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHol der, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds}
2752 };
2753 for (const auto& methodConfig : implements2VoidMethodMethodConfiguration)
2754 V8DOMConfiguration::installMethod(isolate, world, instanceTemplate, protot ypeTemplate, interfaceTemplate, signature, methodConfig);
2751 } 2755 }
2752 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { 2756 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) {
2753 const V8DOMConfiguration::MethodConfiguration partialVoidMethodMethodConfigu ration = {"partialVoidMethod", V8TestInterface::partialVoidMethodMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::Chec kHolder, V8DOMConfiguration::DoNotCheckAccess}; 2757 const V8DOMConfiguration::MethodConfiguration partialVoidMethodMethodConfigu ration[] = {
2754 V8DOMConfiguration::installMethod(isolate, world, instanceTemplate, prototyp eTemplate, interfaceTemplate, signature, partialVoidMethodMethodConfiguration); 2758 {"partialVoidMethod", V8TestInterface::partialVoidMethodMethodCallback, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8D OMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds}
2759 };
2760 for (const auto& methodConfig : partialVoidMethodMethodConfiguration)
2761 V8DOMConfiguration::installMethod(isolate, world, instanceTemplate, protot ypeTemplate, interfaceTemplate, signature, methodConfig);
2755 } 2762 }
2756 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { 2763 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) {
2757 const V8DOMConfiguration::MethodConfiguration partialStaticVoidMethodMethodC onfiguration = {"partialStaticVoidMethod", V8TestInterface::partialStaticVoidMet hodMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnInterface, V8DOMC onfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}; 2764 const V8DOMConfiguration::MethodConfiguration partialStaticVoidMethodMethodC onfiguration[] = {
2758 V8DOMConfiguration::installMethod(isolate, world, instanceTemplate, prototyp eTemplate, interfaceTemplate, signature, partialStaticVoidMethodMethodConfigurat ion); 2765 {"partialStaticVoidMethod", V8TestInterface::partialStaticVoidMethodMethod Callback, 0, v8::None, V8DOMConfiguration::OnInterface, V8DOMConfiguration::Chec kHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds}
2766 };
2767 for (const auto& methodConfig : partialStaticVoidMethodMethodConfiguration)
2768 V8DOMConfiguration::installMethod(isolate, world, instanceTemplate, protot ypeTemplate, interfaceTemplate, signature, methodConfig);
2759 } 2769 }
2760 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { 2770 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) {
2761 const V8DOMConfiguration::MethodConfiguration partialVoidMethodLongArgMethod Configuration = {"partialVoidMethodLongArg", V8TestInterface::partialVoidMethodL ongArgMethodCallback, nullptr, 1, v8::None, V8DOMConfiguration::OnPrototype, V8D OMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}; 2771 const V8DOMConfiguration::MethodConfiguration partialVoidMethodLongArgMethod Configuration[] = {
2762 V8DOMConfiguration::installMethod(isolate, world, instanceTemplate, prototyp eTemplate, interfaceTemplate, signature, partialVoidMethodLongArgMethodConfigura tion); 2772 {"partialVoidMethodLongArg", V8TestInterface::partialVoidMethodLongArgMeth odCallback, 1, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::Ch eckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds}
2773 };
2774 for (const auto& methodConfig : partialVoidMethodLongArgMethodConfiguration)
2775 V8DOMConfiguration::installMethod(isolate, world, instanceTemplate, protot ypeTemplate, interfaceTemplate, signature, methodConfig);
2763 } 2776 }
2764 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { 2777 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) {
2765 const V8DOMConfiguration::MethodConfiguration partialCallWithExecutionContex tRaisesExceptionVoidMethodMethodConfiguration = {"partialCallWithExecutionContex tRaisesExceptionVoidMethod", V8TestInterface::partialCallWithExecutionContextRai sesExceptionVoidMethodMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration:: OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAcce ss}; 2778 const V8DOMConfiguration::MethodConfiguration partialCallWithExecutionContex tRaisesExceptionVoidMethodMethodConfiguration[] = {
2766 V8DOMConfiguration::installMethod(isolate, world, instanceTemplate, prototyp eTemplate, interfaceTemplate, signature, partialCallWithExecutionContextRaisesEx ceptionVoidMethodMethodConfiguration); 2779 {"partialCallWithExecutionContextRaisesExceptionVoidMethod", V8TestInterfa ce::partialCallWithExecutionContextRaisesExceptionVoidMethodMethodCallback, 0, v 8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOM Configuration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds}
2780 };
2781 for (const auto& methodConfig : partialCallWithExecutionContextRaisesExcepti onVoidMethodMethodConfiguration)
2782 V8DOMConfiguration::installMethod(isolate, world, instanceTemplate, protot ypeTemplate, interfaceTemplate, signature, methodConfig);
2767 } 2783 }
2768 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { 2784 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) {
2769 const V8DOMConfiguration::MethodConfiguration partialVoidMethodPartialCallba ckTypeArgMethodConfiguration = {"partialVoidMethodPartialCallbackTypeArg", V8Tes tInterface::partialVoidMethodPartialCallbackTypeArgMethodCallback, nullptr, 1, v 8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOM Configuration::DoNotCheckAccess}; 2785 const V8DOMConfiguration::MethodConfiguration partialVoidMethodPartialCallba ckTypeArgMethodConfiguration[] = {
2770 V8DOMConfiguration::installMethod(isolate, world, instanceTemplate, prototyp eTemplate, interfaceTemplate, signature, partialVoidMethodPartialCallbackTypeArg MethodConfiguration); 2786 {"partialVoidMethodPartialCallbackTypeArg", V8TestInterface::partialVoidMe thodPartialCallbackTypeArgMethodCallback, 1, v8::None, V8DOMConfiguration::OnPro totype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V 8DOMConfiguration::AllWorlds}
2787 };
2788 for (const auto& methodConfig : partialVoidMethodPartialCallbackTypeArgMetho dConfiguration)
2789 V8DOMConfiguration::installMethod(isolate, world, instanceTemplate, protot ypeTemplate, interfaceTemplate, signature, methodConfig);
2771 } 2790 }
2772 } 2791 }
2773 2792
2774 v8::Local<v8::FunctionTemplate> V8TestInterface::domTemplate(v8::Isolate* isolat e, const DOMWrapperWorld& world) { 2793 v8::Local<v8::FunctionTemplate> V8TestInterface::domTemplate(v8::Isolate* isolat e, const DOMWrapperWorld& world) {
2775 return V8DOMConfiguration::domClassTemplate(isolate, world, const_cast<Wrapper TypeInfo*>(&wrapperTypeInfo), V8TestInterface::installV8TestInterfaceTemplateFun ction); 2794 return V8DOMConfiguration::domClassTemplate(isolate, world, const_cast<Wrapper TypeInfo*>(&wrapperTypeInfo), V8TestInterface::installV8TestInterfaceTemplateFun ction);
2776 } 2795 }
2777 2796
2778 bool V8TestInterface::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* iso late) { 2797 bool V8TestInterface::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* iso late) {
2779 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value) ; 2798 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value) ;
2780 } 2799 }
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
2885 } 2904 }
2886 if (executionContext && (executionContext->isWorkerGlobalScope())) { 2905 if (executionContext && (executionContext->isWorkerGlobalScope())) {
2887 if (executionContext && (executionContext->isSecureContext())) { 2906 if (executionContext && (executionContext->isSecureContext())) {
2888 if (RuntimeEnabledFeatures::secureFeatureEnabled()) { 2907 if (RuntimeEnabledFeatures::secureFeatureEnabled()) {
2889 const V8DOMConfiguration::AccessorConfiguration accessorConfiguration = {"partialSecureContextWorkerExposedRuntimeEnabledAttribute", V8TestInterface::pa rtialSecureContextWorkerExposedRuntimeEnabledAttributeAttributeGetterCallback, V 8TestInterface::partialSecureContextWorkerExposedRuntimeEnabledAttributeAttribut eSetterCallback, nullptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAtt ribute>(v8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHol der}; 2908 const V8DOMConfiguration::AccessorConfiguration accessorConfiguration = {"partialSecureContextWorkerExposedRuntimeEnabledAttribute", V8TestInterface::pa rtialSecureContextWorkerExposedRuntimeEnabledAttributeAttributeGetterCallback, V 8TestInterface::partialSecureContextWorkerExposedRuntimeEnabledAttributeAttribut eSetterCallback, nullptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAtt ribute>(v8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHol der};
2890 V8DOMConfiguration::installAccessor(isolate, world, v8::Local<v8::Object >(), prototypeObject, interfaceObject, signature, accessorConfiguration); 2909 V8DOMConfiguration::installAccessor(isolate, world, v8::Local<v8::Object >(), prototypeObject, interfaceObject, signature, accessorConfiguration);
2891 } 2910 }
2892 } 2911 }
2893 } 2912 }
2894 if (executionContext && (executionContext->isWorkerGlobalScope())) { 2913 if (executionContext && (executionContext->isWorkerGlobalScope())) {
2895 const V8DOMConfiguration::MethodConfiguration workerExposedMethodMethodConfi guration = {"workerExposedMethod", V8TestInterface::workerExposedMethodMethodCal lback, nullptr, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration ::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}; 2914 const V8DOMConfiguration::MethodConfiguration workerExposedMethodMethodConfi guration[] = {
2896 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), p rototypeObject, interfaceObject, signature, workerExposedMethodMethodConfigurati on); 2915 {"workerExposedMethod", V8TestInterface::workerExposedMethodMethodCallback , 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds}
2916 };
2917 for (const auto& methodConfig : workerExposedMethodMethodConfiguration)
2918 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, methodConfig);
2897 } 2919 }
2898 if (executionContext && (executionContext->isDocument())) { 2920 if (executionContext && (executionContext->isDocument())) {
2899 const V8DOMConfiguration::MethodConfiguration windowExposedMethodMethodConfi guration = {"windowExposedMethod", V8TestInterface::windowExposedMethodMethodCal lback, nullptr, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration ::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}; 2921 const V8DOMConfiguration::MethodConfiguration windowExposedMethodMethodConfi guration[] = {
2900 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), p rototypeObject, interfaceObject, signature, windowExposedMethodMethodConfigurati on); 2922 {"windowExposedMethod", V8TestInterface::windowExposedMethodMethodCallback , 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds}
2923 };
2924 for (const auto& methodConfig : windowExposedMethodMethodConfiguration)
2925 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, methodConfig);
2901 } 2926 }
2902 if (executionContext && (executionContext->isWorkerGlobalScope())) { 2927 if (executionContext && (executionContext->isWorkerGlobalScope())) {
2903 const V8DOMConfiguration::MethodConfiguration workerExposedStaticMethodMetho dConfiguration = {"workerExposedStaticMethod", V8TestInterface::workerExposedSta ticMethodMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnInterface, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}; 2928 const V8DOMConfiguration::MethodConfiguration workerExposedStaticMethodMetho dConfiguration[] = {
2904 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), p rototypeObject, interfaceObject, signature, workerExposedStaticMethodMethodConfi guration); 2929 {"workerExposedStaticMethod", V8TestInterface::workerExposedStaticMethodMe thodCallback, 0, v8::None, V8DOMConfiguration::OnInterface, V8DOMConfiguration:: CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds }
2930 };
2931 for (const auto& methodConfig : workerExposedStaticMethodMethodConfiguration )
2932 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, methodConfig);
2905 } 2933 }
2906 if (executionContext && (executionContext->isDocument())) { 2934 if (executionContext && (executionContext->isDocument())) {
2907 const V8DOMConfiguration::MethodConfiguration windowExposedStaticMethodMetho dConfiguration = {"windowExposedStaticMethod", V8TestInterface::windowExposedSta ticMethodMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnInterface, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}; 2935 const V8DOMConfiguration::MethodConfiguration windowExposedStaticMethodMetho dConfiguration[] = {
2908 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), p rototypeObject, interfaceObject, signature, windowExposedStaticMethodMethodConfi guration); 2936 {"windowExposedStaticMethod", V8TestInterface::windowExposedStaticMethodMe thodCallback, 0, v8::None, V8DOMConfiguration::OnInterface, V8DOMConfiguration:: CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds }
2937 };
2938 for (const auto& methodConfig : windowExposedStaticMethodMethodConfiguration )
2939 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, methodConfig);
2909 } 2940 }
2910 if (executionContext && (executionContext->isDocument())) { 2941 if (executionContext && (executionContext->isDocument())) {
2911 if (RuntimeEnabledFeatures::featureNameEnabled()) { 2942 if (RuntimeEnabledFeatures::featureNameEnabled()) {
2912 const V8DOMConfiguration::MethodConfiguration methodWithExposedAndRuntimeE nabledFlagMethodConfiguration = {"methodWithExposedAndRuntimeEnabledFlag", V8Tes tInterface::methodWithExposedAndRuntimeEnabledFlagMethodCallback, nullptr, 0, v8 ::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMC onfiguration::DoNotCheckAccess}; 2943 const V8DOMConfiguration::MethodConfiguration methodWithExposedAndRuntimeE nabledFlagMethodConfiguration[] = {
2913 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, methodWithExposedAndRuntimeEnabled FlagMethodConfiguration); 2944 {"methodWithExposedAndRuntimeEnabledFlag", V8TestInterface::methodWithEx posedAndRuntimeEnabledFlagMethodCallback, 0, v8::None, V8DOMConfiguration::OnPro totype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V 8DOMConfiguration::AllWorlds}
2945 };
2946 for (const auto& methodConfig : methodWithExposedAndRuntimeEnabledFlagMeth odConfiguration)
2947 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>( ), prototypeObject, interfaceObject, signature, methodConfig);
2914 } 2948 }
2915 } 2949 }
2916 if (executionContext && (executionContext->isDocument())) { 2950 if (executionContext && (executionContext->isDocument())) {
2917 const V8DOMConfiguration::MethodConfiguration overloadMethodWithExposedAndRu ntimeEnabledFlagMethodConfiguration = {"overloadMethodWithExposedAndRuntimeEnabl edFlag", V8TestInterface::overloadMethodWithExposedAndRuntimeEnabledFlagMethodCa llback, nullptr, 1, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguratio n::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}; 2951 const V8DOMConfiguration::MethodConfiguration overloadMethodWithExposedAndRu ntimeEnabledFlagMethodConfiguration[] = {
2918 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), p rototypeObject, interfaceObject, signature, overloadMethodWithExposedAndRuntimeE nabledFlagMethodConfiguration); 2952 {"overloadMethodWithExposedAndRuntimeEnabledFlag", V8TestInterface::overlo adMethodWithExposedAndRuntimeEnabledFlagMethodCallback, 1, v8::None, V8DOMConfig uration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNot CheckAccess, V8DOMConfiguration::AllWorlds}
2953 };
2954 for (const auto& methodConfig : overloadMethodWithExposedAndRuntimeEnabledFl agMethodConfiguration)
2955 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, methodConfig);
2919 } 2956 }
2920 if (executionContext && ((executionContext->isDocument() && RuntimeEnabledFeat ures::featureNameEnabled()) || (executionContext->isWorkerGlobalScope() && Runti meEnabledFeatures::featureName2Enabled()))) { 2957 if (executionContext && ((executionContext->isDocument() && RuntimeEnabledFeat ures::featureNameEnabled()) || (executionContext->isWorkerGlobalScope() && Runti meEnabledFeatures::featureName2Enabled()))) {
2921 const V8DOMConfiguration::MethodConfiguration methodWithExposedHavingRuntime EnabldFlagMethodConfiguration = {"methodWithExposedHavingRuntimeEnabldFlag", V8T estInterface::methodWithExposedHavingRuntimeEnabldFlagMethodCallback, nullptr, 0 , v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8 DOMConfiguration::DoNotCheckAccess}; 2958 const V8DOMConfiguration::MethodConfiguration methodWithExposedHavingRuntime EnabldFlagMethodConfiguration[] = {
2922 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), p rototypeObject, interfaceObject, signature, methodWithExposedHavingRuntimeEnabld FlagMethodConfiguration); 2959 {"methodWithExposedHavingRuntimeEnabldFlag", V8TestInterface::methodWithEx posedHavingRuntimeEnabldFlagMethodCallback, 0, v8::None, V8DOMConfiguration::OnP rototype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds}
2960 };
2961 for (const auto& methodConfig : methodWithExposedHavingRuntimeEnabldFlagMeth odConfiguration)
2962 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, methodConfig);
2923 } 2963 }
2924 if (executionContext && (executionContext->isDocument() || executionContext->i sServiceWorkerGlobalScope())) { 2964 if (executionContext && (executionContext->isDocument() || executionContext->i sServiceWorkerGlobalScope())) {
2925 const V8DOMConfiguration::MethodConfiguration windowAndServiceWorkerExposedM ethodMethodConfiguration = {"windowAndServiceWorkerExposedMethod", V8TestInterfa ce::windowAndServiceWorkerExposedMethodMethodCallback, nullptr, 0, v8::None, V8D OMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMConfiguratio n::DoNotCheckAccess}; 2965 const V8DOMConfiguration::MethodConfiguration windowAndServiceWorkerExposedM ethodMethodConfiguration[] = {
2926 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), p rototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMethodM ethodConfiguration); 2966 {"windowAndServiceWorkerExposedMethod", V8TestInterface::windowAndServiceW orkerExposedMethodMethodCallback, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConf iguration::AllWorlds}
2967 };
2968 for (const auto& methodConfig : windowAndServiceWorkerExposedMethodMethodCon figuration)
2969 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, methodConfig);
2927 } 2970 }
2928 if (executionContext && (executionContext->isSecureContext())) { 2971 if (executionContext && (executionContext->isSecureContext())) {
2929 const V8DOMConfiguration::MethodConfiguration secureContextMethodMethodConfi guration = {"secureContextMethod", V8TestInterface::secureContextMethodMethodCal lback, nullptr, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration ::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}; 2972 const V8DOMConfiguration::MethodConfiguration secureContextMethodMethodConfi guration[] = {
2930 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), p rototypeObject, interfaceObject, signature, secureContextMethodMethodConfigurati on); 2973 {"secureContextMethod", V8TestInterface::secureContextMethodMethodCallback , 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds}
2974 };
2975 for (const auto& methodConfig : secureContextMethodMethodConfiguration)
2976 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, methodConfig);
2931 } 2977 }
2932 if (executionContext && (executionContext->isSecureContext())) { 2978 if (executionContext && (executionContext->isSecureContext())) {
2933 if (RuntimeEnabledFeatures::secureFeatureEnabled()) { 2979 if (RuntimeEnabledFeatures::secureFeatureEnabled()) {
2934 const V8DOMConfiguration::MethodConfiguration secureContextRuntimeEnabledM ethodMethodConfiguration = {"secureContextRuntimeEnabledMethod", V8TestInterface ::secureContextRuntimeEnabledMethodMethodCallback, nullptr, 0, v8::None, V8DOMCo nfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::D oNotCheckAccess}; 2980 const V8DOMConfiguration::MethodConfiguration secureContextRuntimeEnabledM ethodMethodConfiguration[] = {
2935 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, secureContextRuntimeEnabledMethodM ethodConfiguration); 2981 {"secureContextRuntimeEnabledMethod", V8TestInterface::secureContextRunt imeEnabledMethodMethodCallback, 0, v8::None, V8DOMConfiguration::OnPrototype, V8 DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfig uration::AllWorlds}
2982 };
2983 for (const auto& methodConfig : secureContextRuntimeEnabledMethodMethodCon figuration)
2984 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>( ), prototypeObject, interfaceObject, signature, methodConfig);
2936 } 2985 }
2937 } 2986 }
2938 if (executionContext && (executionContext->isSecureContext())) { 2987 if (executionContext && (executionContext->isSecureContext())) {
2939 if (executionContext && (executionContext->isDocument())) { 2988 if (executionContext && (executionContext->isDocument())) {
2940 const V8DOMConfiguration::MethodConfiguration secureContextWindowExposedMe thodMethodConfiguration = {"secureContextWindowExposedMethod", V8TestInterface:: secureContextWindowExposedMethodMethodCallback, nullptr, 0, v8::None, V8DOMConfi guration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNo tCheckAccess}; 2989 const V8DOMConfiguration::MethodConfiguration secureContextWindowExposedMe thodMethodConfiguration[] = {
2941 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, secureContextWindowExposedMethodMe thodConfiguration); 2990 {"secureContextWindowExposedMethod", V8TestInterface::secureContextWindo wExposedMethodMethodCallback, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DO MConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfigur ation::AllWorlds}
2991 };
2992 for (const auto& methodConfig : secureContextWindowExposedMethodMethodConf iguration)
2993 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>( ), prototypeObject, interfaceObject, signature, methodConfig);
2942 } 2994 }
2943 } 2995 }
2944 if (executionContext && (executionContext->isSecureContext())) { 2996 if (executionContext && (executionContext->isSecureContext())) {
2945 if (executionContext && (executionContext->isWorkerGlobalScope())) { 2997 if (executionContext && (executionContext->isWorkerGlobalScope())) {
2946 const V8DOMConfiguration::MethodConfiguration secureContextWorkerExposedMe thodMethodConfiguration = {"secureContextWorkerExposedMethod", V8TestInterface:: secureContextWorkerExposedMethodMethodCallback, nullptr, 0, v8::None, V8DOMConfi guration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNo tCheckAccess}; 2998 const V8DOMConfiguration::MethodConfiguration secureContextWorkerExposedMe thodMethodConfiguration[] = {
2947 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, secureContextWorkerExposedMethodMe thodConfiguration); 2999 {"secureContextWorkerExposedMethod", V8TestInterface::secureContextWorke rExposedMethodMethodCallback, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DO MConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfigur ation::AllWorlds}
3000 };
3001 for (const auto& methodConfig : secureContextWorkerExposedMethodMethodConf iguration)
3002 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>( ), prototypeObject, interfaceObject, signature, methodConfig);
2948 } 3003 }
2949 } 3004 }
2950 if (executionContext && (executionContext->isSecureContext())) { 3005 if (executionContext && (executionContext->isSecureContext())) {
2951 if (executionContext && (executionContext->isDocument())) { 3006 if (executionContext && (executionContext->isDocument())) {
2952 if (RuntimeEnabledFeatures::secureFeatureEnabled()) { 3007 if (RuntimeEnabledFeatures::secureFeatureEnabled()) {
2953 const V8DOMConfiguration::MethodConfiguration secureContextWindowExposed RuntimeEnabledMethodMethodConfiguration = {"secureContextWindowExposedRuntimeEna bledMethod", V8TestInterface::secureContextWindowExposedRuntimeEnabledMethodMeth odCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfigur ation::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}; 3008 const V8DOMConfiguration::MethodConfiguration secureContextWindowExposed RuntimeEnabledMethodMethodConfiguration[] = {
2954 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>( ), prototypeObject, interfaceObject, signature, secureContextWindowExposedRuntim eEnabledMethodMethodConfiguration); 3009 {"secureContextWindowExposedRuntimeEnabledMethod", V8TestInterface::se cureContextWindowExposedRuntimeEnabledMethodMethodCallback, 0, v8::None, V8DOMCo nfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::D oNotCheckAccess, V8DOMConfiguration::AllWorlds}
3010 };
3011 for (const auto& methodConfig : secureContextWindowExposedRuntimeEnabled MethodMethodConfiguration)
3012 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object >(), prototypeObject, interfaceObject, signature, methodConfig);
2955 } 3013 }
2956 } 3014 }
2957 } 3015 }
2958 if (executionContext && (executionContext->isSecureContext())) { 3016 if (executionContext && (executionContext->isSecureContext())) {
2959 if (executionContext && (executionContext->isWorkerGlobalScope())) { 3017 if (executionContext && (executionContext->isWorkerGlobalScope())) {
2960 if (RuntimeEnabledFeatures::secureFeatureEnabled()) { 3018 if (RuntimeEnabledFeatures::secureFeatureEnabled()) {
2961 const V8DOMConfiguration::MethodConfiguration secureContextWorkerExposed RuntimeEnabledMethodMethodConfiguration = {"secureContextWorkerExposedRuntimeEna bledMethod", V8TestInterface::secureContextWorkerExposedRuntimeEnabledMethodMeth odCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfigur ation::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}; 3019 const V8DOMConfiguration::MethodConfiguration secureContextWorkerExposed RuntimeEnabledMethodMethodConfiguration[] = {
2962 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>( ), prototypeObject, interfaceObject, signature, secureContextWorkerExposedRuntim eEnabledMethodMethodConfiguration); 3020 {"secureContextWorkerExposedRuntimeEnabledMethod", V8TestInterface::se cureContextWorkerExposedRuntimeEnabledMethodMethodCallback, 0, v8::None, V8DOMCo nfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::D oNotCheckAccess, V8DOMConfiguration::AllWorlds}
3021 };
3022 for (const auto& methodConfig : secureContextWorkerExposedRuntimeEnabled MethodMethodConfiguration)
3023 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object >(), prototypeObject, interfaceObject, signature, methodConfig);
2963 } 3024 }
2964 } 3025 }
2965 } 3026 }
2966 if (executionContext && (executionContext->isSecureContext())) { 3027 if (executionContext && (executionContext->isSecureContext())) {
2967 const V8DOMConfiguration::MethodConfiguration partial2SecureContextMethodMet hodConfiguration = {"partial2SecureContextMethod", V8TestInterface::partial2Secu reContextMethodMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnProto type, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}; 3028 const V8DOMConfiguration::MethodConfiguration partial2SecureContextMethodMet hodConfiguration[] = {
2968 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), p rototypeObject, interfaceObject, signature, partial2SecureContextMethodMethodCon figuration); 3029 {"partial2SecureContextMethod", V8TestInterface::partial2SecureContextMeth odMethodCallback, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfigurati on::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWo rlds}
3030 };
3031 for (const auto& methodConfig : partial2SecureContextMethodMethodConfigurati on)
3032 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, methodConfig);
2969 } 3033 }
2970 if (executionContext && (executionContext->isSecureContext())) { 3034 if (executionContext && (executionContext->isSecureContext())) {
2971 const V8DOMConfiguration::MethodConfiguration partialSecureContextMethodMeth odConfiguration = {"partialSecureContextMethod", V8TestInterface::partialSecureC ontextMethodMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnPrototyp e, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}; 3035 const V8DOMConfiguration::MethodConfiguration partialSecureContextMethodMeth odConfiguration[] = {
2972 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), p rototypeObject, interfaceObject, signature, partialSecureContextMethodMethodConf iguration); 3036 {"partialSecureContextMethod", V8TestInterface::partialSecureContextMethod MethodCallback, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration ::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorl ds}
3037 };
3038 for (const auto& methodConfig : partialSecureContextMethodMethodConfiguratio n)
3039 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, methodConfig);
2973 } 3040 }
2974 if (executionContext && (executionContext->isSecureContext())) { 3041 if (executionContext && (executionContext->isSecureContext())) {
2975 if (RuntimeEnabledFeatures::secureFeatureEnabled()) { 3042 if (RuntimeEnabledFeatures::secureFeatureEnabled()) {
2976 const V8DOMConfiguration::MethodConfiguration partialSecureContextRuntimeE nabledMethodMethodConfiguration = {"partialSecureContextRuntimeEnabledMethod", V 8TestInterface::partialSecureContextRuntimeEnabledMethodMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}; 3043 const V8DOMConfiguration::MethodConfiguration partialSecureContextRuntimeE nabledMethodMethodConfiguration[] = {
2977 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, partialSecureContextRuntimeEnabled MethodMethodConfiguration); 3044 {"partialSecureContextRuntimeEnabledMethod", V8TestInterface::partialSec ureContextRuntimeEnabledMethodMethodCallback, 0, v8::None, V8DOMConfiguration::O nPrototype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAcces s, V8DOMConfiguration::AllWorlds}
3045 };
3046 for (const auto& methodConfig : partialSecureContextRuntimeEnabledMethodMe thodConfiguration)
3047 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>( ), prototypeObject, interfaceObject, signature, methodConfig);
2978 } 3048 }
2979 } 3049 }
2980 if (executionContext && (executionContext->isSecureContext())) { 3050 if (executionContext && (executionContext->isSecureContext())) {
2981 if (executionContext && (executionContext->isDocument())) { 3051 if (executionContext && (executionContext->isDocument())) {
2982 const V8DOMConfiguration::MethodConfiguration partialSecureContextWindowEx posedMethodMethodConfiguration = {"partialSecureContextWindowExposedMethod", V8T estInterface::partialSecureContextWindowExposedMethodMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8D OMConfiguration::DoNotCheckAccess}; 3052 const V8DOMConfiguration::MethodConfiguration partialSecureContextWindowEx posedMethodMethodConfiguration[] = {
2983 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, partialSecureContextWindowExposedM ethodMethodConfiguration); 3053 {"partialSecureContextWindowExposedMethod", V8TestInterface::partialSecu reContextWindowExposedMethodMethodCallback, 0, v8::None, V8DOMConfiguration::OnP rototype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds}
3054 };
3055 for (const auto& methodConfig : partialSecureContextWindowExposedMethodMet hodConfiguration)
3056 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>( ), prototypeObject, interfaceObject, signature, methodConfig);
2984 } 3057 }
2985 } 3058 }
2986 if (executionContext && (executionContext->isSecureContext())) { 3059 if (executionContext && (executionContext->isSecureContext())) {
2987 if (executionContext && (executionContext->isWorkerGlobalScope())) { 3060 if (executionContext && (executionContext->isWorkerGlobalScope())) {
2988 const V8DOMConfiguration::MethodConfiguration partialSecureContextWorkerEx posedMethodMethodConfiguration = {"partialSecureContextWorkerExposedMethod", V8T estInterface::partialSecureContextWorkerExposedMethodMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8D OMConfiguration::DoNotCheckAccess}; 3061 const V8DOMConfiguration::MethodConfiguration partialSecureContextWorkerEx posedMethodMethodConfiguration[] = {
2989 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, partialSecureContextWorkerExposedM ethodMethodConfiguration); 3062 {"partialSecureContextWorkerExposedMethod", V8TestInterface::partialSecu reContextWorkerExposedMethodMethodCallback, 0, v8::None, V8DOMConfiguration::OnP rototype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds}
3063 };
3064 for (const auto& methodConfig : partialSecureContextWorkerExposedMethodMet hodConfiguration)
3065 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>( ), prototypeObject, interfaceObject, signature, methodConfig);
2990 } 3066 }
2991 } 3067 }
2992 if (executionContext && (executionContext->isSecureContext())) { 3068 if (executionContext && (executionContext->isSecureContext())) {
2993 if (executionContext && (executionContext->isDocument())) { 3069 if (executionContext && (executionContext->isDocument())) {
2994 if (RuntimeEnabledFeatures::secureFeatureEnabled()) { 3070 if (RuntimeEnabledFeatures::secureFeatureEnabled()) {
2995 const V8DOMConfiguration::MethodConfiguration partialSecureContextWindow ExposedRuntimeEnabledMethodMethodConfiguration = {"partialSecureContextWindowExp osedRuntimeEnabledMethod", V8TestInterface::partialSecureContextWindowExposedRun timeEnabledMethodMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnPro totype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}; 3071 const V8DOMConfiguration::MethodConfiguration partialSecureContextWindow ExposedRuntimeEnabledMethodMethodConfiguration[] = {
2996 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>( ), prototypeObject, interfaceObject, signature, partialSecureContextWindowExpose dRuntimeEnabledMethodMethodConfiguration); 3072 {"partialSecureContextWindowExposedRuntimeEnabledMethod", V8TestInterf ace::partialSecureContextWindowExposedRuntimeEnabledMethodMethodCallback, 0, v8: :None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMCo nfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds}
3073 };
3074 for (const auto& methodConfig : partialSecureContextWindowExposedRuntime EnabledMethodMethodConfiguration)
3075 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object >(), prototypeObject, interfaceObject, signature, methodConfig);
2997 } 3076 }
2998 } 3077 }
2999 } 3078 }
3000 if (executionContext && (executionContext->isSecureContext())) { 3079 if (executionContext && (executionContext->isSecureContext())) {
3001 if (executionContext && (executionContext->isWorkerGlobalScope())) { 3080 if (executionContext && (executionContext->isWorkerGlobalScope())) {
3002 if (RuntimeEnabledFeatures::secureFeatureEnabled()) { 3081 if (RuntimeEnabledFeatures::secureFeatureEnabled()) {
3003 const V8DOMConfiguration::MethodConfiguration partialSecureContextWorker ExposedRuntimeEnabledMethodMethodConfiguration = {"partialSecureContextWorkerExp osedRuntimeEnabledMethod", V8TestInterface::partialSecureContextWorkerExposedRun timeEnabledMethodMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnPro totype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}; 3082 const V8DOMConfiguration::MethodConfiguration partialSecureContextWorker ExposedRuntimeEnabledMethodMethodConfiguration[] = {
3004 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>( ), prototypeObject, interfaceObject, signature, partialSecureContextWorkerExpose dRuntimeEnabledMethodMethodConfiguration); 3083 {"partialSecureContextWorkerExposedRuntimeEnabledMethod", V8TestInterf ace::partialSecureContextWorkerExposedRuntimeEnabledMethodMethodCallback, 0, v8: :None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMCo nfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds}
3084 };
3085 for (const auto& methodConfig : partialSecureContextWorkerExposedRuntime EnabledMethodMethodConfiguration)
3086 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object >(), prototypeObject, interfaceObject, signature, methodConfig);
3005 } 3087 }
3006 } 3088 }
3007 } 3089 }
3008 } 3090 }
3009 3091
3010 InstallTemplateFunction V8TestInterface::installV8TestInterfaceTemplateFunction = 3092 InstallTemplateFunction V8TestInterface::installV8TestInterfaceTemplateFunction =
3011 &V8TestInterface::installV8TestInterfaceTemplate; 3093 &V8TestInterface::installV8TestInterfaceTemplate;
3012 3094
3013 void V8TestInterface::updateWrapperTypeInfo( 3095 void V8TestInterface::updateWrapperTypeInfo(
3014 InstallTemplateFunction installTemplateFunction, 3096 InstallTemplateFunction installTemplateFunction,
(...skipping 27 matching lines...) Expand all
3042 3124
3043 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void ( *method)(const v8::FunctionCallbackInfo<v8::Value>&)) { 3125 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void ( *method)(const v8::FunctionCallbackInfo<v8::Value>&)) {
3044 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInter face = method; 3126 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInter face = method;
3045 } 3127 }
3046 3128
3047 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface( void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) { 3129 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface( void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) {
3048 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPartia lInterface = method; 3130 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPartia lInterface = method;
3049 } 3131 }
3050 3132
3051 } // namespace blink 3133 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698