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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 imp->setStringAttr(cppValue); | 439 imp->setStringAttr(cppValue); |
440 } | 440 } |
441 | 441 |
442 static void stringAttrAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v
8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 442 static void stringAttrAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v
8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
443 { | 443 { |
444 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 444 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
445 TestObjV8Internal::stringAttrAttributeSetter(jsValue, info); | 445 TestObjV8Internal::stringAttrAttributeSetter(jsValue, info); |
446 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 446 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
447 } | 447 } |
448 | 448 |
| 449 static void treatNullAsEmptyStringStringAttrAttributeGetter(const v8::PropertyCa
llbackInfo<v8::Value>& info) |
| 450 { |
| 451 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 452 v8SetReturnValueString(info, imp->treatNullAsEmptyStringStringAttr(), info.G
etIsolate()); |
| 453 } |
| 454 |
| 455 static void treatNullAsEmptyStringStringAttrAttributeGetterCallback(v8::Local<v8
::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 456 { |
| 457 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 458 TestObjV8Internal::treatNullAsEmptyStringStringAttrAttributeGetter(info); |
| 459 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 460 } |
| 461 |
| 462 static void treatNullAsEmptyStringStringAttrAttributeSetter(v8::Local<v8::Value>
jsValue, const v8::PropertyCallbackInfo<void>& info) |
| 463 { |
| 464 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 465 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<TreatNullAsEmptyString
>, cppValue, jsValue); |
| 466 imp->setTreatNullAsEmptyStringStringAttr(cppValue); |
| 467 } |
| 468 |
| 469 static void treatNullAsEmptyStringStringAttrAttributeSetterCallback(v8::Local<v8
::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& i
nfo) |
| 470 { |
| 471 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 472 TestObjV8Internal::treatNullAsEmptyStringStringAttrAttributeSetter(jsValue,
info); |
| 473 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 474 } |
| 475 |
449 static void treatNullAsNullStringStringAttrAttributeGetter(const v8::PropertyCal
lbackInfo<v8::Value>& info) | 476 static void treatNullAsNullStringStringAttrAttributeGetter(const v8::PropertyCal
lbackInfo<v8::Value>& info) |
450 { | 477 { |
451 TestObj* imp = V8TestObject::toNative(info.Holder()); | 478 TestObj* imp = V8TestObject::toNative(info.Holder()); |
452 v8SetReturnValueString(info, imp->treatNullAsNullStringStringAttr(), info.Ge
tIsolate()); | 479 v8SetReturnValueString(info, imp->treatNullAsNullStringStringAttr(), info.Ge
tIsolate()); |
453 } | 480 } |
454 | 481 |
455 static void treatNullAsNullStringStringAttrAttributeGetterCallback(v8::Local<v8:
:String>, const v8::PropertyCallbackInfo<v8::Value>& info) | 482 static void treatNullAsNullStringStringAttrAttributeGetterCallback(v8::Local<v8:
:String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
456 { | 483 { |
457 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 484 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
458 TestObjV8Internal::treatNullAsNullStringStringAttrAttributeGetter(info); | 485 TestObjV8Internal::treatNullAsNullStringStringAttrAttributeGetter(info); |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
661 } | 688 } |
662 | 689 |
663 static void reflectedStringAttrAttributeSetterCallback(v8::Local<v8::String>, v8
::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 690 static void reflectedStringAttrAttributeSetterCallback(v8::Local<v8::String>, v8
::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
664 { | 691 { |
665 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 692 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
666 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; | 693 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
667 TestObjV8Internal::reflectedStringAttrAttributeSetter(jsValue, info); | 694 TestObjV8Internal::reflectedStringAttrAttributeSetter(jsValue, info); |
668 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 695 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
669 } | 696 } |
670 | 697 |
| 698 static void reflectedTreatNullAsEmptyStringStringAttrAttributeGetter(const v8::P
ropertyCallbackInfo<v8::Value>& info) |
| 699 { |
| 700 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 701 v8SetReturnValueString(info, imp->fastGetAttribute(HTMLNames::reflectedtreat
nullasemptystringstringattrAttr), info.GetIsolate()); |
| 702 } |
| 703 |
| 704 static void reflectedTreatNullAsEmptyStringStringAttrAttributeGetterCallback(v8:
:Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 705 { |
| 706 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 707 TestObjV8Internal::reflectedTreatNullAsEmptyStringStringAttrAttributeGetter(
info); |
| 708 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 709 } |
| 710 |
| 711 static void reflectedTreatNullAsEmptyStringStringAttrAttributeSetter(v8::Local<v
8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
| 712 { |
| 713 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 714 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<TreatNullAsEmptyString
>, cppValue, jsValue); |
| 715 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 716 imp->setAttribute(HTMLNames::reflectedtreatnullasemptystringstringattrAttr,
cppValue); |
| 717 } |
| 718 |
| 719 static void reflectedTreatNullAsEmptyStringStringAttrAttributeSetterCallback(v8:
:Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo
<void>& info) |
| 720 { |
| 721 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 722 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 723 TestObjV8Internal::reflectedTreatNullAsEmptyStringStringAttrAttributeSetter(
jsValue, info); |
| 724 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 725 } |
| 726 |
671 static void reflectedTreatNullAsNullStringStringAttrAttributeGetter(const v8::Pr
opertyCallbackInfo<v8::Value>& info) | 727 static void reflectedTreatNullAsNullStringStringAttrAttributeGetter(const v8::Pr
opertyCallbackInfo<v8::Value>& info) |
672 { | 728 { |
673 TestObj* imp = V8TestObject::toNative(info.Holder()); | 729 TestObj* imp = V8TestObject::toNative(info.Holder()); |
674 v8SetReturnValueString(info, imp->fastGetAttribute(HTMLNames::reflectedtreat
nullasnullstringstringattrAttr), info.GetIsolate()); | 730 v8SetReturnValueString(info, imp->fastGetAttribute(HTMLNames::reflectedtreat
nullasnullstringstringattrAttr), info.GetIsolate()); |
675 } | 731 } |
676 | 732 |
677 static void reflectedTreatNullAsNullStringStringAttrAttributeGetterCallback(v8::
Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) | 733 static void reflectedTreatNullAsNullStringStringAttrAttributeGetterCallback(v8::
Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
678 { | 734 { |
679 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 735 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
680 TestObjV8Internal::reflectedTreatNullAsNullStringStringAttrAttributeGetter(i
nfo); | 736 TestObjV8Internal::reflectedTreatNullAsNullStringStringAttrAttributeGetter(i
nfo); |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
837 } | 893 } |
838 | 894 |
839 static void reflectedURLAttrAttributeSetterCallback(v8::Local<v8::String>, v8::L
ocal<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 895 static void reflectedURLAttrAttributeSetterCallback(v8::Local<v8::String>, v8::L
ocal<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
840 { | 896 { |
841 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 897 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
842 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; | 898 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
843 TestObjV8Internal::reflectedURLAttrAttributeSetter(jsValue, info); | 899 TestObjV8Internal::reflectedURLAttrAttributeSetter(jsValue, info); |
844 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 900 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
845 } | 901 } |
846 | 902 |
| 903 static void reflectedTreatNullAsEmptyStringURLAttrAttributeGetter(const v8::Prop
ertyCallbackInfo<v8::Value>& info) |
| 904 { |
| 905 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 906 v8SetReturnValueString(info, imp->getURLAttribute(HTMLNames::reflectedtreatn
ullasemptystringurlattrAttr), info.GetIsolate()); |
| 907 } |
| 908 |
| 909 static void reflectedTreatNullAsEmptyStringURLAttrAttributeGetterCallback(v8::Lo
cal<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 910 { |
| 911 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 912 TestObjV8Internal::reflectedTreatNullAsEmptyStringURLAttrAttributeGetter(inf
o); |
| 913 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 914 } |
| 915 |
| 916 static void reflectedTreatNullAsEmptyStringURLAttrAttributeSetter(v8::Local<v8::
Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
| 917 { |
| 918 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 919 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<TreatNullAsEmptyString
>, cppValue, jsValue); |
| 920 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 921 imp->setAttribute(HTMLNames::reflectedtreatnullasemptystringurlattrAttr, cpp
Value); |
| 922 } |
| 923 |
| 924 static void reflectedTreatNullAsEmptyStringURLAttrAttributeSetterCallback(v8::Lo
cal<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<vo
id>& info) |
| 925 { |
| 926 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 927 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 928 TestObjV8Internal::reflectedTreatNullAsEmptyStringURLAttrAttributeSetter(jsV
alue, info); |
| 929 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 930 } |
| 931 |
847 static void reflectedTreatNullAsNullStringURLAttrAttributeGetter(const v8::Prope
rtyCallbackInfo<v8::Value>& info) | 932 static void reflectedTreatNullAsNullStringURLAttrAttributeGetter(const v8::Prope
rtyCallbackInfo<v8::Value>& info) |
848 { | 933 { |
849 TestObj* imp = V8TestObject::toNative(info.Holder()); | 934 TestObj* imp = V8TestObject::toNative(info.Holder()); |
850 v8SetReturnValueString(info, imp->getURLAttribute(HTMLNames::reflectedtreatn
ullasnullstringurlattrAttr), info.GetIsolate()); | 935 v8SetReturnValueString(info, imp->getURLAttribute(HTMLNames::reflectedtreatn
ullasnullstringurlattrAttr), info.GetIsolate()); |
851 } | 936 } |
852 | 937 |
853 static void reflectedTreatNullAsNullStringURLAttrAttributeGetterCallback(v8::Loc
al<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) | 938 static void reflectedTreatNullAsNullStringURLAttrAttributeGetterCallback(v8::Loc
al<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
854 { | 939 { |
855 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 940 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
856 TestObjV8Internal::reflectedTreatNullAsNullStringURLAttrAttributeGetter(info
); | 941 TestObjV8Internal::reflectedTreatNullAsNullStringURLAttrAttributeGetter(info
); |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
924 } | 1009 } |
925 | 1010 |
926 static void reflectedCustomStringAttrAttributeSetterCallback(v8::Local<v8::Strin
g>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 1011 static void reflectedCustomStringAttrAttributeSetterCallback(v8::Local<v8::Strin
g>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
927 { | 1012 { |
928 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 1013 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
929 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; | 1014 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
930 TestObjV8Internal::reflectedCustomStringAttrAttributeSetter(jsValue, info); | 1015 TestObjV8Internal::reflectedCustomStringAttrAttributeSetter(jsValue, info); |
931 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 1016 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
932 } | 1017 } |
933 | 1018 |
| 1019 static void reflectedTreatNullAsEmptyStringCustomStringAttrAttributeGetter(const
v8::PropertyCallbackInfo<v8::Value>& info) |
| 1020 { |
| 1021 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 1022 v8SetReturnValueString(info, imp->fastGetAttribute(HTMLNames::customContentS
tringAttrAttr), info.GetIsolate()); |
| 1023 } |
| 1024 |
| 1025 static void reflectedTreatNullAsEmptyStringCustomStringAttrAttributeGetterCallba
ck(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 1026 { |
| 1027 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 1028 TestObjV8Internal::reflectedTreatNullAsEmptyStringCustomStringAttrAttributeG
etter(info); |
| 1029 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 1030 } |
| 1031 |
| 1032 static void reflectedTreatNullAsEmptyStringCustomStringAttrAttributeSetter(v8::L
ocal<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
| 1033 { |
| 1034 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 1035 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<TreatNullAsEmptyString
>, cppValue, jsValue); |
| 1036 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 1037 imp->setAttribute(HTMLNames::customContentStringAttrAttr, cppValue); |
| 1038 } |
| 1039 |
| 1040 static void reflectedTreatNullAsEmptyStringCustomStringAttrAttributeSetterCallba
ck(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallba
ckInfo<void>& info) |
| 1041 { |
| 1042 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 1043 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 1044 TestObjV8Internal::reflectedTreatNullAsEmptyStringCustomStringAttrAttributeS
etter(jsValue, info); |
| 1045 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 1046 } |
| 1047 |
934 static void reflectedTreatNullAsNullStringCustomStringAttrAttributeGetter(const
v8::PropertyCallbackInfo<v8::Value>& info) | 1048 static void reflectedTreatNullAsNullStringCustomStringAttrAttributeGetter(const
v8::PropertyCallbackInfo<v8::Value>& info) |
935 { | 1049 { |
936 TestObj* imp = V8TestObject::toNative(info.Holder()); | 1050 TestObj* imp = V8TestObject::toNative(info.Holder()); |
937 v8SetReturnValueString(info, imp->fastGetAttribute(HTMLNames::customContentS
tringAttrAttr), info.GetIsolate()); | 1051 v8SetReturnValueString(info, imp->fastGetAttribute(HTMLNames::customContentS
tringAttrAttr), info.GetIsolate()); |
938 } | 1052 } |
939 | 1053 |
940 static void reflectedTreatNullAsNullStringCustomStringAttrAttributeGetterCallbac
k(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) | 1054 static void reflectedTreatNullAsNullStringCustomStringAttrAttributeGetterCallbac
k(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
941 { | 1055 { |
942 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 1056 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
943 TestObjV8Internal::reflectedTreatNullAsNullStringCustomStringAttrAttributeGe
tter(info); | 1057 TestObjV8Internal::reflectedTreatNullAsNullStringCustomStringAttrAttributeGe
tter(info); |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1070 } | 1184 } |
1071 | 1185 |
1072 static void reflectedCustomURLAttrAttributeSetterCallback(v8::Local<v8::String>,
v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 1186 static void reflectedCustomURLAttrAttributeSetterCallback(v8::Local<v8::String>,
v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
1073 { | 1187 { |
1074 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 1188 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
1075 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; | 1189 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
1076 TestObjV8Internal::reflectedCustomURLAttrAttributeSetter(jsValue, info); | 1190 TestObjV8Internal::reflectedCustomURLAttrAttributeSetter(jsValue, info); |
1077 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 1191 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
1078 } | 1192 } |
1079 | 1193 |
| 1194 static void reflectedTreatNullAsEmptyStringCustomURLAttrAttributeGetter(const v8
::PropertyCallbackInfo<v8::Value>& info) |
| 1195 { |
| 1196 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 1197 v8SetReturnValueString(info, imp->getURLAttribute(HTMLNames::customContentUR
LAttrAttr), info.GetIsolate()); |
| 1198 } |
| 1199 |
| 1200 static void reflectedTreatNullAsEmptyStringCustomURLAttrAttributeGetterCallback(
v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 1201 { |
| 1202 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 1203 TestObjV8Internal::reflectedTreatNullAsEmptyStringCustomURLAttrAttributeGett
er(info); |
| 1204 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 1205 } |
| 1206 |
| 1207 static void reflectedTreatNullAsEmptyStringCustomURLAttrAttributeSetter(v8::Loca
l<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
| 1208 { |
| 1209 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 1210 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<TreatNullAsEmptyString
>, cppValue, jsValue); |
| 1211 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 1212 imp->setAttribute(HTMLNames::customContentURLAttrAttr, cppValue); |
| 1213 } |
| 1214 |
| 1215 static void reflectedTreatNullAsEmptyStringCustomURLAttrAttributeSetterCallback(
v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackI
nfo<void>& info) |
| 1216 { |
| 1217 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 1218 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 1219 TestObjV8Internal::reflectedTreatNullAsEmptyStringCustomURLAttrAttributeSett
er(jsValue, info); |
| 1220 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 1221 } |
| 1222 |
1080 static void reflectedTreatNullAsNullStringCustomURLAttrAttributeGetter(const v8:
:PropertyCallbackInfo<v8::Value>& info) | 1223 static void reflectedTreatNullAsNullStringCustomURLAttrAttributeGetter(const v8:
:PropertyCallbackInfo<v8::Value>& info) |
1081 { | 1224 { |
1082 TestObj* imp = V8TestObject::toNative(info.Holder()); | 1225 TestObj* imp = V8TestObject::toNative(info.Holder()); |
1083 v8SetReturnValueString(info, imp->getURLAttribute(HTMLNames::customContentUR
LAttrAttr), info.GetIsolate()); | 1226 v8SetReturnValueString(info, imp->getURLAttribute(HTMLNames::customContentUR
LAttrAttr), info.GetIsolate()); |
1084 } | 1227 } |
1085 | 1228 |
1086 static void reflectedTreatNullAsNullStringCustomURLAttrAttributeGetterCallback(v
8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) | 1229 static void reflectedTreatNullAsNullStringCustomURLAttrAttributeGetterCallback(v
8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
1087 { | 1230 { |
1088 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 1231 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
1089 TestObjV8Internal::reflectedTreatNullAsNullStringCustomURLAttrAttributeGette
r(info); | 1232 TestObjV8Internal::reflectedTreatNullAsNullStringCustomURLAttrAttributeGette
r(info); |
(...skipping 4503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5593 {"enumAttr", TestObjV8Internal::enumAttrAttributeGetterCallback, TestObjV8In
ternal::enumAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>
(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */
}, | 5736 {"enumAttr", TestObjV8Internal::enumAttrAttributeGetterCallback, TestObjV8In
ternal::enumAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>
(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */
}, |
5594 {"readOnlyEnumAttr", TestObjV8Internal::readOnlyEnumAttrAttributeGetterCallb
ack, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Pr
opertyAttribute>(v8::None), 0 /* on instance */}, | 5737 {"readOnlyEnumAttr", TestObjV8Internal::readOnlyEnumAttrAttributeGetterCallb
ack, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Pr
opertyAttribute>(v8::None), 0 /* on instance */}, |
5595 {"byteAttr", TestObjV8Internal::byteAttrAttributeGetterCallback, TestObjV8In
ternal::byteAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>
(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */
}, | 5738 {"byteAttr", TestObjV8Internal::byteAttrAttributeGetterCallback, TestObjV8In
ternal::byteAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>
(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */
}, |
5596 {"octetAttr", TestObjV8Internal::octetAttrAttributeGetterCallback, TestObjV8
Internal::octetAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessContr
ol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance
*/}, | 5739 {"octetAttr", TestObjV8Internal::octetAttrAttributeGetterCallback, TestObjV8
Internal::octetAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessContr
ol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance
*/}, |
5597 {"shortAttr", TestObjV8Internal::shortAttrAttributeGetterCallback, TestObjV8
Internal::shortAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessContr
ol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance
*/}, | 5740 {"shortAttr", TestObjV8Internal::shortAttrAttributeGetterCallback, TestObjV8
Internal::shortAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessContr
ol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance
*/}, |
5598 {"unsignedShortAttr", TestObjV8Internal::unsignedShortAttrAttributeGetterCal
lback, TestObjV8Internal::unsignedShortAttrAttributeSetterCallback, 0, 0, 0, sta
tic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8:
:None), 0 /* on instance */}, | 5741 {"unsignedShortAttr", TestObjV8Internal::unsignedShortAttrAttributeGetterCal
lback, TestObjV8Internal::unsignedShortAttrAttributeSetterCallback, 0, 0, 0, sta
tic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8:
:None), 0 /* on instance */}, |
5599 {"longAttr", TestObjV8Internal::longAttrAttributeGetterCallback, TestObjV8In
ternal::longAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>
(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */
}, | 5742 {"longAttr", TestObjV8Internal::longAttrAttributeGetterCallback, TestObjV8In
ternal::longAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>
(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */
}, |
5600 {"longLongAttr", TestObjV8Internal::longLongAttrAttributeGetterCallback, Tes
tObjV8Internal::longLongAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::Ac
cessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on
instance */}, | 5743 {"longLongAttr", TestObjV8Internal::longLongAttrAttributeGetterCallback, Tes
tObjV8Internal::longLongAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::Ac
cessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on
instance */}, |
5601 {"unsignedLongLongAttr", TestObjV8Internal::unsignedLongLongAttrAttributeGet
terCallback, TestObjV8Internal::unsignedLongLongAttrAttributeSetterCallback, 0,
0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttri
bute>(v8::None), 0 /* on instance */}, | 5744 {"unsignedLongLongAttr", TestObjV8Internal::unsignedLongLongAttrAttributeGet
terCallback, TestObjV8Internal::unsignedLongLongAttrAttributeSetterCallback, 0,
0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttri
bute>(v8::None), 0 /* on instance */}, |
5602 {"stringAttr", TestObjV8Internal::stringAttrAttributeGetterCallback, TestObj
V8Internal::stringAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCo
ntrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on insta
nce */}, | 5745 {"stringAttr", TestObjV8Internal::stringAttrAttributeGetterCallback, TestObj
V8Internal::stringAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCo
ntrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on insta
nce */}, |
| 5746 {"treatNullAsEmptyStringStringAttr", TestObjV8Internal::treatNullAsEmptyStri
ngStringAttrAttributeGetterCallback, TestObjV8Internal::treatNullAsEmptyStringSt
ringAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEF
AULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
5603 {"treatNullAsNullStringStringAttr", TestObjV8Internal::treatNullAsNullString
StringAttrAttributeGetterCallback, TestObjV8Internal::treatNullAsNullStringStrin
gAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAUL
T), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 5747 {"treatNullAsNullStringStringAttr", TestObjV8Internal::treatNullAsNullString
StringAttrAttributeGetterCallback, TestObjV8Internal::treatNullAsNullStringStrin
gAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAUL
T), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
5604 {"treatNullAsNullStringTreatUndefinedAsNullStringStringAttr", TestObjV8Inter
nal::treatNullAsNullStringTreatUndefinedAsNullStringStringAttrAttributeGetterCal
lback, TestObjV8Internal::treatNullAsNullStringTreatUndefinedAsNullStringStringA
ttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT)
, static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 5748 {"treatNullAsNullStringTreatUndefinedAsNullStringStringAttr", TestObjV8Inter
nal::treatNullAsNullStringTreatUndefinedAsNullStringStringAttrAttributeGetterCal
lback, TestObjV8Internal::treatNullAsNullStringTreatUndefinedAsNullStringStringA
ttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT)
, static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
5605 {"eventHandlerAttr", TestObjV8Internal::eventHandlerAttrAttributeGetterCallb
ack, TestObjV8Internal::eventHandlerAttrAttributeSetterCallback, 0, 0, 0, static
_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No
ne), 0 /* on instance */}, | 5749 {"eventHandlerAttr", TestObjV8Internal::eventHandlerAttrAttributeGetterCallb
ack, TestObjV8Internal::eventHandlerAttrAttributeSetterCallback, 0, 0, 0, static
_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No
ne), 0 /* on instance */}, |
5606 {"testObjAttr", TestObjV8Internal::testObjAttrAttributeGetterCallback, TestO
bjV8Internal::testObjAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acces
sControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on in
stance */}, | 5750 {"testObjAttr", TestObjV8Internal::testObjAttrAttributeGetterCallback, TestO
bjV8Internal::testObjAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acces
sControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on in
stance */}, |
5607 {"XMLObjAttr", TestObjV8Internal::XMLObjAttrAttributeGetterCallback, TestObj
V8Internal::XMLObjAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCo
ntrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on insta
nce */}, | 5751 {"XMLObjAttr", TestObjV8Internal::XMLObjAttrAttributeGetterCallback, TestObj
V8Internal::XMLObjAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCo
ntrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on insta
nce */}, |
5608 {"create", TestObjV8Internal::createAttributeGetterCallback, TestObjV8Intern
al::createAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::D
EFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 5752 {"create", TestObjV8Internal::createAttributeGetterCallback, TestObjV8Intern
al::createAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::D
EFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
5609 {"reflectedStringAttr", TestObjV8Internal::reflectedStringAttrAttributeGette
rCallback, TestObjV8Internal::reflectedStringAttrAttributeSetterCallback, 0, 0,
0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribut
e>(v8::None), 0 /* on instance */}, | 5753 {"reflectedStringAttr", TestObjV8Internal::reflectedStringAttrAttributeGette
rCallback, TestObjV8Internal::reflectedStringAttrAttributeSetterCallback, 0, 0,
0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribut
e>(v8::None), 0 /* on instance */}, |
| 5754 {"reflectedTreatNullAsEmptyStringStringAttr", TestObjV8Internal::reflectedTr
eatNullAsEmptyStringStringAttrAttributeGetterCallback, TestObjV8Internal::reflec
tedTreatNullAsEmptyStringStringAttrAttributeSetterCallback, 0, 0, 0, static_cast
<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None),
0 /* on instance */}, |
5610 {"reflectedTreatNullAsNullStringStringAttr", TestObjV8Internal::reflectedTre
atNullAsNullStringStringAttrAttributeGetterCallback, TestObjV8Internal::reflecte
dTreatNullAsNullStringStringAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8
::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /
* on instance */}, | 5755 {"reflectedTreatNullAsNullStringStringAttr", TestObjV8Internal::reflectedTre
atNullAsNullStringStringAttrAttributeGetterCallback, TestObjV8Internal::reflecte
dTreatNullAsNullStringStringAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8
::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /
* on instance */}, |
5611 {"reflectedTreatNullAsNullStringTreatUndefinedAsNullStringStringAttr", TestO
bjV8Internal::reflectedTreatNullAsNullStringTreatUndefinedAsNullStringStringAttr
AttributeGetterCallback, TestObjV8Internal::reflectedTreatNullAsNullStringTreatU
ndefinedAsNullStringStringAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::
AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /*
on instance */}, | 5756 {"reflectedTreatNullAsNullStringTreatUndefinedAsNullStringStringAttr", TestO
bjV8Internal::reflectedTreatNullAsNullStringTreatUndefinedAsNullStringStringAttr
AttributeGetterCallback, TestObjV8Internal::reflectedTreatNullAsNullStringTreatU
ndefinedAsNullStringStringAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::
AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /*
on instance */}, |
5612 {"reflectedIntegralAttr", TestObjV8Internal::reflectedIntegralAttrAttributeG
etterCallback, TestObjV8Internal::reflectedIntegralAttrAttributeSetterCallback,
0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAt
tribute>(v8::None), 0 /* on instance */}, | 5757 {"reflectedIntegralAttr", TestObjV8Internal::reflectedIntegralAttrAttributeG
etterCallback, TestObjV8Internal::reflectedIntegralAttrAttributeSetterCallback,
0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAt
tribute>(v8::None), 0 /* on instance */}, |
5613 {"reflectedUnsignedIntegralAttr", TestObjV8Internal::reflectedUnsignedIntegr
alAttrAttributeGetterCallback, TestObjV8Internal::reflectedUnsignedIntegralAttrA
ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st
atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 5758 {"reflectedUnsignedIntegralAttr", TestObjV8Internal::reflectedUnsignedIntegr
alAttrAttributeGetterCallback, TestObjV8Internal::reflectedUnsignedIntegralAttrA
ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st
atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
5614 {"reflectedBooleanAttr", TestObjV8Internal::reflectedBooleanAttrAttributeGet
terCallback, TestObjV8Internal::reflectedBooleanAttrAttributeSetterCallback, 0,
0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttri
bute>(v8::None), 0 /* on instance */}, | 5759 {"reflectedBooleanAttr", TestObjV8Internal::reflectedBooleanAttrAttributeGet
terCallback, TestObjV8Internal::reflectedBooleanAttrAttributeSetterCallback, 0,
0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttri
bute>(v8::None), 0 /* on instance */}, |
5615 {"reflectedURLAttr", TestObjV8Internal::reflectedURLAttrAttributeGetterCallb
ack, TestObjV8Internal::reflectedURLAttrAttributeSetterCallback, 0, 0, 0, static
_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No
ne), 0 /* on instance */}, | 5760 {"reflectedURLAttr", TestObjV8Internal::reflectedURLAttrAttributeGetterCallb
ack, TestObjV8Internal::reflectedURLAttrAttributeSetterCallback, 0, 0, 0, static
_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No
ne), 0 /* on instance */}, |
| 5761 {"reflectedTreatNullAsEmptyStringURLAttr", TestObjV8Internal::reflectedTreat
NullAsEmptyStringURLAttrAttributeGetterCallback, TestObjV8Internal::reflectedTre
atNullAsEmptyStringURLAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce
ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i
nstance */}, |
5616 {"reflectedTreatNullAsNullStringURLAttr", TestObjV8Internal::reflectedTreatN
ullAsNullStringURLAttrAttributeGetterCallback, TestObjV8Internal::reflectedTreat
NullAsNullStringURLAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessC
ontrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on inst
ance */}, | 5762 {"reflectedTreatNullAsNullStringURLAttr", TestObjV8Internal::reflectedTreatN
ullAsNullStringURLAttrAttributeGetterCallback, TestObjV8Internal::reflectedTreat
NullAsNullStringURLAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessC
ontrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on inst
ance */}, |
5617 {"reflectedTreatNullAsNullStringTreatUndefinedAsNullStringURLAttr", TestObjV
8Internal::reflectedTreatNullAsNullStringTreatUndefinedAsNullStringURLAttrAttrib
uteGetterCallback, TestObjV8Internal::reflectedTreatNullAsNullStringTreatUndefin
edAsNullStringURLAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCon
trol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instan
ce */}, | 5763 {"reflectedTreatNullAsNullStringTreatUndefinedAsNullStringURLAttr", TestObjV
8Internal::reflectedTreatNullAsNullStringTreatUndefinedAsNullStringURLAttrAttrib
uteGetterCallback, TestObjV8Internal::reflectedTreatNullAsNullStringTreatUndefin
edAsNullStringURLAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCon
trol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instan
ce */}, |
5618 {"reflectedCustomStringAttr", TestObjV8Internal::reflectedCustomStringAttrAt
tributeGetterCallback, TestObjV8Internal::reflectedCustomStringAttrAttributeSett
erCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8
::PropertyAttribute>(v8::None), 0 /* on instance */}, | 5764 {"reflectedCustomStringAttr", TestObjV8Internal::reflectedCustomStringAttrAt
tributeGetterCallback, TestObjV8Internal::reflectedCustomStringAttrAttributeSett
erCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8
::PropertyAttribute>(v8::None), 0 /* on instance */}, |
| 5765 {"reflectedTreatNullAsEmptyStringCustomStringAttr", TestObjV8Internal::refle
ctedTreatNullAsEmptyStringCustomStringAttrAttributeGetterCallback, TestObjV8Inte
rnal::reflectedTreatNullAsEmptyStringCustomStringAttrAttributeSetterCallback, 0,
0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttr
ibute>(v8::None), 0 /* on instance */}, |
5619 {"reflectedTreatNullAsNullStringCustomStringAttr", TestObjV8Internal::reflec
tedTreatNullAsNullStringCustomStringAttrAttributeGetterCallback, TestObjV8Intern
al::reflectedTreatNullAsNullStringCustomStringAttrAttributeSetterCallback, 0, 0,
0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu
te>(v8::None), 0 /* on instance */}, | 5766 {"reflectedTreatNullAsNullStringCustomStringAttr", TestObjV8Internal::reflec
tedTreatNullAsNullStringCustomStringAttrAttributeGetterCallback, TestObjV8Intern
al::reflectedTreatNullAsNullStringCustomStringAttrAttributeSetterCallback, 0, 0,
0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu
te>(v8::None), 0 /* on instance */}, |
5620 {"reflectedTreatNullAsNullStringTreatUndefinedAsNullStringCustomStringAttr",
TestObjV8Internal::reflectedTreatNullAsNullStringTreatUndefinedAsNullStringCust
omStringAttrAttributeGetterCallback, TestObjV8Internal::reflectedTreatNullAsNull
StringTreatUndefinedAsNullStringCustomStringAttrAttributeSetterCallback, 0, 0, 0
, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute
>(v8::None), 0 /* on instance */}, | 5767 {"reflectedTreatNullAsNullStringTreatUndefinedAsNullStringCustomStringAttr",
TestObjV8Internal::reflectedTreatNullAsNullStringTreatUndefinedAsNullStringCust
omStringAttrAttributeGetterCallback, TestObjV8Internal::reflectedTreatNullAsNull
StringTreatUndefinedAsNullStringCustomStringAttrAttributeSetterCallback, 0, 0, 0
, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute
>(v8::None), 0 /* on instance */}, |
5621 {"reflectedCustomIntegralAttr", TestObjV8Internal::reflectedCustomIntegralAt
trAttributeGetterCallback, TestObjV8Internal::reflectedCustomIntegralAttrAttribu
teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c
ast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 5768 {"reflectedCustomIntegralAttr", TestObjV8Internal::reflectedCustomIntegralAt
trAttributeGetterCallback, TestObjV8Internal::reflectedCustomIntegralAttrAttribu
teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c
ast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
5622 {"reflectedCustomBooleanAttr", TestObjV8Internal::reflectedCustomBooleanAttr
AttributeGetterCallback, TestObjV8Internal::reflectedCustomBooleanAttrAttributeS
etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast
<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 5769 {"reflectedCustomBooleanAttr", TestObjV8Internal::reflectedCustomBooleanAttr
AttributeGetterCallback, TestObjV8Internal::reflectedCustomBooleanAttrAttributeS
etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast
<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
5623 {"reflectedCustomURLAttr", TestObjV8Internal::reflectedCustomURLAttrAttribut
eGetterCallback, TestObjV8Internal::reflectedCustomURLAttrAttributeSetterCallbac
k, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Propert
yAttribute>(v8::None), 0 /* on instance */}, | 5770 {"reflectedCustomURLAttr", TestObjV8Internal::reflectedCustomURLAttrAttribut
eGetterCallback, TestObjV8Internal::reflectedCustomURLAttrAttributeSetterCallbac
k, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Propert
yAttribute>(v8::None), 0 /* on instance */}, |
| 5771 {"reflectedTreatNullAsEmptyStringCustomURLAttr", TestObjV8Internal::reflecte
dTreatNullAsEmptyStringCustomURLAttrAttributeGetterCallback, TestObjV8Internal::
reflectedTreatNullAsEmptyStringCustomURLAttrAttributeSetterCallback, 0, 0, 0, st
atic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8
::None), 0 /* on instance */}, |
5624 {"reflectedTreatNullAsNullStringCustomURLAttr", TestObjV8Internal::reflected
TreatNullAsNullStringCustomURLAttrAttributeGetterCallback, TestObjV8Internal::re
flectedTreatNullAsNullStringCustomURLAttrAttributeSetterCallback, 0, 0, 0, stati
c_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::N
one), 0 /* on instance */}, | 5772 {"reflectedTreatNullAsNullStringCustomURLAttr", TestObjV8Internal::reflected
TreatNullAsNullStringCustomURLAttrAttributeGetterCallback, TestObjV8Internal::re
flectedTreatNullAsNullStringCustomURLAttrAttributeSetterCallback, 0, 0, 0, stati
c_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::N
one), 0 /* on instance */}, |
5625 {"reflectedTreatNullAsNullStringTreatUndefinedAsNullStringCustomURLAttr", Te
stObjV8Internal::reflectedTreatNullAsNullStringTreatUndefinedAsNullStringCustomU
RLAttrAttributeGetterCallback, TestObjV8Internal::reflectedTreatNullAsNullString
TreatUndefinedAsNullStringCustomURLAttrAttributeSetterCallback, 0, 0, 0, static_
cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::Non
e), 0 /* on instance */}, | 5773 {"reflectedTreatNullAsNullStringTreatUndefinedAsNullStringCustomURLAttr", Te
stObjV8Internal::reflectedTreatNullAsNullStringTreatUndefinedAsNullStringCustomU
RLAttrAttributeGetterCallback, TestObjV8Internal::reflectedTreatNullAsNullString
TreatUndefinedAsNullStringCustomURLAttrAttributeSetterCallback, 0, 0, 0, static_
cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::Non
e), 0 /* on instance */}, |
5626 {"limitedToOnlyOneAttribute", TestObjV8Internal::limitedToOnlyOneAttributeAt
tributeGetterCallback, TestObjV8Internal::limitedToOnlyOneAttributeAttributeSett
erCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8
::PropertyAttribute>(v8::None), 0 /* on instance */}, | 5774 {"limitedToOnlyOneAttribute", TestObjV8Internal::limitedToOnlyOneAttributeAt
tributeGetterCallback, TestObjV8Internal::limitedToOnlyOneAttributeAttributeSett
erCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8
::PropertyAttribute>(v8::None), 0 /* on instance */}, |
5627 {"limitedToOnlyAttribute", TestObjV8Internal::limitedToOnlyAttributeAttribut
eGetterCallback, TestObjV8Internal::limitedToOnlyAttributeAttributeSetterCallbac
k, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Propert
yAttribute>(v8::None), 0 /* on instance */}, | 5775 {"limitedToOnlyAttribute", TestObjV8Internal::limitedToOnlyAttributeAttribut
eGetterCallback, TestObjV8Internal::limitedToOnlyAttributeAttributeSetterCallbac
k, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Propert
yAttribute>(v8::None), 0 /* on instance */}, |
5628 {"limitedToOnlyOtherAttribute", TestObjV8Internal::limitedToOnlyOtherAttribu
teAttributeGetterCallback, TestObjV8Internal::limitedToOnlyOtherAttributeAttribu
teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c
ast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 5776 {"limitedToOnlyOtherAttribute", TestObjV8Internal::limitedToOnlyOtherAttribu
teAttributeGetterCallback, TestObjV8Internal::limitedToOnlyOtherAttributeAttribu
teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c
ast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
5629 {"limitedWithMissingDefaultAttribute", TestObjV8Internal::limitedWithMissing
DefaultAttributeAttributeGetterCallback, TestObjV8Internal::limitedWithMissingDe
faultAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v
8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 5777 {"limitedWithMissingDefaultAttribute", TestObjV8Internal::limitedWithMissing
DefaultAttributeAttributeGetterCallback, TestObjV8Internal::limitedWithMissingDe
faultAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v
8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
5630 {"limitedWithInvalidMissingDefaultAttribute", TestObjV8Internal::limitedWith
InvalidMissingDefaultAttributeAttributeGetterCallback, TestObjV8Internal::limite
dWithInvalidMissingDefaultAttributeAttributeSetterCallback, 0, 0, 0, static_cast
<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None),
0 /* on instance */}, | 5778 {"limitedWithInvalidMissingDefaultAttribute", TestObjV8Internal::limitedWith
InvalidMissingDefaultAttributeAttributeGetterCallback, TestObjV8Internal::limite
dWithInvalidMissingDefaultAttributeAttributeSetterCallback, 0, 0, 0, static_cast
<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None),
0 /* on instance */}, |
5631 {"limitedWithInvalidAndMissingDefaultAttribute", TestObjV8Internal::limitedW
ithInvalidAndMissingDefaultAttributeAttributeGetterCallback, TestObjV8Internal::
limitedWithInvalidAndMissingDefaultAttributeAttributeSetterCallback, 0, 0, 0, st
atic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8
::None), 0 /* on instance */}, | 5779 {"limitedWithInvalidAndMissingDefaultAttribute", TestObjV8Internal::limitedW
ithInvalidAndMissingDefaultAttributeAttributeGetterCallback, TestObjV8Internal::
limitedWithInvalidAndMissingDefaultAttributeAttributeSetterCallback, 0, 0, 0, st
atic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8
::None), 0 /* on instance */}, |
5632 {"corsSettingAttribute", TestObjV8Internal::corsSettingAttributeAttributeGet
terCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cas
t<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 5780 {"corsSettingAttribute", TestObjV8Internal::corsSettingAttributeAttributeGet
terCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cas
t<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
5633 {"limitedWithEmptyMissingInvalidAttribute", TestObjV8Internal::limitedWithEm
ptyMissingInvalidAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::A
ccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* o
n instance */}, | 5781 {"limitedWithEmptyMissingInvalidAttribute", TestObjV8Internal::limitedWithEm
ptyMissingInvalidAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::A
ccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* o
n instance */}, |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5910 fromInternalPointer(object)->deref(); | 6058 fromInternalPointer(object)->deref(); |
5911 } | 6059 } |
5912 | 6060 |
5913 template<> | 6061 template<> |
5914 v8::Handle<v8::Value> toV8NoInline(TestObj* impl, v8::Handle<v8::Object> creatio
nContext, v8::Isolate* isolate) | 6062 v8::Handle<v8::Value> toV8NoInline(TestObj* impl, v8::Handle<v8::Object> creatio
nContext, v8::Isolate* isolate) |
5915 { | 6063 { |
5916 return toV8(impl, creationContext, isolate); | 6064 return toV8(impl, creationContext, isolate); |
5917 } | 6065 } |
5918 | 6066 |
5919 } // namespace WebCore | 6067 } // namespace WebCore |
OLD | NEW |