| OLD | NEW |
| 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 1778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1789 } | 1789 } |
| 1790 | 1790 |
| 1791 static void deprecatedLongAttributeAttributeSetterCallback(v8::Local<v8::String>
, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 1791 static void deprecatedLongAttributeAttributeSetterCallback(v8::Local<v8::String>
, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
| 1792 { | 1792 { |
| 1793 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 1793 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 1794 UseCounter::countDeprecation(activeExecutionContext(), UseCounter::LongAttri
bute); | 1794 UseCounter::countDeprecation(activeExecutionContext(), UseCounter::LongAttri
bute); |
| 1795 TestObjectPythonV8Internal::deprecatedLongAttributeAttributeSetter(jsValue,
info); | 1795 TestObjectPythonV8Internal::deprecatedLongAttributeAttributeSetter(jsValue,
info); |
| 1796 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 1796 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 1797 } | 1797 } |
| 1798 | 1798 |
| 1799 static void doNotCheckSecurityLongAttributeAttributeGetter(const v8::PropertyCal
lbackInfo<v8::Value>& info) | |
| 1800 { | |
| 1801 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); | |
| 1802 v8SetReturnValueInt(info, imp->doNotCheckSecurityLongAttribute()); | |
| 1803 } | |
| 1804 | |
| 1805 static void doNotCheckSecurityLongAttributeAttributeGetterCallback(v8::Local<v8:
:String>, const v8::PropertyCallbackInfo<v8::Value>& info) | |
| 1806 { | |
| 1807 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | |
| 1808 TestObjectPythonV8Internal::doNotCheckSecurityLongAttributeAttributeGetter(i
nfo); | |
| 1809 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | |
| 1810 } | |
| 1811 | |
| 1812 static void doNotCheckSecurityLongAttributeAttributeSetter(v8::Local<v8::Value>
jsValue, const v8::PropertyCallbackInfo<void>& info) | |
| 1813 { | |
| 1814 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); | |
| 1815 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); | |
| 1816 imp->setDoNotCheckSecurityLongAttribute(cppValue); | |
| 1817 } | |
| 1818 | |
| 1819 static void doNotCheckSecurityLongAttributeAttributeSetterCallback(v8::Local<v8:
:String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& in
fo) | |
| 1820 { | |
| 1821 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | |
| 1822 TestObjectPythonV8Internal::doNotCheckSecurityLongAttributeAttributeSetter(j
sValue, info); | |
| 1823 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | |
| 1824 } | |
| 1825 | |
| 1826 static void doNotCheckSecurityReadonlyLongAttributeAttributeGetter(const v8::Pro
pertyCallbackInfo<v8::Value>& info) | |
| 1827 { | |
| 1828 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); | |
| 1829 v8SetReturnValueInt(info, imp->doNotCheckSecurityReadonlyLongAttribute()); | |
| 1830 } | |
| 1831 | |
| 1832 static void doNotCheckSecurityReadonlyLongAttributeAttributeGetterCallback(v8::L
ocal<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) | |
| 1833 { | |
| 1834 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | |
| 1835 TestObjectPythonV8Internal::doNotCheckSecurityReadonlyLongAttributeAttribute
Getter(info); | |
| 1836 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | |
| 1837 } | |
| 1838 | |
| 1839 static void doNotCheckSecurityOnSetterLongAttributeAttributeGetter(const v8::Pro
pertyCallbackInfo<v8::Value>& info) | |
| 1840 { | |
| 1841 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); | |
| 1842 v8SetReturnValueInt(info, imp->doNotCheckSecurityOnSetterLongAttribute()); | |
| 1843 } | |
| 1844 | |
| 1845 static void doNotCheckSecurityOnSetterLongAttributeAttributeGetterCallback(v8::L
ocal<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) | |
| 1846 { | |
| 1847 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | |
| 1848 TestObjectPythonV8Internal::doNotCheckSecurityOnSetterLongAttributeAttribute
Getter(info); | |
| 1849 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | |
| 1850 } | |
| 1851 | |
| 1852 static void doNotCheckSecurityOnSetterLongAttributeAttributeSetter(v8::Local<v8:
:Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | |
| 1853 { | |
| 1854 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); | |
| 1855 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); | |
| 1856 imp->setDoNotCheckSecurityOnSetterLongAttribute(cppValue); | |
| 1857 } | |
| 1858 | |
| 1859 static void doNotCheckSecurityOnSetterLongAttributeAttributeSetterCallback(v8::L
ocal<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<v
oid>& info) | |
| 1860 { | |
| 1861 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | |
| 1862 TestObjectPythonV8Internal::doNotCheckSecurityOnSetterLongAttributeAttribute
Setter(jsValue, info); | |
| 1863 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | |
| 1864 } | |
| 1865 | |
| 1866 static void enforceRangeLongAttributeAttributeGetter(const v8::PropertyCallbackI
nfo<v8::Value>& info) | 1799 static void enforceRangeLongAttributeAttributeGetter(const v8::PropertyCallbackI
nfo<v8::Value>& info) |
| 1867 { | 1800 { |
| 1868 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); | 1801 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); |
| 1869 v8SetReturnValueInt(info, imp->enforceRangeLongAttribute()); | 1802 v8SetReturnValueInt(info, imp->enforceRangeLongAttribute()); |
| 1870 } | 1803 } |
| 1871 | 1804 |
| 1872 static void enforceRangeLongAttributeAttributeGetterCallback(v8::Local<v8::Strin
g>, const v8::PropertyCallbackInfo<v8::Value>& info) | 1805 static void enforceRangeLongAttributeAttributeGetterCallback(v8::Local<v8::Strin
g>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 1873 { | 1806 { |
| 1874 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 1807 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 1875 TestObjectPythonV8Internal::enforceRangeLongAttributeAttributeGetter(info); | 1808 TestObjectPythonV8Internal::enforceRangeLongAttributeAttributeGetter(info); |
| (...skipping 4268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6144 #endif // ENABLE(CONDITION_1) || ENABLE(CONDITION_2) | 6077 #endif // ENABLE(CONDITION_1) || ENABLE(CONDITION_2) |
| 6145 {"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 */}, | 6078 {"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 */}, |
| 6146 {"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 */}, | 6079 {"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 */}, |
| 6147 {"customGetterReadonlyObjectAttribute", TestObjectPythonV8Internal::customGe
tterReadonlyObjectAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::
AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /*
on instance */}, | 6080 {"customGetterReadonlyObjectAttribute", TestObjectPythonV8Internal::customGe
tterReadonlyObjectAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::
AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /*
on instance */}, |
| 6148 {"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 */}, | 6081 {"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 */}, |
| 6149 #if ENABLE(CONDITION) | 6082 #if ENABLE(CONDITION) |
| 6150 {"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 */}, | 6083 {"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 */}, |
| 6151 #endif // ENABLE(CONDITION) | 6084 #endif // ENABLE(CONDITION) |
| 6152 {"customElementsCallbacksReadonlyLongAttribute", TestObjectPythonV8Internal:
:customElementsCallbacksReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0
, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute
>(v8::None), 0 /* on instance */}, | 6085 {"customElementsCallbacksReadonlyLongAttribute", TestObjectPythonV8Internal:
:customElementsCallbacksReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0
, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute
>(v8::None), 0 /* on instance */}, |
| 6153 {"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 */}, | 6086 {"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 */}, |
| 6154 {"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 */}, | |
| 6155 {"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 */}, | |
| 6156 {"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 */}, | |
| 6157 {"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 */}, | 6087 {"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 */}, |
| 6158 {"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 */}, | 6088 {"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 */}, |
| 6159 {"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 */}, | 6089 {"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 */}, |
| 6160 {"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 */}, | 6090 {"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 */}, |
| 6161 {"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 */}, | 6091 {"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 */}, |
| 6162 {"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 */}, | 6092 {"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 */}, |
| 6163 {"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 */}, | 6093 {"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 */}, |
| 6164 {"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 */}, | 6094 {"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 */}, |
| 6165 {"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 */}, | 6095 {"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 */}, |
| 6166 {"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 */}, | 6096 {"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 Loading... |
| 6561 V8DOMWrapper::associateObjectWithWrapper<V8TestObjectPython>(impl, &wrapperT
ypeInfo, wrapper, isolate, WrapperConfiguration::Independent); | 6491 V8DOMWrapper::associateObjectWithWrapper<V8TestObjectPython>(impl, &wrapperT
ypeInfo, wrapper, isolate, WrapperConfiguration::Independent); |
| 6562 return wrapper; | 6492 return wrapper; |
| 6563 } | 6493 } |
| 6564 | 6494 |
| 6565 void V8TestObjectPython::derefObject(void* object) | 6495 void V8TestObjectPython::derefObject(void* object) |
| 6566 { | 6496 { |
| 6567 fromInternalPointer(object)->deref(); | 6497 fromInternalPointer(object)->deref(); |
| 6568 } | 6498 } |
| 6569 | 6499 |
| 6570 } // namespace WebCore | 6500 } // namespace WebCore |
| OLD | NEW |