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 3173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3184 } | 3184 } |
3185 | 3185 |
3186 static void limitedToOnlyOtherAttributeAttributeSetterCallback(v8::Local<v8::Str
ing>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 3186 static void limitedToOnlyOtherAttributeAttributeSetterCallback(v8::Local<v8::Str
ing>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
3187 { | 3187 { |
3188 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 3188 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
3189 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; | 3189 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
3190 TestObjectPythonV8Internal::limitedToOnlyOtherAttributeAttributeSetter(jsVal
ue, info); | 3190 TestObjectPythonV8Internal::limitedToOnlyOtherAttributeAttributeSetter(jsVal
ue, info); |
3191 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 3191 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
3192 } | 3192 } |
3193 | 3193 |
| 3194 static void limitedWithMissingDefaultAttributeAttributeGetter(const v8::Property
CallbackInfo<v8::Value>& info) |
| 3195 { |
| 3196 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); |
| 3197 String resultValue = imp->fastGetAttribute(HTMLNames::limitedwithmissingdefa
ultattributeAttr); |
| 3198 if (resultValue.isEmpty()) { |
| 3199 resultValue = "rsa"; |
| 3200 } else if (equalIgnoringCase(resultValue, "rsa")) { |
| 3201 resultValue = "rsa"; |
| 3202 } else if (equalIgnoringCase(resultValue, "dsa")) { |
| 3203 resultValue = "dsa"; |
| 3204 } else { |
| 3205 resultValue = ""; |
| 3206 } |
| 3207 v8SetReturnValueString(info, resultValue, info.GetIsolate()); |
| 3208 } |
| 3209 |
| 3210 static void limitedWithMissingDefaultAttributeAttributeGetterCallback(v8::Local<
v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 3211 { |
| 3212 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 3213 TestObjectPythonV8Internal::limitedWithMissingDefaultAttributeAttributeGette
r(info); |
| 3214 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 3215 } |
| 3216 |
| 3217 static void limitedWithMissingDefaultAttributeAttributeSetter(v8::Local<v8::Valu
e> jsValue, const v8::PropertyCallbackInfo<void>& info) |
| 3218 { |
| 3219 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); |
| 3220 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, jsValue); |
| 3221 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 3222 imp->setAttribute(HTMLNames::limitedwithmissingdefaultattributeAttr, cppValu
e); |
| 3223 } |
| 3224 |
| 3225 static void limitedWithMissingDefaultAttributeAttributeSetterCallback(v8::Local<
v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>&
info) |
| 3226 { |
| 3227 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 3228 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 3229 TestObjectPythonV8Internal::limitedWithMissingDefaultAttributeAttributeSette
r(jsValue, info); |
| 3230 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 3231 } |
| 3232 |
| 3233 static void limitedWithInvalidMissingDefaultAttributeAttributeGetter(const v8::P
ropertyCallbackInfo<v8::Value>& info) |
| 3234 { |
| 3235 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); |
| 3236 String resultValue = imp->fastGetAttribute(HTMLNames::limitedwithinvalidmiss
ingdefaultattributeAttr); |
| 3237 if (resultValue.isEmpty()) { |
| 3238 resultValue = "auto"; |
| 3239 } else if (equalIgnoringCase(resultValue, "ltr")) { |
| 3240 resultValue = "ltr"; |
| 3241 } else if (equalIgnoringCase(resultValue, "rtl")) { |
| 3242 resultValue = "rtl"; |
| 3243 } else if (equalIgnoringCase(resultValue, "auto")) { |
| 3244 resultValue = "auto"; |
| 3245 } else { |
| 3246 resultValue = "ltr"; |
| 3247 } |
| 3248 v8SetReturnValueString(info, resultValue, info.GetIsolate()); |
| 3249 } |
| 3250 |
| 3251 static void limitedWithInvalidMissingDefaultAttributeAttributeGetterCallback(v8:
:Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 3252 { |
| 3253 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 3254 TestObjectPythonV8Internal::limitedWithInvalidMissingDefaultAttributeAttribu
teGetter(info); |
| 3255 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 3256 } |
| 3257 |
| 3258 static void limitedWithInvalidMissingDefaultAttributeAttributeSetter(v8::Local<v
8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
| 3259 { |
| 3260 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); |
| 3261 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, jsValue); |
| 3262 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 3263 imp->setAttribute(HTMLNames::limitedwithinvalidmissingdefaultattributeAttr,
cppValue); |
| 3264 } |
| 3265 |
| 3266 static void limitedWithInvalidMissingDefaultAttributeAttributeSetterCallback(v8:
:Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo
<void>& info) |
| 3267 { |
| 3268 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 3269 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 3270 TestObjectPythonV8Internal::limitedWithInvalidMissingDefaultAttributeAttribu
teSetter(jsValue, info); |
| 3271 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 3272 } |
| 3273 |
3194 static void replaceableReadonlyLongAttributeAttributeGetter(const v8::PropertyCa
llbackInfo<v8::Value>& info) | 3274 static void replaceableReadonlyLongAttributeAttributeGetter(const v8::PropertyCa
llbackInfo<v8::Value>& info) |
3195 { | 3275 { |
3196 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); | 3276 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); |
3197 v8SetReturnValueInt(info, imp->replaceableReadonlyLongAttribute()); | 3277 v8SetReturnValueInt(info, imp->replaceableReadonlyLongAttribute()); |
3198 } | 3278 } |
3199 | 3279 |
3200 static void replaceableReadonlyLongAttributeAttributeGetterCallback(v8::Local<v8
::String>, const v8::PropertyCallbackInfo<v8::Value>& info) | 3280 static void replaceableReadonlyLongAttributeAttributeGetterCallback(v8::Local<v8
::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
3201 { | 3281 { |
3202 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 3282 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
3203 TestObjectPythonV8Internal::replaceableReadonlyLongAttributeAttributeGetter(
info); | 3283 TestObjectPythonV8Internal::replaceableReadonlyLongAttributeAttributeGetter(
info); |
(...skipping 3762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6966 {"reflectUnsignedLongAttribute", TestObjectPythonV8Internal::reflectUnsigned
LongAttributeAttributeGetterCallback, TestObjectPythonV8Internal::reflectUnsigne
dLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v
8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 7046 {"reflectUnsignedLongAttribute", TestObjectPythonV8Internal::reflectUnsigned
LongAttributeAttributeGetterCallback, TestObjectPythonV8Internal::reflectUnsigne
dLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v
8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
6967 {"id", TestObjectPythonV8Internal::idAttributeGetterCallback, TestObjectPyth
onV8Internal::idAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>
(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */
}, | 7047 {"id", TestObjectPythonV8Internal::idAttributeGetterCallback, TestObjectPyth
onV8Internal::idAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>
(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */
}, |
6968 {"name", TestObjectPythonV8Internal::nameAttributeGetterCallback, TestObject
PythonV8Internal::nameAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCo
ntrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on insta
nce */}, | 7048 {"name", TestObjectPythonV8Internal::nameAttributeGetterCallback, TestObject
PythonV8Internal::nameAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCo
ntrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on insta
nce */}, |
6969 {"class", TestObjectPythonV8Internal::classAttributeGetterCallback, TestObje
ctPythonV8Internal::classAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acces
sControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on in
stance */}, | 7049 {"class", TestObjectPythonV8Internal::classAttributeGetterCallback, TestObje
ctPythonV8Internal::classAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acces
sControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on in
stance */}, |
6970 {"reflectedId", TestObjectPythonV8Internal::reflectedIdAttributeGetterCallba
ck, TestObjectPythonV8Internal::reflectedIdAttributeSetterCallback, 0, 0, 0, sta
tic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8:
:None), 0 /* on instance */}, | 7050 {"reflectedId", TestObjectPythonV8Internal::reflectedIdAttributeGetterCallba
ck, TestObjectPythonV8Internal::reflectedIdAttributeSetterCallback, 0, 0, 0, sta
tic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8:
:None), 0 /* on instance */}, |
6971 {"reflectedName", TestObjectPythonV8Internal::reflectedNameAttributeGetterCa
llback, TestObjectPythonV8Internal::reflectedNameAttributeSetterCallback, 0, 0,
0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribut
e>(v8::None), 0 /* on instance */}, | 7051 {"reflectedName", TestObjectPythonV8Internal::reflectedNameAttributeGetterCa
llback, TestObjectPythonV8Internal::reflectedNameAttributeSetterCallback, 0, 0,
0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribut
e>(v8::None), 0 /* on instance */}, |
6972 {"reflectedClass", TestObjectPythonV8Internal::reflectedClassAttributeGetter
Callback, TestObjectPythonV8Internal::reflectedClassAttributeSetterCallback, 0,
0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttri
bute>(v8::None), 0 /* on instance */}, | 7052 {"reflectedClass", TestObjectPythonV8Internal::reflectedClassAttributeGetter
Callback, TestObjectPythonV8Internal::reflectedClassAttributeSetterCallback, 0,
0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttri
bute>(v8::None), 0 /* on instance */}, |
6973 {"limitedToOnlyOneAttribute", TestObjectPythonV8Internal::limitedToOnlyOneAt
tributeAttributeGetterCallback, TestObjectPythonV8Internal::limitedToOnlyOneAttr
ibuteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAUL
T), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 7053 {"limitedToOnlyOneAttribute", TestObjectPythonV8Internal::limitedToOnlyOneAt
tributeAttributeGetterCallback, TestObjectPythonV8Internal::limitedToOnlyOneAttr
ibuteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAUL
T), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
6974 {"limitedToOnlyAttribute", TestObjectPythonV8Internal::limitedToOnlyAttribut
eAttributeGetterCallback, TestObjectPythonV8Internal::limitedToOnlyAttributeAttr
ibuteSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stati
c_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 7054 {"limitedToOnlyAttribute", TestObjectPythonV8Internal::limitedToOnlyAttribut
eAttributeGetterCallback, TestObjectPythonV8Internal::limitedToOnlyAttributeAttr
ibuteSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stati
c_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
6975 {"limitedToOnlyOtherAttribute", TestObjectPythonV8Internal::limitedToOnlyOth
erAttributeAttributeGetterCallback, TestObjectPythonV8Internal::limitedToOnlyOth
erAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::
DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 7055 {"limitedToOnlyOtherAttribute", TestObjectPythonV8Internal::limitedToOnlyOth
erAttributeAttributeGetterCallback, TestObjectPythonV8Internal::limitedToOnlyOth
erAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::
DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
| 7056 {"limitedWithMissingDefaultAttribute", TestObjectPythonV8Internal::limitedWi
thMissingDefaultAttributeAttributeGetterCallback, TestObjectPythonV8Internal::li
mitedWithMissingDefaultAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8
::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /
* on instance */}, |
| 7057 {"limitedWithInvalidMissingDefaultAttribute", TestObjectPythonV8Internal::li
mitedWithInvalidMissingDefaultAttributeAttributeGetterCallback, TestObjectPython
V8Internal::limitedWithInvalidMissingDefaultAttributeAttributeSetterCallback, 0,
0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttr
ibute>(v8::None), 0 /* on instance */}, |
6976 {"replaceableReadonlyLongAttribute", TestObjectPythonV8Internal::replaceable
ReadonlyLongAttributeAttributeGetterCallback, TestObjectPythonV8Internal::TestOb
jectPythonReplaceableAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCon
trol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instan
ce */}, | 7058 {"replaceableReadonlyLongAttribute", TestObjectPythonV8Internal::replaceable
ReadonlyLongAttributeAttributeGetterCallback, TestObjectPythonV8Internal::TestOb
jectPythonReplaceableAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCon
trol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instan
ce */}, |
6977 {"setterCallWithActiveWindowAndFirstWindowStringAttribute", TestObjectPython
V8Internal::setterCallWithActiveWindowAndFirstWindowStringAttributeAttributeGett
erCallback, TestObjectPythonV8Internal::setterCallWithActiveWindowAndFirstWindow
StringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(
v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}
, | 7059 {"setterCallWithActiveWindowAndFirstWindowStringAttribute", TestObjectPython
V8Internal::setterCallWithActiveWindowAndFirstWindowStringAttributeAttributeGett
erCallback, TestObjectPythonV8Internal::setterCallWithActiveWindowAndFirstWindow
StringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(
v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}
, |
6978 {"setterCallWithExecutionContextStringAttribute", TestObjectPythonV8Internal
::setterCallWithExecutionContextStringAttributeAttributeGetterCallback, TestObje
ctPythonV8Internal::setterCallWithExecutionContextStringAttributeAttributeSetter
Callback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::
PropertyAttribute>(v8::None), 0 /* on instance */}, | 7060 {"setterCallWithExecutionContextStringAttribute", TestObjectPythonV8Internal
::setterCallWithExecutionContextStringAttributeAttributeGetterCallback, TestObje
ctPythonV8Internal::setterCallWithExecutionContextStringAttributeAttributeSetter
Callback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::
PropertyAttribute>(v8::None), 0 /* on instance */}, |
6979 {"strictTypeCheckingFloatAttribute", TestObjectPythonV8Internal::strictTypeC
heckingFloatAttributeAttributeGetterCallback, TestObjectPythonV8Internal::strict
TypeCheckingFloatAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce
ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i
nstance */}, | 7061 {"strictTypeCheckingFloatAttribute", TestObjectPythonV8Internal::strictTypeC
heckingFloatAttributeAttributeGetterCallback, TestObjectPythonV8Internal::strict
TypeCheckingFloatAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce
ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i
nstance */}, |
6980 {"strictTypeCheckingTestInterfaceAttribute", TestObjectPythonV8Internal::str
ictTypeCheckingTestInterfaceAttributeAttributeGetterCallback, TestObjectPythonV8
Internal::strictTypeCheckingTestInterfaceAttributeAttributeSetterCallback, 0, 0,
0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu
te>(v8::None), 0 /* on instance */}, | 7062 {"strictTypeCheckingTestInterfaceAttribute", TestObjectPythonV8Internal::str
ictTypeCheckingTestInterfaceAttributeAttributeGetterCallback, TestObjectPythonV8
Internal::strictTypeCheckingTestInterfaceAttributeAttributeSetterCallback, 0, 0,
0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu
te>(v8::None), 0 /* on instance */}, |
6981 {"treatNullAsNullStringStringAttribute", TestObjectPythonV8Internal::treatNu
llAsNullStringStringAttributeAttributeGetterCallback, TestObjectPythonV8Internal
::treatNullAsNullStringStringAttributeAttributeSetterCallback, 0, 0, 0, static_c
ast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None
), 0 /* on instance */}, | 7063 {"treatNullAsNullStringStringAttribute", TestObjectPythonV8Internal::treatNu
llAsNullStringStringAttributeAttributeGetterCallback, TestObjectPythonV8Internal
::treatNullAsNullStringStringAttributeAttributeSetterCallback, 0, 0, 0, static_c
ast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None
), 0 /* on instance */}, |
6982 {"treatReturnedNullStringAsNullStringAttribute", TestObjectPythonV8Internal:
:treatReturnedNullStringAsNullStringAttributeAttributeGetterCallback, TestObject
PythonV8Internal::treatReturnedNullStringAsNullStringAttributeAttributeSetterCal
lback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Pro
pertyAttribute>(v8::None), 0 /* on instance */}, | 7064 {"treatReturnedNullStringAsNullStringAttribute", TestObjectPythonV8Internal:
:treatReturnedNullStringAsNullStringAttributeAttributeGetterCallback, TestObject
PythonV8Internal::treatReturnedNullStringAsNullStringAttributeAttributeSetterCal
lback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Pro
pertyAttribute>(v8::None), 0 /* on instance */}, |
6983 {"treatReturnedNullStringAsUndefinedStringAttribute", TestObjectPythonV8Inte
rnal::treatReturnedNullStringAsUndefinedStringAttributeAttributeGetterCallback,
TestObjectPythonV8Internal::treatReturnedNullStringAsUndefinedStringAttributeAtt
ributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stat
ic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 7065 {"treatReturnedNullStringAsUndefinedStringAttribute", TestObjectPythonV8Inte
rnal::treatReturnedNullStringAsUndefinedStringAttributeAttributeGetterCallback,
TestObjectPythonV8Internal::treatReturnedNullStringAsUndefinedStringAttributeAtt
ributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stat
ic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
6984 {"urlStringAttribute", TestObjectPythonV8Internal::urlStringAttributeAttribu
teGetterCallback, TestObjectPythonV8Internal::urlStringAttributeAttributeSetterC
allback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::P
ropertyAttribute>(v8::None), 0 /* on instance */}, | 7066 {"urlStringAttribute", TestObjectPythonV8Internal::urlStringAttributeAttribu
teGetterCallback, TestObjectPythonV8Internal::urlStringAttributeAttributeSetterC
allback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::P
ropertyAttribute>(v8::None), 0 /* on instance */}, |
6985 {"urlStringAttribute", TestObjectPythonV8Internal::urlStringAttributeAttribu
teGetterCallback, TestObjectPythonV8Internal::urlStringAttributeAttributeSetterC
allback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::P
ropertyAttribute>(v8::None), 0 /* on instance */}, | 7067 {"urlStringAttribute", TestObjectPythonV8Internal::urlStringAttributeAttribu
teGetterCallback, TestObjectPythonV8Internal::urlStringAttributeAttributeSetterC
allback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::P
ropertyAttribute>(v8::None), 0 /* on instance */}, |
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7310 fromInternalPointer(object)->deref(); | 7392 fromInternalPointer(object)->deref(); |
7311 } | 7393 } |
7312 | 7394 |
7313 template<> | 7395 template<> |
7314 v8::Handle<v8::Value> toV8NoInline(TestObjectPython* impl, v8::Handle<v8::Object
> creationContext, v8::Isolate* isolate) | 7396 v8::Handle<v8::Value> toV8NoInline(TestObjectPython* impl, v8::Handle<v8::Object
> creationContext, v8::Isolate* isolate) |
7315 { | 7397 { |
7316 return toV8(impl, creationContext, isolate); | 7398 return toV8(impl, creationContext, isolate); |
7317 } | 7399 } |
7318 | 7400 |
7319 } // namespace WebCore | 7401 } // namespace WebCore |
OLD | NEW |