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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp

Issue 2441593002: binding: Returns a reject promise when |this| is not of the type. (Closed)
Patch Set: Updated test expectations. Created 4 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
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 // clang-format off 8 // clang-format off
9 #include "V8TestInterface5.h" 9 #include "V8TestInterface5.h"
10 10
(...skipping 859 matching lines...) Expand 10 before | Expand all | Expand 10 after
870 {"testInterfaceAttribute", TestInterface5ImplementationV8Internal::testInter faceAttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::te stInterfaceAttributeAttributeSetterCallback, 0, 0, nullptr, 0, v8::DEFAULT, stat ic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScript s, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, 870 {"testInterfaceAttribute", TestInterface5ImplementationV8Internal::testInter faceAttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::te stInterfaceAttributeAttributeSetterCallback, 0, 0, nullptr, 0, v8::DEFAULT, stat ic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScript s, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
871 {"doubleAttribute", TestInterface5ImplementationV8Internal::doubleAttributeA ttributeGetterCallback, TestInterface5ImplementationV8Internal::doubleAttributeA ttributeSetterCallback, 0, 0, nullptr, 0, v8::DEFAULT, static_cast<v8::PropertyA ttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration ::OnPrototype, V8DOMConfiguration::CheckHolder}, 871 {"doubleAttribute", TestInterface5ImplementationV8Internal::doubleAttributeA ttributeGetterCallback, TestInterface5ImplementationV8Internal::doubleAttributeA ttributeSetterCallback, 0, 0, nullptr, 0, v8::DEFAULT, static_cast<v8::PropertyA ttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration ::OnPrototype, V8DOMConfiguration::CheckHolder},
872 {"floatAttribute", TestInterface5ImplementationV8Internal::floatAttributeAtt ributeGetterCallback, TestInterface5ImplementationV8Internal::floatAttributeAttr ibuteSetterCallback, 0, 0, nullptr, 0, v8::DEFAULT, static_cast<v8::PropertyAttr ibute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::O nPrototype, V8DOMConfiguration::CheckHolder}, 872 {"floatAttribute", TestInterface5ImplementationV8Internal::floatAttributeAtt ributeGetterCallback, TestInterface5ImplementationV8Internal::floatAttributeAttr ibuteSetterCallback, 0, 0, nullptr, 0, v8::DEFAULT, static_cast<v8::PropertyAttr ibute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::O nPrototype, V8DOMConfiguration::CheckHolder},
873 {"unrestrictedDoubleAttribute", TestInterface5ImplementationV8Internal::unre strictedDoubleAttributeAttributeGetterCallback, TestInterface5ImplementationV8In ternal::unrestrictedDoubleAttributeAttributeSetterCallback, 0, 0, nullptr, 0, v8 ::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Exp osedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHold er}, 873 {"unrestrictedDoubleAttribute", TestInterface5ImplementationV8Internal::unre strictedDoubleAttributeAttributeGetterCallback, TestInterface5ImplementationV8In ternal::unrestrictedDoubleAttributeAttributeSetterCallback, 0, 0, nullptr, 0, v8 ::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Exp osedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHold er},
874 {"unrestrictedFloatAttribute", TestInterface5ImplementationV8Internal::unres trictedFloatAttributeAttributeGetterCallback, TestInterface5ImplementationV8Inte rnal::unrestrictedFloatAttributeAttributeSetterCallback, 0, 0, nullptr, 0, v8::D EFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Expose dToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder} , 874 {"unrestrictedFloatAttribute", TestInterface5ImplementationV8Internal::unres trictedFloatAttributeAttributeGetterCallback, TestInterface5ImplementationV8Inte rnal::unrestrictedFloatAttributeAttributeSetterCallback, 0, 0, nullptr, 0, v8::D EFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Expose dToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder} ,
875 {"staticStringAttribute", TestInterface5ImplementationV8Internal::staticStri ngAttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::stat icStringAttributeAttributeSetterCallback, 0, 0, nullptr, 0, v8::DEFAULT, static_ cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInterface, V8DOMConfiguration::CheckHolder}, 875 {"staticStringAttribute", TestInterface5ImplementationV8Internal::staticStri ngAttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::stat icStringAttributeAttributeSetterCallback, 0, 0, nullptr, 0, v8::DEFAULT, static_ cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInterface, V8DOMConfiguration::CheckHolder},
876 {"alwaysExposedAttribute", TestInterface5ImplementationV8Internal::alwaysExp osedAttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::al waysExposedAttributeAttributeSetterCallback, 0, 0, nullptr, 0, v8::DEFAULT, stat ic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScript s, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, 876 {"alwaysExposedAttribute", TestInterface5ImplementationV8Internal::alwaysExp osedAttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::al waysExposedAttributeAttributeSetterCallback, 0, 0, nullptr, 0, v8::DEFAULT, stat ic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScript s, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
877 }; 877 };
878 878
879 const V8DOMConfiguration::MethodConfiguration V8TestInterface5Methods[] = { 879 const V8DOMConfiguration::MethodConfiguration V8TestInterface5Methods[] = {
880 {"voidMethodTestInterfaceEmptyArg", TestInterface5ImplementationV8Internal:: voidMethodTestInterfaceEmptyArgMethodCallback, 0, 1, v8::None, V8DOMConfiguratio n::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, 880 {"voidMethodTestInterfaceEmptyArg", TestInterface5ImplementationV8Internal:: voidMethodTestInterfaceEmptyArgMethodCallback, 0, 1, v8::None, V8DOMConfiguratio n::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::Che ckHolder},
881 {"voidMethodDoubleArgFloatArg", TestInterface5ImplementationV8Internal::void MethodDoubleArgFloatArgMethodCallback, 0, 2, v8::None, V8DOMConfiguration::Expos edToAllScripts, V8DOMConfiguration::OnPrototype}, 881 {"voidMethodDoubleArgFloatArg", TestInterface5ImplementationV8Internal::void MethodDoubleArgFloatArgMethodCallback, 0, 2, v8::None, V8DOMConfiguration::Expos edToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder },
882 {"voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg", TestInterface5Implem entationV8Internal::voidMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethodCal lback, 0, 2, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigurati on::OnPrototype}, 882 {"voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg", TestInterface5Implem entationV8Internal::voidMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethodCal lback, 0, 2, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigurati on::OnPrototype, V8DOMConfiguration::CheckHolder},
883 {"voidMethod", TestInterface5ImplementationV8Internal::voidMethodMethodCallb ack, TestInterface5ImplementationV8Internal::voidMethodMethodCallbackForMainWorl d, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnP rototype}, 883 {"voidMethod", TestInterface5ImplementationV8Internal::voidMethodMethodCallb ack, TestInterface5ImplementationV8Internal::voidMethodMethodCallbackForMainWorl d, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnP rototype, V8DOMConfiguration::CheckHolder},
884 {"alwaysExposedMethod", TestInterface5ImplementationV8Internal::alwaysExpose dMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, 884 {"alwaysExposedMethod", TestInterface5ImplementationV8Internal::alwaysExpose dMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
885 {"alwaysExposedStaticMethod", TestInterface5ImplementationV8Internal::always ExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedTo AllScripts, V8DOMConfiguration::OnInterface}, 885 {"alwaysExposedStaticMethod", TestInterface5ImplementationV8Internal::always ExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedTo AllScripts, V8DOMConfiguration::OnInterface, V8DOMConfiguration::CheckHolder},
886 {"voidMethodBooleanOrDOMStringArg", TestInterface5ImplementationV8Internal:: voidMethodBooleanOrDOMStringArgMethodCallback, 0, 1, v8::None, V8DOMConfiguratio n::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, 886 {"voidMethodBooleanOrDOMStringArg", TestInterface5ImplementationV8Internal:: voidMethodBooleanOrDOMStringArgMethodCallback, 0, 1, v8::None, V8DOMConfiguratio n::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::Che ckHolder},
887 {"voidMethodDoubleOrDOMStringArg", TestInterface5ImplementationV8Internal::v oidMethodDoubleOrDOMStringArgMethodCallback, 0, 1, v8::None, V8DOMConfiguration: :ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, 887 {"voidMethodDoubleOrDOMStringArg", TestInterface5ImplementationV8Internal::v oidMethodDoubleOrDOMStringArgMethodCallback, 0, 1, v8::None, V8DOMConfiguration: :ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::Check Holder},
888 {"voidMethodVoidExperimentalCallbackFunction", TestInterface5ImplementationV 8Internal::voidMethodVoidExperimentalCallbackFunctionMethodCallback, 0, 1, v8::N one, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, 888 {"voidMethodVoidExperimentalCallbackFunction", TestInterface5ImplementationV 8Internal::voidMethodVoidExperimentalCallbackFunctionMethodCallback, 0, 1, v8::N one, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V 8DOMConfiguration::CheckHolder},
889 {"voidMethodVoidCallbackFunctionModulesArg", TestInterface5ImplementationV8I nternal::voidMethodVoidCallbackFunctionModulesArgMethodCallback, 0, 1, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, 889 {"voidMethodVoidCallbackFunctionModulesArg", TestInterface5ImplementationV8I nternal::voidMethodVoidCallbackFunctionModulesArgMethodCallback, 0, 1, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOM Configuration::CheckHolder},
890 {"keys", TestInterface5ImplementationV8Internal::keysMethodCallback, 0, 0, v 8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototyp e}, 890 {"keys", TestInterface5ImplementationV8Internal::keysMethodCallback, 0, 0, v 8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototyp e, V8DOMConfiguration::CheckHolder},
891 {"values", TestInterface5ImplementationV8Internal::valuesMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnProt otype}, 891 {"values", TestInterface5ImplementationV8Internal::valuesMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnProt otype, V8DOMConfiguration::CheckHolder},
892 {"entries", TestInterface5ImplementationV8Internal::entriesMethodCallback, 0 , 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPr ototype}, 892 {"entries", TestInterface5ImplementationV8Internal::entriesMethodCallback, 0 , 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPr ototype, V8DOMConfiguration::CheckHolder},
893 {"forEach", TestInterface5ImplementationV8Internal::forEachMethodCallback, 0 , 1, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPr ototype}, 893 {"forEach", TestInterface5ImplementationV8Internal::forEachMethodCallback, 0 , 1, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPr ototype, V8DOMConfiguration::CheckHolder},
894 {"toString", TestInterface5ImplementationV8Internal::toStringMethodCallback, 0, 0, static_cast<v8::PropertyAttribute>(v8::DontEnum), V8DOMConfiguration::Exp osedToAllScripts, V8DOMConfiguration::OnPrototype}, 894 {"toString", TestInterface5ImplementationV8Internal::toStringMethodCallback, 0, 0, static_cast<v8::PropertyAttribute>(v8::DontEnum), V8DOMConfiguration::Exp osedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHold er},
895 }; 895 };
896 896
897 static void installV8TestInterface5Template(v8::Isolate* isolate, const DOMWrapp erWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate) { 897 static void installV8TestInterface5Template(v8::Isolate* isolate, const DOMWrapp erWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate) {
898 // Initialize the interface object's template. 898 // Initialize the interface object's template.
899 V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplate, V8TestInterface5::wrapperTypeInfo.interfaceName, V8TestInterfaceEmpty::domTempl ate(isolate, world), V8TestInterface5::internalFieldCount); 899 V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplate, V8TestInterface5::wrapperTypeInfo.interfaceName, V8TestInterfaceEmpty::domTempl ate(isolate, world), V8TestInterface5::internalFieldCount);
900 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTemp late); 900 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTemp late);
901 ALLOW_UNUSED_LOCAL(signature); 901 ALLOW_UNUSED_LOCAL(signature);
902 v8::Local<v8::ObjectTemplate> instanceTemplate = interfaceTemplate->InstanceTe mplate(); 902 v8::Local<v8::ObjectTemplate> instanceTemplate = interfaceTemplate->InstanceTe mplate();
903 ALLOW_UNUSED_LOCAL(instanceTemplate); 903 ALLOW_UNUSED_LOCAL(instanceTemplate);
904 v8::Local<v8::ObjectTemplate> prototypeTemplate = interfaceTemplate->Prototype Template(); 904 v8::Local<v8::ObjectTemplate> prototypeTemplate = interfaceTemplate->Prototype Template();
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
954 V8DOMConfiguration::installAccessor(isolate, world, v8::Local<v8::Object>( ), prototypeObject, interfaceObject, signature, accessorConfiguration); 954 V8DOMConfiguration::installAccessor(isolate, world, v8::Local<v8::Object>( ), prototypeObject, interfaceObject, signature, accessorConfiguration);
955 } 955 }
956 if (executionContext && (executionContext->isDocument())) { 956 if (executionContext && (executionContext->isDocument())) {
957 const V8DOMConfiguration::AccessorConfiguration accessorConfiguration = {" windowExposedAttribute", TestInterface5ImplementationV8Internal::windowExposedAt tributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::windowEx posedAttributeAttributeSetterCallback, 0, 0, nullptr, 0, v8::DEFAULT, static_cas t<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8D OMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}; 957 const V8DOMConfiguration::AccessorConfiguration accessorConfiguration = {" windowExposedAttribute", TestInterface5ImplementationV8Internal::windowExposedAt tributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::windowEx posedAttributeAttributeSetterCallback, 0, 0, nullptr, 0, v8::DEFAULT, static_cas t<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8D OMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder};
958 V8DOMConfiguration::installAccessor(isolate, world, v8::Local<v8::Object>( ), prototypeObject, interfaceObject, signature, accessorConfiguration); 958 V8DOMConfiguration::installAccessor(isolate, world, v8::Local<v8::Object>( ), prototypeObject, interfaceObject, signature, accessorConfiguration);
959 } 959 }
960 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTemp late); 960 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTemp late);
961 ExecutionContext* executionContext = toExecutionContext(prototypeObject->Creat ionContext()); 961 ExecutionContext* executionContext = toExecutionContext(prototypeObject->Creat ionContext());
962 DCHECK(executionContext); 962 DCHECK(executionContext);
963 if (executionContext && (executionContext->isWorkerGlobalScope())) { 963 if (executionContext && (executionContext->isWorkerGlobalScope())) {
964 const V8DOMConfiguration::MethodConfiguration workerExposedMethodMethodCon figuration = {"workerExposedMethod", TestInterface5ImplementationV8Internal::wor kerExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAll Scripts, V8DOMConfiguration::OnPrototype}; 964 const V8DOMConfiguration::MethodConfiguration workerExposedMethodMethodCon figuration = {"workerExposedMethod", TestInterface5ImplementationV8Internal::wor kerExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAll Scripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder};
965 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, workerExposedMethodMethodConfigura tion); 965 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, workerExposedMethodMethodConfigura tion);
966 } 966 }
967 if (executionContext && (executionContext->isDocument())) { 967 if (executionContext && (executionContext->isDocument())) {
968 const V8DOMConfiguration::MethodConfiguration windowExposedMethodMethodCon figuration = {"windowExposedMethod", TestInterface5ImplementationV8Internal::win dowExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAll Scripts, V8DOMConfiguration::OnPrototype}; 968 const V8DOMConfiguration::MethodConfiguration windowExposedMethodMethodCon figuration = {"windowExposedMethod", TestInterface5ImplementationV8Internal::win dowExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAll Scripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder};
969 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, windowExposedMethodMethodConfigura tion); 969 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, windowExposedMethodMethodConfigura tion);
970 } 970 }
971 if (executionContext && (executionContext->isWorkerGlobalScope())) { 971 if (executionContext && (executionContext->isWorkerGlobalScope())) {
972 const V8DOMConfiguration::MethodConfiguration workerExposedStaticMethodMet hodConfiguration = {"workerExposedStaticMethod", TestInterface5ImplementationV8I nternal::workerExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfigura tion::ExposedToAllScripts, V8DOMConfiguration::OnInterface}; 972 const V8DOMConfiguration::MethodConfiguration workerExposedStaticMethodMet hodConfiguration = {"workerExposedStaticMethod", TestInterface5ImplementationV8I nternal::workerExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfigura tion::ExposedToAllScripts, V8DOMConfiguration::OnInterface, V8DOMConfiguration:: CheckHolder};
973 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, workerExposedStaticMethodMethodCon figuration); 973 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, workerExposedStaticMethodMethodCon figuration);
974 } 974 }
975 if (executionContext && (executionContext->isDocument())) { 975 if (executionContext && (executionContext->isDocument())) {
976 const V8DOMConfiguration::MethodConfiguration windowExposedStaticMethodMet hodConfiguration = {"windowExposedStaticMethod", TestInterface5ImplementationV8I nternal::windowExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfigura tion::ExposedToAllScripts, V8DOMConfiguration::OnInterface}; 976 const V8DOMConfiguration::MethodConfiguration windowExposedStaticMethodMet hodConfiguration = {"windowExposedStaticMethod", TestInterface5ImplementationV8I nternal::windowExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfigura tion::ExposedToAllScripts, V8DOMConfiguration::OnInterface, V8DOMConfiguration:: CheckHolder};
977 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, windowExposedStaticMethodMethodCon figuration); 977 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, windowExposedStaticMethodMethodCon figuration);
978 } 978 }
979 if (executionContext && (executionContext->isDocument() || executionContext->i sServiceWorkerGlobalScope())) { 979 if (executionContext && (executionContext->isDocument() || executionContext->i sServiceWorkerGlobalScope())) {
980 const V8DOMConfiguration::MethodConfiguration windowAndServiceWorkerExpose dMethodMethodConfiguration = {"windowAndServiceWorkerExposedMethod", TestInterfa ce5ImplementationV8Internal::windowAndServiceWorkerExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnP rototype}; 980 const V8DOMConfiguration::MethodConfiguration windowAndServiceWorkerExpose dMethodMethodConfiguration = {"windowAndServiceWorkerExposedMethod", TestInterfa ce5ImplementationV8Internal::windowAndServiceWorkerExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnP rototype, V8DOMConfiguration::CheckHolder};
981 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMetho dMethodConfiguration); 981 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMetho dMethodConfiguration);
982 } 982 }
983 } 983 }
984 984
985 } // namespace blink 985 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698