| 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 1780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1791 } | 1791 } |
| 1792 | 1792 |
| 1793 static void deprecatedLongAttributeAttributeSetterCallback(v8::Local<v8::String>
, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 1793 static void deprecatedLongAttributeAttributeSetterCallback(v8::Local<v8::String>
, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
| 1794 { | 1794 { |
| 1795 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 1795 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 1796 UseCounter::countDeprecation(activeExecutionContext(), UseCounter::LongAttri
bute); | 1796 UseCounter::countDeprecation(activeExecutionContext(), UseCounter::LongAttri
bute); |
| 1797 TestObjectPythonV8Internal::deprecatedLongAttributeAttributeSetter(jsValue,
info); | 1797 TestObjectPythonV8Internal::deprecatedLongAttributeAttributeSetter(jsValue,
info); |
| 1798 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 1798 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 1799 } | 1799 } |
| 1800 | 1800 |
| 1801 static void doNotCheckSecurityLongAttributeAttributeGetter(const v8::PropertyCal
lbackInfo<v8::Value>& info) | |
| 1802 { | |
| 1803 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); | |
| 1804 v8SetReturnValueInt(info, imp->doNotCheckSecurityLongAttribute()); | |
| 1805 } | |
| 1806 | |
| 1807 static void doNotCheckSecurityLongAttributeAttributeGetterCallback(v8::Local<v8:
:String>, const v8::PropertyCallbackInfo<v8::Value>& info) | |
| 1808 { | |
| 1809 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | |
| 1810 TestObjectPythonV8Internal::doNotCheckSecurityLongAttributeAttributeGetter(i
nfo); | |
| 1811 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | |
| 1812 } | |
| 1813 | |
| 1814 static void doNotCheckSecurityLongAttributeAttributeSetter(v8::Local<v8::Value>
jsValue, const v8::PropertyCallbackInfo<void>& info) | |
| 1815 { | |
| 1816 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); | |
| 1817 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); | |
| 1818 imp->setDoNotCheckSecurityLongAttribute(cppValue); | |
| 1819 } | |
| 1820 | |
| 1821 static void doNotCheckSecurityLongAttributeAttributeSetterCallback(v8::Local<v8:
:String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& in
fo) | |
| 1822 { | |
| 1823 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | |
| 1824 TestObjectPythonV8Internal::doNotCheckSecurityLongAttributeAttributeSetter(j
sValue, info); | |
| 1825 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | |
| 1826 } | |
| 1827 | |
| 1828 static void doNotCheckSecurityReadonlyLongAttributeAttributeGetter(const v8::Pro
pertyCallbackInfo<v8::Value>& info) | |
| 1829 { | |
| 1830 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); | |
| 1831 v8SetReturnValueInt(info, imp->doNotCheckSecurityReadonlyLongAttribute()); | |
| 1832 } | |
| 1833 | |
| 1834 static void doNotCheckSecurityReadonlyLongAttributeAttributeGetterCallback(v8::L
ocal<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) | |
| 1835 { | |
| 1836 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | |
| 1837 TestObjectPythonV8Internal::doNotCheckSecurityReadonlyLongAttributeAttribute
Getter(info); | |
| 1838 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | |
| 1839 } | |
| 1840 | |
| 1841 static void doNotCheckSecurityOnGetterLongAttributeAttributeGetter(const v8::Pro
pertyCallbackInfo<v8::Value>& info) | |
| 1842 { | |
| 1843 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); | |
| 1844 v8SetReturnValueInt(info, imp->doNotCheckSecurityOnGetterLongAttribute()); | |
| 1845 } | |
| 1846 | |
| 1847 static void doNotCheckSecurityOnGetterLongAttributeAttributeGetterCallback(v8::L
ocal<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) | |
| 1848 { | |
| 1849 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | |
| 1850 TestObjectPythonV8Internal::doNotCheckSecurityOnGetterLongAttributeAttribute
Getter(info); | |
| 1851 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | |
| 1852 } | |
| 1853 | |
| 1854 static void doNotCheckSecurityOnGetterLongAttributeAttributeSetter(v8::Local<v8:
:Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | |
| 1855 { | |
| 1856 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); | |
| 1857 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); | |
| 1858 imp->setDoNotCheckSecurityOnGetterLongAttribute(cppValue); | |
| 1859 } | |
| 1860 | |
| 1861 static void doNotCheckSecurityOnGetterLongAttributeAttributeSetterCallback(v8::L
ocal<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<v
oid>& info) | |
| 1862 { | |
| 1863 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | |
| 1864 TestObjectPythonV8Internal::doNotCheckSecurityOnGetterLongAttributeAttribute
Setter(jsValue, info); | |
| 1865 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | |
| 1866 } | |
| 1867 | |
| 1868 static void doNotCheckSecurityOnSetterLongAttributeAttributeGetter(const v8::Pro
pertyCallbackInfo<v8::Value>& info) | |
| 1869 { | |
| 1870 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); | |
| 1871 v8SetReturnValueInt(info, imp->doNotCheckSecurityOnSetterLongAttribute()); | |
| 1872 } | |
| 1873 | |
| 1874 static void doNotCheckSecurityOnSetterLongAttributeAttributeGetterCallback(v8::L
ocal<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) | |
| 1875 { | |
| 1876 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | |
| 1877 TestObjectPythonV8Internal::doNotCheckSecurityOnSetterLongAttributeAttribute
Getter(info); | |
| 1878 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | |
| 1879 } | |
| 1880 | |
| 1881 static void doNotCheckSecurityOnSetterLongAttributeAttributeSetter(v8::Local<v8:
:Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | |
| 1882 { | |
| 1883 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); | |
| 1884 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); | |
| 1885 imp->setDoNotCheckSecurityOnSetterLongAttribute(cppValue); | |
| 1886 } | |
| 1887 | |
| 1888 static void doNotCheckSecurityOnSetterLongAttributeAttributeSetterCallback(v8::L
ocal<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<v
oid>& info) | |
| 1889 { | |
| 1890 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | |
| 1891 TestObjectPythonV8Internal::doNotCheckSecurityOnSetterLongAttributeAttribute
Setter(jsValue, info); | |
| 1892 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | |
| 1893 } | |
| 1894 | |
| 1895 static void enforceRangeLongAttributeAttributeGetter(const v8::PropertyCallbackI
nfo<v8::Value>& info) | 1801 static void enforceRangeLongAttributeAttributeGetter(const v8::PropertyCallbackI
nfo<v8::Value>& info) |
| 1896 { | 1802 { |
| 1897 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); | 1803 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); |
| 1898 v8SetReturnValueInt(info, imp->enforceRangeLongAttribute()); | 1804 v8SetReturnValueInt(info, imp->enforceRangeLongAttribute()); |
| 1899 } | 1805 } |
| 1900 | 1806 |
| 1901 static void enforceRangeLongAttributeAttributeGetterCallback(v8::Local<v8::Strin
g>, const v8::PropertyCallbackInfo<v8::Value>& info) | 1807 static void enforceRangeLongAttributeAttributeGetterCallback(v8::Local<v8::Strin
g>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 1902 { | 1808 { |
| 1903 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 1809 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 1904 TestObjectPythonV8Internal::enforceRangeLongAttributeAttributeGetter(info); | 1810 TestObjectPythonV8Internal::enforceRangeLongAttributeAttributeGetter(info); |
| (...skipping 4263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6168 #endif // ENABLE(Condition1) || ENABLE(Condition2) | 6074 #endif // ENABLE(Condition1) || ENABLE(Condition2) |
| 6169 {"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 */}, | 6075 {"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 */}, |
| 6170 {"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 */}, | 6076 {"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 */}, |
| 6171 {"customGetterReadonlyObjectAttribute", TestObjectPythonV8Internal::customGe
tterReadonlyObjectAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::
AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /*
on instance */}, | 6077 {"customGetterReadonlyObjectAttribute", TestObjectPythonV8Internal::customGe
tterReadonlyObjectAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::
AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /*
on instance */}, |
| 6172 {"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 */}, | 6078 {"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 */}, |
| 6173 #if ENABLE(Condition) | 6079 #if ENABLE(Condition) |
| 6174 {"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 */}, | 6080 {"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 */}, |
| 6175 #endif // ENABLE(Condition) | 6081 #endif // ENABLE(Condition) |
| 6176 {"customElementsCallbacksReadonlyLongAttribute", TestObjectPythonV8Internal:
:customElementsCallbacksReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0
, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute
>(v8::None), 0 /* on instance */}, | 6082 {"customElementsCallbacksReadonlyLongAttribute", TestObjectPythonV8Internal:
:customElementsCallbacksReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0
, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute
>(v8::None), 0 /* on instance */}, |
| 6177 {"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 */}, | 6083 {"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 */}, |
| 6178 {"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 */}, | |
| 6179 {"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 */}, | |
| 6180 {"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 */}, | |
| 6181 {"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 */}, | |
| 6182 {"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 */}, | 6084 {"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 */}, |
| 6183 {"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 */}, | 6085 {"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 */}, |
| 6184 {"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 */}, | 6086 {"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 */}, |
| 6185 {"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 */}, | 6087 {"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 */}, |
| 6186 {"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 */}, | 6088 {"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 */}, |
| 6187 {"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 */}, | 6089 {"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 */}, |
| 6188 {"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 */}, | 6090 {"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 */}, |
| 6189 {"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 */}, | 6091 {"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 */}, |
| 6190 {"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 */}, | 6092 {"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 */}, |
| 6191 {"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 */}, | 6093 {"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... |
| 6586 V8DOMWrapper::associateObjectWithWrapper<V8TestObjectPython>(impl, &wrapperT
ypeInfo, wrapper, isolate, WrapperConfiguration::Independent); | 6488 V8DOMWrapper::associateObjectWithWrapper<V8TestObjectPython>(impl, &wrapperT
ypeInfo, wrapper, isolate, WrapperConfiguration::Independent); |
| 6587 return wrapper; | 6489 return wrapper; |
| 6588 } | 6490 } |
| 6589 | 6491 |
| 6590 void V8TestObjectPython::derefObject(void* object) | 6492 void V8TestObjectPython::derefObject(void* object) |
| 6591 { | 6493 { |
| 6592 fromInternalPointer(object)->deref(); | 6494 fromInternalPointer(object)->deref(); |
| 6593 } | 6495 } |
| 6594 | 6496 |
| 6595 } // namespace WebCore | 6497 } // namespace WebCore |
| OLD | NEW |