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

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

Issue 77453002: IDL compiler: [CheckSecurity=Frame] interface + [DoNotCheckSecurity] members (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced to fixes 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
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 1779 matching lines...) Expand 10 before | Expand all | Expand 10 after
1790 } 1790 }
1791 1791
1792 static void deprecatedLongAttributeAttributeSetterCallback(v8::Local<v8::String> , v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) 1792 static void deprecatedLongAttributeAttributeSetterCallback(v8::Local<v8::String> , v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info)
1793 { 1793 {
1794 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); 1794 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
1795 UseCounter::countDeprecation(activeExecutionContext(), UseCounter::LongAttri bute); 1795 UseCounter::countDeprecation(activeExecutionContext(), UseCounter::LongAttri bute);
1796 TestObjectPythonV8Internal::deprecatedLongAttributeAttributeSetter(jsValue, info); 1796 TestObjectPythonV8Internal::deprecatedLongAttributeAttributeSetter(jsValue, info);
1797 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 1797 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
1798 } 1798 }
1799 1799
1800 static void doNotCheckSecurityLongAttributeAttributeGetter(const v8::PropertyCal lbackInfo<v8::Value>& info)
1801 {
1802 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
1803 v8SetReturnValueInt(info, imp->doNotCheckSecurityLongAttribute());
1804 }
1805
1806 static void doNotCheckSecurityLongAttributeAttributeGetterCallback(v8::Local<v8: :String>, const v8::PropertyCallbackInfo<v8::Value>& info)
1807 {
1808 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
1809 TestObjectPythonV8Internal::doNotCheckSecurityLongAttributeAttributeGetter(i nfo);
1810 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
1811 }
1812
1813 static void doNotCheckSecurityLongAttributeAttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info)
1814 {
1815 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
1816 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue));
1817 imp->setDoNotCheckSecurityLongAttribute(cppValue);
1818 }
1819
1820 static void doNotCheckSecurityLongAttributeAttributeSetterCallback(v8::Local<v8: :String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& in fo)
1821 {
1822 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
1823 TestObjectPythonV8Internal::doNotCheckSecurityLongAttributeAttributeSetter(j sValue, info);
1824 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
1825 }
1826
1827 static void doNotCheckSecurityReadonlyLongAttributeAttributeGetter(const v8::Pro pertyCallbackInfo<v8::Value>& info)
1828 {
1829 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
1830 v8SetReturnValueInt(info, imp->doNotCheckSecurityReadonlyLongAttribute());
1831 }
1832
1833 static void doNotCheckSecurityReadonlyLongAttributeAttributeGetterCallback(v8::L ocal<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
1834 {
1835 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
1836 TestObjectPythonV8Internal::doNotCheckSecurityReadonlyLongAttributeAttribute Getter(info);
1837 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
1838 }
1839
1840 static void doNotCheckSecurityOnSetterLongAttributeAttributeGetter(const v8::Pro pertyCallbackInfo<v8::Value>& info)
1841 {
1842 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
1843 v8SetReturnValueInt(info, imp->doNotCheckSecurityOnSetterLongAttribute());
1844 }
1845
1846 static void doNotCheckSecurityOnSetterLongAttributeAttributeGetterCallback(v8::L ocal<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
1847 {
1848 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
1849 TestObjectPythonV8Internal::doNotCheckSecurityOnSetterLongAttributeAttribute Getter(info);
1850 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
1851 }
1852
1853 static void doNotCheckSecurityOnSetterLongAttributeAttributeSetter(v8::Local<v8: :Value> jsValue, const v8::PropertyCallbackInfo<void>& info)
1854 {
1855 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
1856 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue));
1857 imp->setDoNotCheckSecurityOnSetterLongAttribute(cppValue);
1858 }
1859
1860 static void doNotCheckSecurityOnSetterLongAttributeAttributeSetterCallback(v8::L ocal<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<v oid>& info)
1861 {
1862 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
1863 TestObjectPythonV8Internal::doNotCheckSecurityOnSetterLongAttributeAttribute Setter(jsValue, info);
1864 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
1865 }
1866
1867 static void enforceRangeLongAttributeAttributeGetter(const v8::PropertyCallbackI nfo<v8::Value>& info) 1800 static void enforceRangeLongAttributeAttributeGetter(const v8::PropertyCallbackI nfo<v8::Value>& info)
1868 { 1801 {
1869 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); 1802 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
1870 v8SetReturnValueInt(info, imp->enforceRangeLongAttribute()); 1803 v8SetReturnValueInt(info, imp->enforceRangeLongAttribute());
1871 } 1804 }
1872 1805
1873 static void enforceRangeLongAttributeAttributeGetterCallback(v8::Local<v8::Strin g>, const v8::PropertyCallbackInfo<v8::Value>& info) 1806 static void enforceRangeLongAttributeAttributeGetterCallback(v8::Local<v8::Strin g>, const v8::PropertyCallbackInfo<v8::Value>& info)
1874 { 1807 {
1875 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 1808 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
1876 TestObjectPythonV8Internal::enforceRangeLongAttributeAttributeGetter(info); 1809 TestObjectPythonV8Internal::enforceRangeLongAttributeAttributeGetter(info);
(...skipping 4263 matching lines...) Expand 10 before | Expand all | Expand 10 after
6140 #endif // ENABLE(CONDITION_1) || ENABLE(CONDITION_2) 6073 #endif // ENABLE(CONDITION_1) || ENABLE(CONDITION_2)
6141 {"customObjectAttribute", TestObjectPythonV8Internal::customObjectAttributeA ttributeGetterCallback, TestObjectPythonV8Internal::customObjectAttributeAttribu teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c ast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 6074 {"customObjectAttribute", TestObjectPythonV8Internal::customObjectAttributeA ttributeGetterCallback, TestObjectPythonV8Internal::customObjectAttributeAttribu teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c ast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
6142 {"customGetterLongAttribute", TestObjectPythonV8Internal::customGetterLongAt tributeAttributeGetterCallback, TestObjectPythonV8Internal::customGetterLongAttr ibuteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAUL T), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 6075 {"customGetterLongAttribute", TestObjectPythonV8Internal::customGetterLongAt tributeAttributeGetterCallback, TestObjectPythonV8Internal::customGetterLongAttr ibuteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAUL T), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
6143 {"customGetterReadonlyObjectAttribute", TestObjectPythonV8Internal::customGe tterReadonlyObjectAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8:: AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 6076 {"customGetterReadonlyObjectAttribute", TestObjectPythonV8Internal::customGe tterReadonlyObjectAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8:: AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
6144 {"customSetterLongAttribute", TestObjectPythonV8Internal::customSetterLongAt tributeAttributeGetterCallback, TestObjectPythonV8Internal::customSetterLongAttr ibuteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAUL T), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 6077 {"customSetterLongAttribute", TestObjectPythonV8Internal::customSetterLongAt tributeAttributeGetterCallback, TestObjectPythonV8Internal::customSetterLongAttr ibuteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAUL T), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
6145 #if ENABLE(CONDITION) 6078 #if ENABLE(CONDITION)
6146 {"customLongAttribute", TestObjectPythonV8Internal::customLongAttributeAttri buteGetterCallback, TestObjectPythonV8Internal::customLongAttributeAttributeSett erCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8 ::PropertyAttribute>(v8::None), 0 /* on instance */}, 6079 {"customLongAttribute", TestObjectPythonV8Internal::customLongAttributeAttri buteGetterCallback, TestObjectPythonV8Internal::customLongAttributeAttributeSett erCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8 ::PropertyAttribute>(v8::None), 0 /* on instance */},
6147 #endif // ENABLE(CONDITION) 6080 #endif // ENABLE(CONDITION)
6148 {"customElementsCallbacksReadonlyLongAttribute", TestObjectPythonV8Internal: :customElementsCallbacksReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0 , static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute >(v8::None), 0 /* on instance */}, 6081 {"customElementsCallbacksReadonlyLongAttribute", TestObjectPythonV8Internal: :customElementsCallbacksReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0 , static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute >(v8::None), 0 /* on instance */},
6149 {"deprecatedLongAttribute", TestObjectPythonV8Internal::deprecatedLongAttrib uteAttributeGetterCallback, TestObjectPythonV8Internal::deprecatedLongAttributeA ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 6082 {"deprecatedLongAttribute", TestObjectPythonV8Internal::deprecatedLongAttrib uteAttributeGetterCallback, TestObjectPythonV8Internal::deprecatedLongAttributeA ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
6150 {"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 */},
6151 {"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 */},
6152 {"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 */},
6153 {"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 */}, 6083 {"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 */},
6154 {"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 */}, 6084 {"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 */},
6155 {"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 */}, 6085 {"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 */},
6156 {"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 */}, 6086 {"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 */},
6157 {"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 */}, 6087 {"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 */},
6158 {"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 */}, 6088 {"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 */},
6159 {"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 */}, 6089 {"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 */},
6160 {"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 */}, 6090 {"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 */},
6161 {"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 */}, 6091 {"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 */},
6162 {"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 */}, 6092 {"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 */},
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
6557 V8DOMWrapper::associateObjectWithWrapper<V8TestObjectPython>(impl, &wrapperT ypeInfo, wrapper, isolate, WrapperConfiguration::Independent); 6487 V8DOMWrapper::associateObjectWithWrapper<V8TestObjectPython>(impl, &wrapperT ypeInfo, wrapper, isolate, WrapperConfiguration::Independent);
6558 return wrapper; 6488 return wrapper;
6559 } 6489 }
6560 6490
6561 void V8TestObjectPython::derefObject(void* object) 6491 void V8TestObjectPython::derefObject(void* object)
6562 { 6492 {
6563 fromInternalPointer(object)->deref(); 6493 fromInternalPointer(object)->deref();
6564 } 6494 }
6565 6495
6566 } // namespace WebCore 6496 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698