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", "V8Execution"); | 446 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
447 } | 447 } |
448 | 448 |
| 449 static void treatNullAsNullStringStringAttrAttributeGetter(const v8::PropertyCal
lbackInfo<v8::Value>& info) |
| 450 { |
| 451 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 452 v8SetReturnValueString(info, imp->treatNullAsNullStringStringAttr(), info.Ge
tIsolate()); |
| 453 } |
| 454 |
| 455 static void treatNullAsNullStringStringAttrAttributeGetterCallback(v8::Local<v8:
:String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 456 { |
| 457 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 458 TestObjV8Internal::treatNullAsNullStringStringAttrAttributeGetter(info); |
| 459 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 460 } |
| 461 |
| 462 static void treatNullAsNullStringStringAttrAttributeSetter(v8::Local<v8::Value>
jsValue, const v8::PropertyCallbackInfo<void>& info) |
| 463 { |
| 464 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 465 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithNullCheck>, cppVal
ue, jsValue); |
| 466 imp->setTreatNullAsNullStringStringAttr(cppValue); |
| 467 } |
| 468 |
| 469 static void treatNullAsNullStringStringAttrAttributeSetterCallback(v8::Local<v8:
:String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& in
fo) |
| 470 { |
| 471 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 472 TestObjV8Internal::treatNullAsNullStringStringAttrAttributeSetter(jsValue, i
nfo); |
| 473 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 474 } |
| 475 |
| 476 static void treatNullAsNullStringTreatUndefinedAsNullStringStringAttrAttributeGe
tter(const v8::PropertyCallbackInfo<v8::Value>& info) |
| 477 { |
| 478 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 479 v8SetReturnValueString(info, imp->treatNullAsNullStringTreatUndefinedAsNullS
tringStringAttr(), info.GetIsolate()); |
| 480 } |
| 481 |
| 482 static void treatNullAsNullStringTreatUndefinedAsNullStringStringAttrAttributeGe
tterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& i
nfo) |
| 483 { |
| 484 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 485 TestObjV8Internal::treatNullAsNullStringTreatUndefinedAsNullStringStringAttr
AttributeGetter(info); |
| 486 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 487 } |
| 488 |
| 489 static void treatNullAsNullStringTreatUndefinedAsNullStringStringAttrAttributeSe
tter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
| 490 { |
| 491 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 492 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithUndefinedOrNullChe
ck>, cppValue, jsValue); |
| 493 imp->setTreatNullAsNullStringTreatUndefinedAsNullStringStringAttr(cppValue); |
| 494 } |
| 495 |
| 496 static void treatNullAsNullStringTreatUndefinedAsNullStringStringAttrAttributeSe
tterCallback(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::Prop
ertyCallbackInfo<void>& info) |
| 497 { |
| 498 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 499 TestObjV8Internal::treatNullAsNullStringTreatUndefinedAsNullStringStringAttr
AttributeSetter(jsValue, info); |
| 500 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 501 } |
| 502 |
449 static void eventHandlerAttrAttributeGetter(const v8::PropertyCallbackInfo<v8::V
alue>& info) | 503 static void eventHandlerAttrAttributeGetter(const v8::PropertyCallbackInfo<v8::V
alue>& info) |
450 { | 504 { |
451 TestObj* imp = V8TestObject::toNative(info.Holder()); | 505 TestObj* imp = V8TestObject::toNative(info.Holder()); |
452 EventListener* jsValue = imp->eventHandlerAttr(isolatedWorldForIsolate(info.
GetIsolate())); | 506 EventListener* jsValue = imp->eventHandlerAttr(isolatedWorldForIsolate(info.
GetIsolate())); |
453 v8SetReturnValue(info, jsValue ? v8::Handle<v8::Value>(V8AbstractEventListen
er::cast(jsValue)->getListenerObject(imp->executionContext())) : v8::Handle<v8::
Value>(v8::Null(info.GetIsolate()))); | 507 v8SetReturnValue(info, jsValue ? v8::Handle<v8::Value>(V8AbstractEventListen
er::cast(jsValue)->getListenerObject(imp->executionContext())) : v8::Handle<v8::
Value>(v8::Null(info.GetIsolate()))); |
454 } | 508 } |
455 | 509 |
456 static void eventHandlerAttrAttributeGetterCallback(v8::Local<v8::String>, const
v8::PropertyCallbackInfo<v8::Value>& info) | 510 static void eventHandlerAttrAttributeGetterCallback(v8::Local<v8::String>, const
v8::PropertyCallbackInfo<v8::Value>& info) |
457 { | 511 { |
458 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 512 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
594 static void reflectedStringAttrAttributeGetterCallback(v8::Local<v8::String>, co
nst v8::PropertyCallbackInfo<v8::Value>& info) | 648 static void reflectedStringAttrAttributeGetterCallback(v8::Local<v8::String>, co
nst v8::PropertyCallbackInfo<v8::Value>& info) |
595 { | 649 { |
596 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 650 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
597 TestObjV8Internal::reflectedStringAttrAttributeGetter(info); | 651 TestObjV8Internal::reflectedStringAttrAttributeGetter(info); |
598 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 652 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
599 } | 653 } |
600 | 654 |
601 static void reflectedStringAttrAttributeSetter(v8::Local<v8::Value> jsValue, con
st v8::PropertyCallbackInfo<void>& info) | 655 static void reflectedStringAttrAttributeSetter(v8::Local<v8::Value> jsValue, con
st v8::PropertyCallbackInfo<void>& info) |
602 { | 656 { |
603 TestObj* imp = V8TestObject::toNative(info.Holder()); | 657 TestObj* imp = V8TestObject::toNative(info.Holder()); |
604 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithNullCheck>, cppVal
ue, jsValue); | 658 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, jsValue); |
605 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; | 659 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
606 imp->setAttribute(HTMLNames::reflectedstringattrAttr, cppValue); | 660 imp->setAttribute(HTMLNames::reflectedstringattrAttr, cppValue); |
607 } | 661 } |
608 | 662 |
609 static void reflectedStringAttrAttributeSetterCallback(v8::Local<v8::String>, v8
::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 663 static void reflectedStringAttrAttributeSetterCallback(v8::Local<v8::String>, v8
::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
610 { | 664 { |
611 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 665 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
612 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; | 666 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
613 TestObjV8Internal::reflectedStringAttrAttributeSetter(jsValue, info); | 667 TestObjV8Internal::reflectedStringAttrAttributeSetter(jsValue, info); |
614 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 668 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
615 } | 669 } |
616 | 670 |
| 671 static void reflectedTreatNullAsNullStringStringAttrAttributeGetter(const v8::Pr
opertyCallbackInfo<v8::Value>& info) |
| 672 { |
| 673 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 674 v8SetReturnValueString(info, imp->fastGetAttribute(HTMLNames::reflectedtreat
nullasnullstringstringattrAttr), info.GetIsolate()); |
| 675 } |
| 676 |
| 677 static void reflectedTreatNullAsNullStringStringAttrAttributeGetterCallback(v8::
Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 678 { |
| 679 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 680 TestObjV8Internal::reflectedTreatNullAsNullStringStringAttrAttributeGetter(i
nfo); |
| 681 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 682 } |
| 683 |
| 684 static void reflectedTreatNullAsNullStringStringAttrAttributeSetter(v8::Local<v8
::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
| 685 { |
| 686 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 687 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithNullCheck>, cppVal
ue, jsValue); |
| 688 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 689 imp->setAttribute(HTMLNames::reflectedtreatnullasnullstringstringattrAttr, c
ppValue); |
| 690 } |
| 691 |
| 692 static void reflectedTreatNullAsNullStringStringAttrAttributeSetterCallback(v8::
Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<
void>& info) |
| 693 { |
| 694 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 695 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 696 TestObjV8Internal::reflectedTreatNullAsNullStringStringAttrAttributeSetter(j
sValue, info); |
| 697 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 698 } |
| 699 |
| 700 static void reflectedTreatNullAsNullStringTreatUndefinedAsNullStringStringAttrAt
tributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) |
| 701 { |
| 702 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 703 v8SetReturnValueString(info, imp->fastGetAttribute(HTMLNames::reflectedtreat
nullasnullstringtreatundefinedasnullstringstringattrAttr), info.GetIsolate()); |
| 704 } |
| 705 |
| 706 static void reflectedTreatNullAsNullStringTreatUndefinedAsNullStringStringAttrAt
tributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::
Value>& info) |
| 707 { |
| 708 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 709 TestObjV8Internal::reflectedTreatNullAsNullStringTreatUndefinedAsNullStringS
tringAttrAttributeGetter(info); |
| 710 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 711 } |
| 712 |
| 713 static void reflectedTreatNullAsNullStringTreatUndefinedAsNullStringStringAttrAt
tributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>
& info) |
| 714 { |
| 715 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 716 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithUndefinedOrNullChe
ck>, cppValue, jsValue); |
| 717 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 718 imp->setAttribute(HTMLNames::reflectedtreatnullasnullstringtreatundefinedasn
ullstringstringattrAttr, cppValue); |
| 719 } |
| 720 |
| 721 static void reflectedTreatNullAsNullStringTreatUndefinedAsNullStringStringAttrAt
tributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const
v8::PropertyCallbackInfo<void>& info) |
| 722 { |
| 723 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 724 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 725 TestObjV8Internal::reflectedTreatNullAsNullStringTreatUndefinedAsNullStringS
tringAttrAttributeSetter(jsValue, info); |
| 726 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 727 } |
| 728 |
617 static void reflectedIntegralAttrAttributeGetter(const v8::PropertyCallbackInfo<
v8::Value>& info) | 729 static void reflectedIntegralAttrAttributeGetter(const v8::PropertyCallbackInfo<
v8::Value>& info) |
618 { | 730 { |
619 TestObj* imp = V8TestObject::toNative(info.Holder()); | 731 TestObj* imp = V8TestObject::toNative(info.Holder()); |
620 v8SetReturnValueInt(info, imp->getIntegralAttribute(HTMLNames::reflectedinte
gralattrAttr)); | 732 v8SetReturnValueInt(info, imp->getIntegralAttribute(HTMLNames::reflectedinte
gralattrAttr)); |
621 } | 733 } |
622 | 734 |
623 static void reflectedIntegralAttrAttributeGetterCallback(v8::Local<v8::String>,
const v8::PropertyCallbackInfo<v8::Value>& info) | 735 static void reflectedIntegralAttrAttributeGetterCallback(v8::Local<v8::String>,
const v8::PropertyCallbackInfo<v8::Value>& info) |
624 { | 736 { |
625 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 737 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
626 TestObjV8Internal::reflectedIntegralAttrAttributeGetter(info); | 738 TestObjV8Internal::reflectedIntegralAttrAttributeGetter(info); |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
712 static void reflectedURLAttrAttributeGetterCallback(v8::Local<v8::String>, const
v8::PropertyCallbackInfo<v8::Value>& info) | 824 static void reflectedURLAttrAttributeGetterCallback(v8::Local<v8::String>, const
v8::PropertyCallbackInfo<v8::Value>& info) |
713 { | 825 { |
714 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 826 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
715 TestObjV8Internal::reflectedURLAttrAttributeGetter(info); | 827 TestObjV8Internal::reflectedURLAttrAttributeGetter(info); |
716 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 828 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
717 } | 829 } |
718 | 830 |
719 static void reflectedURLAttrAttributeSetter(v8::Local<v8::Value> jsValue, const
v8::PropertyCallbackInfo<void>& info) | 831 static void reflectedURLAttrAttributeSetter(v8::Local<v8::Value> jsValue, const
v8::PropertyCallbackInfo<void>& info) |
720 { | 832 { |
721 TestObj* imp = V8TestObject::toNative(info.Holder()); | 833 TestObj* imp = V8TestObject::toNative(info.Holder()); |
722 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithNullCheck>, cppVal
ue, jsValue); | 834 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, jsValue); |
723 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; | 835 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
724 imp->setAttribute(HTMLNames::reflectedurlattrAttr, cppValue); | 836 imp->setAttribute(HTMLNames::reflectedurlattrAttr, cppValue); |
725 } | 837 } |
726 | 838 |
727 static void reflectedURLAttrAttributeSetterCallback(v8::Local<v8::String>, v8::L
ocal<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 839 static void reflectedURLAttrAttributeSetterCallback(v8::Local<v8::String>, v8::L
ocal<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
728 { | 840 { |
729 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 841 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
730 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; | 842 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
731 TestObjV8Internal::reflectedURLAttrAttributeSetter(jsValue, info); | 843 TestObjV8Internal::reflectedURLAttrAttributeSetter(jsValue, info); |
732 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 844 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
733 } | 845 } |
734 | 846 |
735 static void reflectedStringAttrAttributeGetter(const v8::PropertyCallbackInfo<v8
::Value>& info) | 847 static void reflectedTreatNullAsNullStringURLAttrAttributeGetter(const v8::Prope
rtyCallbackInfo<v8::Value>& info) |
| 848 { |
| 849 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 850 v8SetReturnValueString(info, imp->getURLAttribute(HTMLNames::reflectedtreatn
ullasnullstringurlattrAttr), info.GetIsolate()); |
| 851 } |
| 852 |
| 853 static void reflectedTreatNullAsNullStringURLAttrAttributeGetterCallback(v8::Loc
al<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 854 { |
| 855 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 856 TestObjV8Internal::reflectedTreatNullAsNullStringURLAttrAttributeGetter(info
); |
| 857 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 858 } |
| 859 |
| 860 static void reflectedTreatNullAsNullStringURLAttrAttributeSetter(v8::Local<v8::V
alue> jsValue, const v8::PropertyCallbackInfo<void>& info) |
| 861 { |
| 862 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 863 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithNullCheck>, cppVal
ue, jsValue); |
| 864 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 865 imp->setAttribute(HTMLNames::reflectedtreatnullasnullstringurlattrAttr, cppV
alue); |
| 866 } |
| 867 |
| 868 static void reflectedTreatNullAsNullStringURLAttrAttributeSetterCallback(v8::Loc
al<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<voi
d>& info) |
| 869 { |
| 870 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 871 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 872 TestObjV8Internal::reflectedTreatNullAsNullStringURLAttrAttributeSetter(jsVa
lue, info); |
| 873 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 874 } |
| 875 |
| 876 static void reflectedTreatNullAsNullStringTreatUndefinedAsNullStringURLAttrAttri
buteGetter(const v8::PropertyCallbackInfo<v8::Value>& info) |
| 877 { |
| 878 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 879 v8SetReturnValueString(info, imp->getURLAttribute(HTMLNames::reflectedtreatn
ullasnullstringtreatundefinedasnullstringurlattrAttr), info.GetIsolate()); |
| 880 } |
| 881 |
| 882 static void reflectedTreatNullAsNullStringTreatUndefinedAsNullStringURLAttrAttri
buteGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Val
ue>& info) |
| 883 { |
| 884 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 885 TestObjV8Internal::reflectedTreatNullAsNullStringTreatUndefinedAsNullStringU
RLAttrAttributeGetter(info); |
| 886 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 887 } |
| 888 |
| 889 static void reflectedTreatNullAsNullStringTreatUndefinedAsNullStringURLAttrAttri
buteSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& i
nfo) |
| 890 { |
| 891 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 892 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithUndefinedOrNullChe
ck>, cppValue, jsValue); |
| 893 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 894 imp->setAttribute(HTMLNames::reflectedtreatnullasnullstringtreatundefinedasn
ullstringurlattrAttr, cppValue); |
| 895 } |
| 896 |
| 897 static void reflectedTreatNullAsNullStringTreatUndefinedAsNullStringURLAttrAttri
buteSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8
::PropertyCallbackInfo<void>& info) |
| 898 { |
| 899 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 900 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 901 TestObjV8Internal::reflectedTreatNullAsNullStringTreatUndefinedAsNullStringU
RLAttrAttributeSetter(jsValue, info); |
| 902 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 903 } |
| 904 |
| 905 static void reflectedCustomStringAttrAttributeGetter(const v8::PropertyCallbackI
nfo<v8::Value>& info) |
736 { | 906 { |
737 TestObj* imp = V8TestObject::toNative(info.Holder()); | 907 TestObj* imp = V8TestObject::toNative(info.Holder()); |
738 v8SetReturnValueString(info, imp->fastGetAttribute(HTMLNames::customContentS
tringAttrAttr), info.GetIsolate()); | 908 v8SetReturnValueString(info, imp->fastGetAttribute(HTMLNames::customContentS
tringAttrAttr), info.GetIsolate()); |
739 } | 909 } |
740 | 910 |
741 static void reflectedStringAttrAttributeGetterCallback(v8::Local<v8::String>, co
nst v8::PropertyCallbackInfo<v8::Value>& info) | 911 static void reflectedCustomStringAttrAttributeGetterCallback(v8::Local<v8::Strin
g>, const v8::PropertyCallbackInfo<v8::Value>& info) |
742 { | 912 { |
743 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 913 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
744 TestObjV8Internal::reflectedStringAttrAttributeGetter(info); | 914 TestObjV8Internal::reflectedCustomStringAttrAttributeGetter(info); |
745 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 915 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
746 } | 916 } |
747 | 917 |
748 static void reflectedStringAttrAttributeSetter(v8::Local<v8::Value> jsValue, con
st v8::PropertyCallbackInfo<void>& info) | 918 static void reflectedCustomStringAttrAttributeSetter(v8::Local<v8::Value> jsValu
e, const v8::PropertyCallbackInfo<void>& info) |
| 919 { |
| 920 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 921 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, jsValue); |
| 922 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 923 imp->setAttribute(HTMLNames::customContentStringAttrAttr, cppValue); |
| 924 } |
| 925 |
| 926 static void reflectedCustomStringAttrAttributeSetterCallback(v8::Local<v8::Strin
g>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
| 927 { |
| 928 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 929 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 930 TestObjV8Internal::reflectedCustomStringAttrAttributeSetter(jsValue, info); |
| 931 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 932 } |
| 933 |
| 934 static void reflectedTreatNullAsNullStringCustomStringAttrAttributeGetter(const
v8::PropertyCallbackInfo<v8::Value>& info) |
| 935 { |
| 936 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 937 v8SetReturnValueString(info, imp->fastGetAttribute(HTMLNames::customContentS
tringAttrAttr), info.GetIsolate()); |
| 938 } |
| 939 |
| 940 static void reflectedTreatNullAsNullStringCustomStringAttrAttributeGetterCallbac
k(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 941 { |
| 942 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 943 TestObjV8Internal::reflectedTreatNullAsNullStringCustomStringAttrAttributeGe
tter(info); |
| 944 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 945 } |
| 946 |
| 947 static void reflectedTreatNullAsNullStringCustomStringAttrAttributeSetter(v8::Lo
cal<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
749 { | 948 { |
750 TestObj* imp = V8TestObject::toNative(info.Holder()); | 949 TestObj* imp = V8TestObject::toNative(info.Holder()); |
751 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithNullCheck>, cppVal
ue, jsValue); | 950 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithNullCheck>, cppVal
ue, jsValue); |
752 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; | 951 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
753 imp->setAttribute(HTMLNames::customContentStringAttrAttr, cppValue); | 952 imp->setAttribute(HTMLNames::customContentStringAttrAttr, cppValue); |
754 } | 953 } |
755 | 954 |
756 static void reflectedStringAttrAttributeSetterCallback(v8::Local<v8::String>, v8
::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 955 static void reflectedTreatNullAsNullStringCustomStringAttrAttributeSetterCallbac
k(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbac
kInfo<void>& info) |
757 { | 956 { |
758 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 957 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
759 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; | 958 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
760 TestObjV8Internal::reflectedStringAttrAttributeSetter(jsValue, info); | 959 TestObjV8Internal::reflectedTreatNullAsNullStringCustomStringAttrAttributeSe
tter(jsValue, info); |
761 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 960 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
762 } | 961 } |
763 | 962 |
| 963 static void reflectedTreatNullAsNullStringTreatUndefinedAsNullStringCustomString
AttrAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) |
| 964 { |
| 965 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 966 v8SetReturnValueString(info, imp->fastGetAttribute(HTMLNames::customContentS
tringAttrAttr), info.GetIsolate()); |
| 967 } |
| 968 |
| 969 static void reflectedTreatNullAsNullStringTreatUndefinedAsNullStringCustomString
AttrAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInf
o<v8::Value>& info) |
| 970 { |
| 971 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 972 TestObjV8Internal::reflectedTreatNullAsNullStringTreatUndefinedAsNullStringC
ustomStringAttrAttributeGetter(info); |
| 973 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 974 } |
| 975 |
| 976 static void reflectedTreatNullAsNullStringTreatUndefinedAsNullStringCustomString
AttrAttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo
<void>& info) |
| 977 { |
| 978 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 979 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithUndefinedOrNullChe
ck>, cppValue, jsValue); |
| 980 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 981 imp->setAttribute(HTMLNames::customContentStringAttrAttr, cppValue); |
| 982 } |
| 983 |
| 984 static void reflectedTreatNullAsNullStringTreatUndefinedAsNullStringCustomString
AttrAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> jsValue,
const v8::PropertyCallbackInfo<void>& info) |
| 985 { |
| 986 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 987 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 988 TestObjV8Internal::reflectedTreatNullAsNullStringTreatUndefinedAsNullStringC
ustomStringAttrAttributeSetter(jsValue, info); |
| 989 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 990 } |
| 991 |
764 static void reflectedCustomIntegralAttrAttributeGetter(const v8::PropertyCallbac
kInfo<v8::Value>& info) | 992 static void reflectedCustomIntegralAttrAttributeGetter(const v8::PropertyCallbac
kInfo<v8::Value>& info) |
765 { | 993 { |
766 TestObj* imp = V8TestObject::toNative(info.Holder()); | 994 TestObj* imp = V8TestObject::toNative(info.Holder()); |
767 v8SetReturnValueInt(info, imp->getIntegralAttribute(HTMLNames::customContent
IntegralAttrAttr)); | 995 v8SetReturnValueInt(info, imp->getIntegralAttribute(HTMLNames::customContent
IntegralAttrAttr)); |
768 } | 996 } |
769 | 997 |
770 static void reflectedCustomIntegralAttrAttributeGetterCallback(v8::Local<v8::Str
ing>, const v8::PropertyCallbackInfo<v8::Value>& info) | 998 static void reflectedCustomIntegralAttrAttributeGetterCallback(v8::Local<v8::Str
ing>, const v8::PropertyCallbackInfo<v8::Value>& info) |
771 { | 999 { |
772 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 1000 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
773 TestObjV8Internal::reflectedCustomIntegralAttrAttributeGetter(info); | 1001 TestObjV8Internal::reflectedCustomIntegralAttrAttributeGetter(info); |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
829 static void reflectedCustomURLAttrAttributeGetterCallback(v8::Local<v8::String>,
const v8::PropertyCallbackInfo<v8::Value>& info) | 1057 static void reflectedCustomURLAttrAttributeGetterCallback(v8::Local<v8::String>,
const v8::PropertyCallbackInfo<v8::Value>& info) |
830 { | 1058 { |
831 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 1059 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
832 TestObjV8Internal::reflectedCustomURLAttrAttributeGetter(info); | 1060 TestObjV8Internal::reflectedCustomURLAttrAttributeGetter(info); |
833 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 1061 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
834 } | 1062 } |
835 | 1063 |
836 static void reflectedCustomURLAttrAttributeSetter(v8::Local<v8::Value> jsValue,
const v8::PropertyCallbackInfo<void>& info) | 1064 static void reflectedCustomURLAttrAttributeSetter(v8::Local<v8::Value> jsValue,
const v8::PropertyCallbackInfo<void>& info) |
837 { | 1065 { |
838 TestObj* imp = V8TestObject::toNative(info.Holder()); | 1066 TestObj* imp = V8TestObject::toNative(info.Holder()); |
839 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithNullCheck>, cppVal
ue, jsValue); | 1067 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, jsValue); |
840 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; | 1068 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
841 imp->setAttribute(HTMLNames::customContentURLAttrAttr, cppValue); | 1069 imp->setAttribute(HTMLNames::customContentURLAttrAttr, cppValue); |
842 } | 1070 } |
843 | 1071 |
844 static void reflectedCustomURLAttrAttributeSetterCallback(v8::Local<v8::String>,
v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 1072 static void reflectedCustomURLAttrAttributeSetterCallback(v8::Local<v8::String>,
v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
845 { | 1073 { |
846 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 1074 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
847 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; | 1075 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
848 TestObjV8Internal::reflectedCustomURLAttrAttributeSetter(jsValue, info); | 1076 TestObjV8Internal::reflectedCustomURLAttrAttributeSetter(jsValue, info); |
849 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 1077 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
850 } | 1078 } |
851 | 1079 |
| 1080 static void reflectedTreatNullAsNullStringCustomURLAttrAttributeGetter(const v8:
:PropertyCallbackInfo<v8::Value>& info) |
| 1081 { |
| 1082 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 1083 v8SetReturnValueString(info, imp->getURLAttribute(HTMLNames::customContentUR
LAttrAttr), info.GetIsolate()); |
| 1084 } |
| 1085 |
| 1086 static void reflectedTreatNullAsNullStringCustomURLAttrAttributeGetterCallback(v
8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 1087 { |
| 1088 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 1089 TestObjV8Internal::reflectedTreatNullAsNullStringCustomURLAttrAttributeGette
r(info); |
| 1090 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 1091 } |
| 1092 |
| 1093 static void reflectedTreatNullAsNullStringCustomURLAttrAttributeSetter(v8::Local
<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
| 1094 { |
| 1095 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 1096 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithNullCheck>, cppVal
ue, jsValue); |
| 1097 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 1098 imp->setAttribute(HTMLNames::customContentURLAttrAttr, cppValue); |
| 1099 } |
| 1100 |
| 1101 static void reflectedTreatNullAsNullStringCustomURLAttrAttributeSetterCallback(v
8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackIn
fo<void>& info) |
| 1102 { |
| 1103 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 1104 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 1105 TestObjV8Internal::reflectedTreatNullAsNullStringCustomURLAttrAttributeSette
r(jsValue, info); |
| 1106 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 1107 } |
| 1108 |
| 1109 static void reflectedTreatNullAsNullStringTreatUndefinedAsNullStringCustomURLAtt
rAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) |
| 1110 { |
| 1111 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 1112 v8SetReturnValueString(info, imp->getURLAttribute(HTMLNames::customContentUR
LAttrAttr), info.GetIsolate()); |
| 1113 } |
| 1114 |
| 1115 static void reflectedTreatNullAsNullStringTreatUndefinedAsNullStringCustomURLAtt
rAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v
8::Value>& info) |
| 1116 { |
| 1117 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 1118 TestObjV8Internal::reflectedTreatNullAsNullStringTreatUndefinedAsNullStringC
ustomURLAttrAttributeGetter(info); |
| 1119 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 1120 } |
| 1121 |
| 1122 static void reflectedTreatNullAsNullStringTreatUndefinedAsNullStringCustomURLAtt
rAttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<vo
id>& info) |
| 1123 { |
| 1124 TestObj* imp = V8TestObject::toNative(info.Holder()); |
| 1125 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithUndefinedOrNullChe
ck>, cppValue, jsValue); |
| 1126 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 1127 imp->setAttribute(HTMLNames::customContentURLAttrAttr, cppValue); |
| 1128 } |
| 1129 |
| 1130 static void reflectedTreatNullAsNullStringTreatUndefinedAsNullStringCustomURLAtt
rAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, co
nst v8::PropertyCallbackInfo<void>& info) |
| 1131 { |
| 1132 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 1133 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 1134 TestObjV8Internal::reflectedTreatNullAsNullStringTreatUndefinedAsNullStringC
ustomURLAttrAttributeSetter(jsValue, info); |
| 1135 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 1136 } |
| 1137 |
852 static void limitedToOnlyOneAttributeAttributeGetter(const v8::PropertyCallbackI
nfo<v8::Value>& info) | 1138 static void limitedToOnlyOneAttributeAttributeGetter(const v8::PropertyCallbackI
nfo<v8::Value>& info) |
853 { | 1139 { |
854 TestObj* imp = V8TestObject::toNative(info.Holder()); | 1140 TestObj* imp = V8TestObject::toNative(info.Holder()); |
855 String resultValue = imp->fastGetAttribute(HTMLNames::limitedtoonlyoneattrib
uteAttr); | 1141 String resultValue = imp->fastGetAttribute(HTMLNames::limitedtoonlyoneattrib
uteAttr); |
856 if (resultValue.isEmpty()) { | 1142 if (resultValue.isEmpty()) { |
857 ; | 1143 ; |
858 } else if (equalIgnoringCase(resultValue, "unique")) { | 1144 } else if (equalIgnoringCase(resultValue, "unique")) { |
859 resultValue = "unique"; | 1145 resultValue = "unique"; |
860 } else { | 1146 } else { |
861 resultValue = ""; | 1147 resultValue = ""; |
(...skipping 4445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5307 {"enumAttr", TestObjV8Internal::enumAttrAttributeGetterCallback, TestObjV8In
ternal::enumAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>
(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */
}, | 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 */
}, |
5308 {"readOnlyEnumAttr", TestObjV8Internal::readOnlyEnumAttrAttributeGetterCallb
ack, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Pr
opertyAttribute>(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 */}, |
5309 {"byteAttr", TestObjV8Internal::byteAttrAttributeGetterCallback, TestObjV8In
ternal::byteAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>
(v8::DEFAULT), static_cast<v8::PropertyAttribute>(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 */
}, |
5310 {"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
*/}, | 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
*/}, |
5311 {"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
*/}, | 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
*/}, |
5312 {"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 */}, | 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 */}, |
5313 {"longAttr", TestObjV8Internal::longAttrAttributeGetterCallback, TestObjV8In
ternal::longAttrAttributeSetterCallback, 0, 0, 0, static_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 */
}, |
5314 {"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 */}, | 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 */}, |
5315 {"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 */}, | 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 */}, |
5316 {"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 */}, | 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 */}, |
| 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 */}, |
| 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 */}, |
5317 {"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 */}, | 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 */}, |
5318 {"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 */}, | 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 */}, |
5319 {"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 */}, | 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 */}, |
5320 {"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 */}, | 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 */}, |
5321 {"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 */}, | 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 */}, |
| 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 */}, |
| 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 */}, |
5322 {"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 */}, | 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 */}, |
5323 {"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 */}, | 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 */}, |
5324 {"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 */}, | 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 */}, |
5325 {"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 */}, | 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 */}, |
5326 {"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 */}, | 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 */}, |
| 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 */}, |
| 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 */}, |
| 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 */}, |
| 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 */}, |
5327 {"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 */}, | 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 */}, |
5328 {"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 */}, | 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 */}, |
5329 {"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 */}, | 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 */}, |
| 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 */}, |
| 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 */}, |
5330 {"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 */}, | 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 */}, |
5331 {"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 */}, | 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 */}, |
5332 {"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 */}, | 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 */}, |
5333 {"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 */}, | 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 */}, |
5334 {"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 */}, | 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 */}, |
5335 {"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 */}, | 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 */}, |
5336 {"corsSettingAttribute", TestObjV8Internal::corsSettingAttributeAttributeGet
terCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cas
t<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 */}, |
5337 {"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 */}, | 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 */}, |
5338 {"typedArrayAttr", TestObjV8Internal::typedArrayAttrAttributeGetterCallback,
TestObjV8Internal::typedArrayAttrAttributeSetterCallback, 0, 0, 0, static_cast<
v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0
/* on instance */}, | 5634 {"typedArrayAttr", TestObjV8Internal::typedArrayAttrAttributeGetterCallback,
TestObjV8Internal::typedArrayAttrAttributeSetterCallback, 0, 0, 0, static_cast<
v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0
/* on instance */}, |
5339 {"attrWithGetterException", TestObjV8Internal::attrWithGetterExceptionAttrib
uteGetterCallback, TestObjV8Internal::attrWithGetterExceptionAttributeSetterCall
back, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prop
ertyAttribute>(v8::None), 0 /* on instance */}, | 5635 {"attrWithGetterException", TestObjV8Internal::attrWithGetterExceptionAttrib
uteGetterCallback, TestObjV8Internal::attrWithGetterExceptionAttributeSetterCall
back, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prop
ertyAttribute>(v8::None), 0 /* on instance */}, |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5614 fromInternalPointer(object)->deref(); | 5910 fromInternalPointer(object)->deref(); |
5615 } | 5911 } |
5616 | 5912 |
5617 template<> | 5913 template<> |
5618 v8::Handle<v8::Value> toV8NoInline(TestObj* impl, v8::Handle<v8::Object> creatio
nContext, v8::Isolate* isolate) | 5914 v8::Handle<v8::Value> toV8NoInline(TestObj* impl, v8::Handle<v8::Object> creatio
nContext, v8::Isolate* isolate) |
5619 { | 5915 { |
5620 return toV8(impl, creationContext, isolate); | 5916 return toV8(impl, creationContext, isolate); |
5621 } | 5917 } |
5622 | 5918 |
5623 } // namespace WebCore | 5919 } // namespace WebCore |
OLD | NEW |