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

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

Issue 48633006: Teach V8GCController how to traverse TemplateContentDocumentFragment::host (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing 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') | Source/bindings/v8/V8GCController.cpp » ('j') | 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 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 2003 matching lines...) Expand 10 before | Expand all | Expand 10 after
2014 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 2014 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
2015 } 2015 }
2016 2016
2017 static void customSetterImplementedAsLongAttributeAttributeSetterCallback(v8::Lo cal<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<vo id>& info) 2017 static void customSetterImplementedAsLongAttributeAttributeSetterCallback(v8::Lo cal<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<vo id>& info)
2018 { 2018 {
2019 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); 2019 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
2020 V8TestObjectPython::customSetterImplementedAsLongAttributeAttributeSetterCus tom(jsValue, info); 2020 V8TestObjectPython::customSetterImplementedAsLongAttributeAttributeSetterCus tom(jsValue, info);
2021 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 2021 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
2022 } 2022 }
2023 2023
2024 static void documentFragmentAttributeAttributeGetter(const v8::PropertyCallbackI nfo<v8::Value>& info)
2025 {
2026 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
2027 RefPtr<DocumentFragment> result = imp->documentFragmentAttribute();
2028 if (result && DOMDataStore::setReturnValueFromWrapper<V8DocumentFragment>(in fo.GetReturnValue(), result.get()))
2029 return;
2030 v8::Handle<v8::Value> wrapper = toV8(result.get(), info.Holder(), info.GetIs olate());
2031 if (!wrapper.IsEmpty()) {
2032 V8HiddenPropertyName::setNamedHiddenReference(info.Holder(), "documentFr agmentAttribute", wrapper);
2033 v8SetReturnValue(info, wrapper);
2034 }
2035 }
2036
2037 static void documentFragmentAttributeAttributeGetterCallback(v8::Local<v8::Strin g>, const v8::PropertyCallbackInfo<v8::Value>& info)
2038 {
2039 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
2040 TestObjectPythonV8Internal::documentFragmentAttributeAttributeGetter(info);
2041 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
2042 }
2043
2044 static void documentFragmentAttributeAttributeSetter(v8::Local<v8::Value> jsValu e, const v8::PropertyCallbackInfo<void>& info)
2045 {
2046 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
2047 V8TRYCATCH_VOID(DocumentFragment*, cppValue, V8DocumentFragment::HasInstance (jsValue, info.GetIsolate(), worldType(info.GetIsolate())) ? V8DocumentFragment: :toNative(v8::Handle<v8::Object>::Cast(jsValue)) : 0);
2048 imp->setDocumentFragmentAttribute(WTF::getPtr(cppValue));
2049 }
2050
2051 static void documentFragmentAttributeAttributeSetterCallback(v8::Local<v8::Strin g>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info)
2052 {
2053 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
2054 TestObjectPythonV8Internal::documentFragmentAttributeAttributeSetter(jsValue , info);
2055 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
2056 }
2057
2058 static void measureAsLongAttributeAttributeGetter(const v8::PropertyCallbackInfo <v8::Value>& info) 2024 static void measureAsLongAttributeAttributeGetter(const v8::PropertyCallbackInfo <v8::Value>& info)
2059 { 2025 {
2060 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); 2026 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
2061 v8SetReturnValueInt(info, imp->measureAsLongAttribute()); 2027 v8SetReturnValueInt(info, imp->measureAsLongAttribute());
2062 } 2028 }
2063 2029
2064 static void measureAsLongAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 2030 static void measureAsLongAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
2065 { 2031 {
2066 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 2032 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
2067 UseCounter::count(activeDOMWindow(), UseCounter::TestFeature); 2033 UseCounter::count(activeDOMWindow(), UseCounter::TestFeature);
(...skipping 2932 matching lines...) Expand 10 before | Expand all | Expand 10 after
5000 {"doNotCheckSecurityLongAttribute", TestObjectPythonV8Internal::doNotCheckSe curityLongAttributeAttributeGetterCallback, TestObjectPythonV8Internal::doNotChe ckSecurityLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessC ontrol>(v8::ALL_CAN_READ | v8::ALL_CAN_WRITE), static_cast<v8::PropertyAttribute >(v8::None), 0 /* on instance */}, 4966 {"doNotCheckSecurityLongAttribute", TestObjectPythonV8Internal::doNotCheckSe curityLongAttributeAttributeGetterCallback, TestObjectPythonV8Internal::doNotChe ckSecurityLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessC ontrol>(v8::ALL_CAN_READ | v8::ALL_CAN_WRITE), static_cast<v8::PropertyAttribute >(v8::None), 0 /* on instance */},
5001 {"doNotCheckSecurityReadonlyLongAttribute", TestObjectPythonV8Internal::doNo tCheckSecurityReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0, static_c ast<v8::AccessControl>(v8::ALL_CAN_READ), static_cast<v8::PropertyAttribute>(v8: :None), 0 /* on instance */}, 4967 {"doNotCheckSecurityReadonlyLongAttribute", TestObjectPythonV8Internal::doNo tCheckSecurityReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0, static_c ast<v8::AccessControl>(v8::ALL_CAN_READ), static_cast<v8::PropertyAttribute>(v8: :None), 0 /* on instance */},
5002 {"doNotCheckSecurityOnGetterLongAttribute", TestObjectPythonV8Internal::doNo tCheckSecurityOnGetterLongAttributeAttributeGetterCallback, TestObjectPythonV8In ternal::doNotCheckSecurityOnGetterLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::ALL_CAN_READ), static_cast<v8::PropertyAttri bute>(v8::None), 0 /* on instance */}, 4968 {"doNotCheckSecurityOnGetterLongAttribute", TestObjectPythonV8Internal::doNo tCheckSecurityOnGetterLongAttributeAttributeGetterCallback, TestObjectPythonV8In ternal::doNotCheckSecurityOnGetterLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::ALL_CAN_READ), static_cast<v8::PropertyAttri bute>(v8::None), 0 /* on instance */},
5003 {"doNotCheckSecurityOnSetterLongAttribute", TestObjectPythonV8Internal::doNo tCheckSecurityOnSetterLongAttributeAttributeGetterCallback, TestObjectPythonV8In ternal::doNotCheckSecurityOnSetterLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::ALL_CAN_WRITE), static_cast<v8::PropertyAttr ibute>(v8::None), 0 /* on instance */}, 4969 {"doNotCheckSecurityOnSetterLongAttribute", TestObjectPythonV8Internal::doNo tCheckSecurityOnSetterLongAttributeAttributeGetterCallback, TestObjectPythonV8In ternal::doNotCheckSecurityOnSetterLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::ALL_CAN_WRITE), static_cast<v8::PropertyAttr ibute>(v8::None), 0 /* on instance */},
5004 {"enforceRangeLongAttribute", TestObjectPythonV8Internal::enforceRangeLongAt tributeAttributeGetterCallback, TestObjectPythonV8Internal::enforceRangeLongAttr ibuteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAUL T), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 4970 {"enforceRangeLongAttribute", TestObjectPythonV8Internal::enforceRangeLongAt tributeAttributeGetterCallback, TestObjectPythonV8Internal::enforceRangeLongAttr ibuteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAUL T), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
5005 {"getterRaisesExceptionLongAttribute", TestObjectPythonV8Internal::getterRai sesExceptionLongAttributeAttributeGetterCallback, TestObjectPythonV8Internal::ge tterRaisesExceptionLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8 ::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 / * on instance */}, 4971 {"getterRaisesExceptionLongAttribute", TestObjectPythonV8Internal::getterRai sesExceptionLongAttributeAttributeGetterCallback, TestObjectPythonV8Internal::ge tterRaisesExceptionLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8 ::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 / * on instance */},
5006 {"implementedAsLongAttribute", TestObjectPythonV8Internal::implementedAsLong AttributeAttributeGetterCallback, TestObjectPythonV8Internal::implementedAsLongA ttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEF AULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 4972 {"implementedAsLongAttribute", TestObjectPythonV8Internal::implementedAsLong AttributeAttributeGetterCallback, TestObjectPythonV8Internal::implementedAsLongA ttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEF AULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
5007 {"customImplementedAsLongAttribute", TestObjectPythonV8Internal::customImple mentedAsLongAttributeAttributeGetterCallback, TestObjectPythonV8Internal::custom ImplementedAsLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i nstance */}, 4973 {"customImplementedAsLongAttribute", TestObjectPythonV8Internal::customImple mentedAsLongAttributeAttributeGetterCallback, TestObjectPythonV8Internal::custom ImplementedAsLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i nstance */},
5008 {"customGetterImplementedAsLongAttribute", TestObjectPythonV8Internal::custo mGetterImplementedAsLongAttributeAttributeGetterCallback, TestObjectPythonV8Inte rnal::customGetterImplementedAsLongAttributeAttributeSetterCallback, 0, 0, 0, st atic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8 ::None), 0 /* on instance */}, 4974 {"customGetterImplementedAsLongAttribute", TestObjectPythonV8Internal::custo mGetterImplementedAsLongAttributeAttributeGetterCallback, TestObjectPythonV8Inte rnal::customGetterImplementedAsLongAttributeAttributeSetterCallback, 0, 0, 0, st atic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8 ::None), 0 /* on instance */},
5009 {"customSetterImplementedAsLongAttribute", TestObjectPythonV8Internal::custo mSetterImplementedAsLongAttributeAttributeGetterCallback, TestObjectPythonV8Inte rnal::customSetterImplementedAsLongAttributeAttributeSetterCallback, 0, 0, 0, st atic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8 ::None), 0 /* on instance */}, 4975 {"customSetterImplementedAsLongAttribute", TestObjectPythonV8Internal::custo mSetterImplementedAsLongAttributeAttributeGetterCallback, TestObjectPythonV8Inte rnal::customSetterImplementedAsLongAttributeAttributeSetterCallback, 0, 0, 0, st atic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8 ::None), 0 /* on instance */},
5010 {"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 */},
5011 {"measureAsLongAttribute", TestObjectPythonV8Internal::measureAsLongAttribut eAttributeGetterCallback, TestObjectPythonV8Internal::measureAsLongAttributeAttr ibuteSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stati c_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 4976 {"measureAsLongAttribute", TestObjectPythonV8Internal::measureAsLongAttribut eAttributeGetterCallback, TestObjectPythonV8Internal::measureAsLongAttributeAttr ibuteSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stati c_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
5012 {"notEnumerableLongAttribute", TestObjectPythonV8Internal::notEnumerableLong AttributeAttributeGetterCallback, TestObjectPythonV8Internal::notEnumerableLongA ttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEF AULT), static_cast<v8::PropertyAttribute>(v8::DontEnum), 0 /* on instance */}, 4977 {"notEnumerableLongAttribute", TestObjectPythonV8Internal::notEnumerableLong AttributeAttributeGetterCallback, TestObjectPythonV8Internal::notEnumerableLongA ttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEF AULT), static_cast<v8::PropertyAttribute>(v8::DontEnum), 0 /* on instance */},
5013 {"perWorldBindingsLongAttribute", TestObjectPythonV8Internal::perWorldBindin gsLongAttributeAttributeGetterCallback, TestObjectPythonV8Internal::perWorldBind ingsLongAttributeAttributeSetterCallback, TestObjectPythonV8Internal::perWorldBi ndingsLongAttributeAttributeGetterCallbackForMainWorld, TestObjectPythonV8Intern al::perWorldBindingsLongAttributeAttributeSetterCallbackForMainWorld, 0, static_ cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::Non e), 0 /* on instance */}, 4978 {"perWorldBindingsLongAttribute", TestObjectPythonV8Internal::perWorldBindin gsLongAttributeAttributeGetterCallback, TestObjectPythonV8Internal::perWorldBind ingsLongAttributeAttributeSetterCallback, TestObjectPythonV8Internal::perWorldBi ndingsLongAttributeAttributeGetterCallbackForMainWorld, TestObjectPythonV8Intern al::perWorldBindingsLongAttributeAttributeSetterCallbackForMainWorld, 0, static_ cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::Non e), 0 /* on instance */},
5014 {"perWorldBindingsReadonlyLongAttribute", TestObjectPythonV8Internal::perWor ldBindingsReadonlyLongAttributeAttributeGetterCallback, 0, TestObjectPythonV8Int ernal::perWorldBindingsReadonlyLongAttributeAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttr ibute>(v8::None), 0 /* on instance */}, 4979 {"perWorldBindingsReadonlyLongAttribute", TestObjectPythonV8Internal::perWor ldBindingsReadonlyLongAttributeAttributeGetterCallback, 0, TestObjectPythonV8Int ernal::perWorldBindingsReadonlyLongAttributeAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttr ibute>(v8::None), 0 /* on instance */},
5015 {"activityLoggingAccessPerWorldBindingsLongAttribute", TestObjectPythonV8Int ernal::activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterCallback , TestObjectPythonV8Internal::activityLoggingAccessPerWorldBindingsLongAttribute AttributeSetterCallback, TestObjectPythonV8Internal::activityLoggingAccessPerWor ldBindingsLongAttributeAttributeGetterCallbackForMainWorld, TestObjectPythonV8In ternal::activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetterCallbac kForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::P ropertyAttribute>(v8::None), 0 /* on instance */}, 4980 {"activityLoggingAccessPerWorldBindingsLongAttribute", TestObjectPythonV8Int ernal::activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterCallback , TestObjectPythonV8Internal::activityLoggingAccessPerWorldBindingsLongAttribute AttributeSetterCallback, TestObjectPythonV8Internal::activityLoggingAccessPerWor ldBindingsLongAttributeAttributeGetterCallbackForMainWorld, TestObjectPythonV8In ternal::activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetterCallbac kForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::P ropertyAttribute>(v8::None), 0 /* on instance */},
5016 {"activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute", Test ObjectPythonV8Internal::activityLoggingAccessForIsolatedWorldsPerWorldBindingsLo ngAttributeAttributeGetterCallback, TestObjectPythonV8Internal::activityLoggingA ccessForIsolatedWorldsPerWorldBindingsLongAttributeAttributeSetterCallback, Test ObjectPythonV8Internal::activityLoggingAccessForIsolatedWorldsPerWorldBindingsLo ngAttributeAttributeGetterCallbackForMainWorld, TestObjectPythonV8Internal::acti vityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeAttributeSetterCa llbackForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast< v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 4981 {"activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute", Test ObjectPythonV8Internal::activityLoggingAccessForIsolatedWorldsPerWorldBindingsLo ngAttributeAttributeGetterCallback, TestObjectPythonV8Internal::activityLoggingA ccessForIsolatedWorldsPerWorldBindingsLongAttributeAttributeSetterCallback, Test ObjectPythonV8Internal::activityLoggingAccessForIsolatedWorldsPerWorldBindingsLo ngAttributeAttributeGetterCallbackForMainWorld, TestObjectPythonV8Internal::acti vityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeAttributeSetterCa llbackForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast< v8::PropertyAttribute>(v8::None), 0 /* on instance */},
5017 {"activityLoggingGetterPerWorldBindingsLongAttribute", TestObjectPythonV8Int ernal::activityLoggingGetterPerWorldBindingsLongAttributeAttributeGetterCallback , TestObjectPythonV8Internal::activityLoggingGetterPerWorldBindingsLongAttribute AttributeSetterCallback, TestObjectPythonV8Internal::activityLoggingGetterPerWor ldBindingsLongAttributeAttributeGetterCallbackForMainWorld, TestObjectPythonV8In ternal::activityLoggingGetterPerWorldBindingsLongAttributeAttributeSetterCallbac kForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::P ropertyAttribute>(v8::None), 0 /* on instance */}, 4982 {"activityLoggingGetterPerWorldBindingsLongAttribute", TestObjectPythonV8Int ernal::activityLoggingGetterPerWorldBindingsLongAttributeAttributeGetterCallback , TestObjectPythonV8Internal::activityLoggingGetterPerWorldBindingsLongAttribute AttributeSetterCallback, TestObjectPythonV8Internal::activityLoggingGetterPerWor ldBindingsLongAttributeAttributeGetterCallbackForMainWorld, TestObjectPythonV8In ternal::activityLoggingGetterPerWorldBindingsLongAttributeAttributeSetterCallbac kForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::P ropertyAttribute>(v8::None), 0 /* on instance */},
5018 {"activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttribute", Test ObjectPythonV8Internal::activityLoggingGetterForIsolatedWorldsPerWorldBindingsLo ngAttributeAttributeGetterCallback, TestObjectPythonV8Internal::activityLoggingG etterForIsolatedWorldsPerWorldBindingsLongAttributeAttributeSetterCallback, Test ObjectPythonV8Internal::activityLoggingGetterForIsolatedWorldsPerWorldBindingsLo ngAttributeAttributeGetterCallbackForMainWorld, TestObjectPythonV8Internal::acti vityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeAttributeSetterCa llbackForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast< v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 4983 {"activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttribute", Test ObjectPythonV8Internal::activityLoggingGetterForIsolatedWorldsPerWorldBindingsLo ngAttributeAttributeGetterCallback, TestObjectPythonV8Internal::activityLoggingG etterForIsolatedWorldsPerWorldBindingsLongAttributeAttributeSetterCallback, Test ObjectPythonV8Internal::activityLoggingGetterForIsolatedWorldsPerWorldBindingsLo ngAttributeAttributeGetterCallbackForMainWorld, TestObjectPythonV8Internal::acti vityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeAttributeSetterCa llbackForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast< v8::PropertyAttribute>(v8::None), 0 /* on instance */},
5019 {"raisesExceptionLongAttribute", TestObjectPythonV8Internal::raisesException LongAttributeAttributeGetterCallback, TestObjectPythonV8Internal::raisesExceptio nLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v 8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 4984 {"raisesExceptionLongAttribute", TestObjectPythonV8Internal::raisesException LongAttributeAttributeGetterCallback, TestObjectPythonV8Internal::raisesExceptio nLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v 8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
5020 {"reflectTestInterfaceAttribute", TestObjectPythonV8Internal::reflectTestInt erfaceAttributeAttributeGetterCallback, TestObjectPythonV8Internal::reflectTestI nterfaceAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl >(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance * /}, 4985 {"reflectTestInterfaceAttribute", TestObjectPythonV8Internal::reflectTestInt erfaceAttributeAttributeGetterCallback, TestObjectPythonV8Internal::reflectTestI nterfaceAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl >(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance * /},
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
5322 V8DOMWrapper::associateObjectWithWrapper<V8TestObjectPython>(impl, &wrapperT ypeInfo, wrapper, isolate, WrapperConfiguration::Independent); 5287 V8DOMWrapper::associateObjectWithWrapper<V8TestObjectPython>(impl, &wrapperT ypeInfo, wrapper, isolate, WrapperConfiguration::Independent);
5323 return wrapper; 5288 return wrapper;
5324 } 5289 }
5325 5290
5326 void V8TestObjectPython::derefObject(void* object) 5291 void V8TestObjectPython::derefObject(void* object)
5327 { 5292 {
5328 fromInternalPointer(object)->deref(); 5293 fromInternalPointer(object)->deref();
5329 } 5294 }
5330 5295
5331 } // namespace WebCore 5296 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/idls/TestObjectPython.idl ('k') | Source/bindings/v8/V8GCController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698