OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! | 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! |
6 | 6 |
7 #include "V8TestObject.h" | 7 #include "V8TestObject.h" |
8 | 8 |
9 #include "bindings/core/v8/BindingSecurity.h" | 9 #include "bindings/core/v8/BindingSecurity.h" |
10 #include "bindings/core/v8/Dictionary.h" | 10 #include "bindings/core/v8/Dictionary.h" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 #include "bindings/core/v8/V8TestNode.h" | 49 #include "bindings/core/v8/V8TestNode.h" |
50 #include "bindings/core/v8/V8TestObject.h" | 50 #include "bindings/core/v8/V8TestObject.h" |
51 #include "bindings/core/v8/V8Uint8Array.h" | 51 #include "bindings/core/v8/V8Uint8Array.h" |
52 #include "bindings/core/v8/V8Window.h" | 52 #include "bindings/core/v8/V8Window.h" |
53 #include "bindings/core/v8/V8XPathNSResolver.h" | 53 #include "bindings/core/v8/V8XPathNSResolver.h" |
54 #include "core/HTMLNames.h" | 54 #include "core/HTMLNames.h" |
55 #include "core/dom/ClassCollection.h" | 55 #include "core/dom/ClassCollection.h" |
56 #include "core/dom/Document.h" | 56 #include "core/dom/Document.h" |
57 #include "core/dom/FlexibleArrayBufferView.h" | 57 #include "core/dom/FlexibleArrayBufferView.h" |
58 #include "core/dom/TagCollection.h" | 58 #include "core/dom/TagCollection.h" |
59 #include "core/dom/custom/CustomElementProcessingStack.h" | 59 #include "core/dom/custom/V0CustomElementProcessingStack.h" |
60 #include "core/frame/Deprecation.h" | 60 #include "core/frame/Deprecation.h" |
61 #include "core/frame/LocalFrame.h" | 61 #include "core/frame/LocalFrame.h" |
62 #include "core/frame/UseCounter.h" | 62 #include "core/frame/UseCounter.h" |
63 #include "core/html/HTMLCollection.h" | 63 #include "core/html/HTMLCollection.h" |
64 #include "core/html/HTMLDataListOptionsCollection.h" | 64 #include "core/html/HTMLDataListOptionsCollection.h" |
65 #include "core/html/HTMLFormControlsCollection.h" | 65 #include "core/html/HTMLFormControlsCollection.h" |
66 #include "core/html/HTMLTableRowsCollection.h" | 66 #include "core/html/HTMLTableRowsCollection.h" |
67 #include "core/inspector/ConsoleMessage.h" | 67 #include "core/inspector/ConsoleMessage.h" |
68 #include "core/inspector/ScriptArguments.h" | 68 #include "core/inspector/ScriptArguments.h" |
69 #include "core/origin_trials/OriginTrials.h" | 69 #include "core/origin_trials/OriginTrials.h" |
(...skipping 3438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3508 { | 3508 { |
3509 v8::Local<v8::Object> holder = info.Holder(); | 3509 v8::Local<v8::Object> holder = info.Holder(); |
3510 ExceptionState exceptionState(ExceptionState::SetterContext, "reflectTestInt
erfaceAttribute", "TestObject", holder, info.GetIsolate()); | 3510 ExceptionState exceptionState(ExceptionState::SetterContext, "reflectTestInt
erfaceAttribute", "TestObject", holder, info.GetIsolate()); |
3511 TestObject* impl = V8TestObject::toImpl(holder); | 3511 TestObject* impl = V8TestObject::toImpl(holder); |
3512 TestInterfaceImplementation* cppValue = V8TestInterface::toImplWithTypeCheck
(info.GetIsolate(), v8Value); | 3512 TestInterfaceImplementation* cppValue = V8TestInterface::toImplWithTypeCheck
(info.GetIsolate(), v8Value); |
3513 if (!cppValue) { | 3513 if (!cppValue) { |
3514 exceptionState.throwTypeError("The provided value is not of type 'TestIn
terface'."); | 3514 exceptionState.throwTypeError("The provided value is not of type 'TestIn
terface'."); |
3515 exceptionState.throwIfNeeded(); | 3515 exceptionState.throwIfNeeded(); |
3516 return; | 3516 return; |
3517 } | 3517 } |
3518 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3518 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3519 impl->setAttribute(HTMLNames::reflecttestinterfaceattributeAttr, cppValue); | 3519 impl->setAttribute(HTMLNames::reflecttestinterfaceattributeAttr, cppValue); |
3520 } | 3520 } |
3521 | 3521 |
3522 static void reflectTestInterfaceAttributeAttributeSetterCallback(const v8::Funct
ionCallbackInfo<v8::Value>& info) | 3522 static void reflectTestInterfaceAttributeAttributeSetterCallback(const v8::Funct
ionCallbackInfo<v8::Value>& info) |
3523 { | 3523 { |
3524 v8::Local<v8::Value> v8Value = info[0]; | 3524 v8::Local<v8::Value> v8Value = info[0]; |
3525 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3525 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3526 TestObjectV8Internal::reflectTestInterfaceAttributeAttributeSetter(v8Value,
info); | 3526 TestObjectV8Internal::reflectTestInterfaceAttributeAttributeSetter(v8Value,
info); |
3527 } | 3527 } |
3528 | 3528 |
3529 static void reflectReflectedNameAttributeTestAttributeAttributeGetter(const v8::
FunctionCallbackInfo<v8::Value>& info) | 3529 static void reflectReflectedNameAttributeTestAttributeAttributeGetter(const v8::
FunctionCallbackInfo<v8::Value>& info) |
3530 { | 3530 { |
3531 v8::Local<v8::Object> holder = info.Holder(); | 3531 v8::Local<v8::Object> holder = info.Holder(); |
3532 TestObject* impl = V8TestObject::toImpl(holder); | 3532 TestObject* impl = V8TestObject::toImpl(holder); |
3533 v8SetReturnValueFast(info, impl->fastGetAttribute(HTMLNames::reflectedNameAt
tributeAttr), impl); | 3533 v8SetReturnValueFast(info, impl->fastGetAttribute(HTMLNames::reflectedNameAt
tributeAttr), impl); |
3534 } | 3534 } |
3535 | 3535 |
3536 static void reflectReflectedNameAttributeTestAttributeAttributeGetterCallback(co
nst v8::FunctionCallbackInfo<v8::Value>& info) | 3536 static void reflectReflectedNameAttributeTestAttributeAttributeGetterCallback(co
nst v8::FunctionCallbackInfo<v8::Value>& info) |
3537 { | 3537 { |
3538 TestObjectV8Internal::reflectReflectedNameAttributeTestAttributeAttributeGet
ter(info); | 3538 TestObjectV8Internal::reflectReflectedNameAttributeTestAttributeAttributeGet
ter(info); |
3539 } | 3539 } |
3540 | 3540 |
3541 static void reflectReflectedNameAttributeTestAttributeAttributeSetter(v8::Local<
v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) | 3541 static void reflectReflectedNameAttributeTestAttributeAttributeSetter(v8::Local<
v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) |
3542 { | 3542 { |
3543 v8::Local<v8::Object> holder = info.Holder(); | 3543 v8::Local<v8::Object> holder = info.Holder(); |
3544 ExceptionState exceptionState(ExceptionState::SetterContext, "reflectReflect
edNameAttributeTestAttribute", "TestObject", holder, info.GetIsolate()); | 3544 ExceptionState exceptionState(ExceptionState::SetterContext, "reflectReflect
edNameAttributeTestAttribute", "TestObject", holder, info.GetIsolate()); |
3545 TestObject* impl = V8TestObject::toImpl(holder); | 3545 TestObject* impl = V8TestObject::toImpl(holder); |
3546 TestInterfaceImplementation* cppValue = V8TestInterface::toImplWithTypeCheck
(info.GetIsolate(), v8Value); | 3546 TestInterfaceImplementation* cppValue = V8TestInterface::toImplWithTypeCheck
(info.GetIsolate(), v8Value); |
3547 if (!cppValue) { | 3547 if (!cppValue) { |
3548 exceptionState.throwTypeError("The provided value is not of type 'TestIn
terface'."); | 3548 exceptionState.throwTypeError("The provided value is not of type 'TestIn
terface'."); |
3549 exceptionState.throwIfNeeded(); | 3549 exceptionState.throwIfNeeded(); |
3550 return; | 3550 return; |
3551 } | 3551 } |
3552 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3552 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3553 impl->setAttribute(HTMLNames::reflectedNameAttributeAttr, cppValue); | 3553 impl->setAttribute(HTMLNames::reflectedNameAttributeAttr, cppValue); |
3554 } | 3554 } |
3555 | 3555 |
3556 static void reflectReflectedNameAttributeTestAttributeAttributeSetterCallback(co
nst v8::FunctionCallbackInfo<v8::Value>& info) | 3556 static void reflectReflectedNameAttributeTestAttributeAttributeSetterCallback(co
nst v8::FunctionCallbackInfo<v8::Value>& info) |
3557 { | 3557 { |
3558 v8::Local<v8::Value> v8Value = info[0]; | 3558 v8::Local<v8::Value> v8Value = info[0]; |
3559 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3559 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3560 TestObjectV8Internal::reflectReflectedNameAttributeTestAttributeAttributeSet
ter(v8Value, info); | 3560 TestObjectV8Internal::reflectReflectedNameAttributeTestAttributeAttributeSet
ter(v8Value, info); |
3561 } | 3561 } |
3562 | 3562 |
3563 static void reflectBooleanAttributeAttributeGetter(const v8::FunctionCallbackInf
o<v8::Value>& info) | 3563 static void reflectBooleanAttributeAttributeGetter(const v8::FunctionCallbackInf
o<v8::Value>& info) |
3564 { | 3564 { |
3565 v8::Local<v8::Object> holder = info.Holder(); | 3565 v8::Local<v8::Object> holder = info.Holder(); |
3566 TestObject* impl = V8TestObject::toImpl(holder); | 3566 TestObject* impl = V8TestObject::toImpl(holder); |
3567 v8SetReturnValueBool(info, impl->fastHasAttribute(HTMLNames::reflectbooleana
ttributeAttr)); | 3567 v8SetReturnValueBool(info, impl->fastHasAttribute(HTMLNames::reflectbooleana
ttributeAttr)); |
3568 } | 3568 } |
3569 | 3569 |
3570 static void reflectBooleanAttributeAttributeGetterCallback(const v8::FunctionCal
lbackInfo<v8::Value>& info) | 3570 static void reflectBooleanAttributeAttributeGetterCallback(const v8::FunctionCal
lbackInfo<v8::Value>& info) |
3571 { | 3571 { |
3572 TestObjectV8Internal::reflectBooleanAttributeAttributeGetter(info); | 3572 TestObjectV8Internal::reflectBooleanAttributeAttributeGetter(info); |
3573 } | 3573 } |
3574 | 3574 |
3575 static void reflectBooleanAttributeAttributeSetter(v8::Local<v8::Value> v8Value,
const v8::FunctionCallbackInfo<v8::Value>& info) | 3575 static void reflectBooleanAttributeAttributeSetter(v8::Local<v8::Value> v8Value,
const v8::FunctionCallbackInfo<v8::Value>& info) |
3576 { | 3576 { |
3577 v8::Local<v8::Object> holder = info.Holder(); | 3577 v8::Local<v8::Object> holder = info.Holder(); |
3578 ExceptionState exceptionState(ExceptionState::SetterContext, "reflectBoolean
Attribute", "TestObject", holder, info.GetIsolate()); | 3578 ExceptionState exceptionState(ExceptionState::SetterContext, "reflectBoolean
Attribute", "TestObject", holder, info.GetIsolate()); |
3579 TestObject* impl = V8TestObject::toImpl(holder); | 3579 TestObject* impl = V8TestObject::toImpl(holder); |
3580 bool cppValue = toBoolean(info.GetIsolate(), v8Value, exceptionState); | 3580 bool cppValue = toBoolean(info.GetIsolate(), v8Value, exceptionState); |
3581 if (exceptionState.throwIfNeeded()) | 3581 if (exceptionState.throwIfNeeded()) |
3582 return; | 3582 return; |
3583 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3583 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3584 impl->setBooleanAttribute(HTMLNames::reflectbooleanattributeAttr, cppValue); | 3584 impl->setBooleanAttribute(HTMLNames::reflectbooleanattributeAttr, cppValue); |
3585 } | 3585 } |
3586 | 3586 |
3587 static void reflectBooleanAttributeAttributeSetterCallback(const v8::FunctionCal
lbackInfo<v8::Value>& info) | 3587 static void reflectBooleanAttributeAttributeSetterCallback(const v8::FunctionCal
lbackInfo<v8::Value>& info) |
3588 { | 3588 { |
3589 v8::Local<v8::Value> v8Value = info[0]; | 3589 v8::Local<v8::Value> v8Value = info[0]; |
3590 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3590 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3591 TestObjectV8Internal::reflectBooleanAttributeAttributeSetter(v8Value, info); | 3591 TestObjectV8Internal::reflectBooleanAttributeAttributeSetter(v8Value, info); |
3592 } | 3592 } |
3593 | 3593 |
3594 static void reflectLongAttributeAttributeGetter(const v8::FunctionCallbackInfo<v
8::Value>& info) | 3594 static void reflectLongAttributeAttributeGetter(const v8::FunctionCallbackInfo<v
8::Value>& info) |
3595 { | 3595 { |
3596 v8::Local<v8::Object> holder = info.Holder(); | 3596 v8::Local<v8::Object> holder = info.Holder(); |
3597 TestObject* impl = V8TestObject::toImpl(holder); | 3597 TestObject* impl = V8TestObject::toImpl(holder); |
3598 v8SetReturnValueInt(info, impl->getIntegralAttribute(HTMLNames::reflectlonga
ttributeAttr)); | 3598 v8SetReturnValueInt(info, impl->getIntegralAttribute(HTMLNames::reflectlonga
ttributeAttr)); |
3599 } | 3599 } |
3600 | 3600 |
3601 static void reflectLongAttributeAttributeGetterCallback(const v8::FunctionCallba
ckInfo<v8::Value>& info) | 3601 static void reflectLongAttributeAttributeGetterCallback(const v8::FunctionCallba
ckInfo<v8::Value>& info) |
3602 { | 3602 { |
3603 TestObjectV8Internal::reflectLongAttributeAttributeGetter(info); | 3603 TestObjectV8Internal::reflectLongAttributeAttributeGetter(info); |
3604 } | 3604 } |
3605 | 3605 |
3606 static void reflectLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, co
nst v8::FunctionCallbackInfo<v8::Value>& info) | 3606 static void reflectLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, co
nst v8::FunctionCallbackInfo<v8::Value>& info) |
3607 { | 3607 { |
3608 v8::Local<v8::Object> holder = info.Holder(); | 3608 v8::Local<v8::Object> holder = info.Holder(); |
3609 ExceptionState exceptionState(ExceptionState::SetterContext, "reflectLongAtt
ribute", "TestObject", holder, info.GetIsolate()); | 3609 ExceptionState exceptionState(ExceptionState::SetterContext, "reflectLongAtt
ribute", "TestObject", holder, info.GetIsolate()); |
3610 TestObject* impl = V8TestObject::toImpl(holder); | 3610 TestObject* impl = V8TestObject::toImpl(holder); |
3611 int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, excepti
onState); | 3611 int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, excepti
onState); |
3612 if (exceptionState.throwIfNeeded()) | 3612 if (exceptionState.throwIfNeeded()) |
3613 return; | 3613 return; |
3614 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3614 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3615 impl->setIntegralAttribute(HTMLNames::reflectlongattributeAttr, cppValue); | 3615 impl->setIntegralAttribute(HTMLNames::reflectlongattributeAttr, cppValue); |
3616 } | 3616 } |
3617 | 3617 |
3618 static void reflectLongAttributeAttributeSetterCallback(const v8::FunctionCallba
ckInfo<v8::Value>& info) | 3618 static void reflectLongAttributeAttributeSetterCallback(const v8::FunctionCallba
ckInfo<v8::Value>& info) |
3619 { | 3619 { |
3620 v8::Local<v8::Value> v8Value = info[0]; | 3620 v8::Local<v8::Value> v8Value = info[0]; |
3621 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3621 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3622 TestObjectV8Internal::reflectLongAttributeAttributeSetter(v8Value, info); | 3622 TestObjectV8Internal::reflectLongAttributeAttributeSetter(v8Value, info); |
3623 } | 3623 } |
3624 | 3624 |
3625 static void reflectUnsignedShortAttributeAttributeGetter(const v8::FunctionCallb
ackInfo<v8::Value>& info) | 3625 static void reflectUnsignedShortAttributeAttributeGetter(const v8::FunctionCallb
ackInfo<v8::Value>& info) |
3626 { | 3626 { |
3627 v8::Local<v8::Object> holder = info.Holder(); | 3627 v8::Local<v8::Object> holder = info.Holder(); |
3628 TestObject* impl = V8TestObject::toImpl(holder); | 3628 TestObject* impl = V8TestObject::toImpl(holder); |
3629 v8SetReturnValueUnsigned(info, std::max(0, static_cast<int>(impl->fastGetAtt
ribute(HTMLNames::reflectunsignedshortattributeAttr)))); | 3629 v8SetReturnValueUnsigned(info, std::max(0, static_cast<int>(impl->fastGetAtt
ribute(HTMLNames::reflectunsignedshortattributeAttr)))); |
3630 } | 3630 } |
3631 | 3631 |
3632 static void reflectUnsignedShortAttributeAttributeGetterCallback(const v8::Funct
ionCallbackInfo<v8::Value>& info) | 3632 static void reflectUnsignedShortAttributeAttributeGetterCallback(const v8::Funct
ionCallbackInfo<v8::Value>& info) |
3633 { | 3633 { |
3634 TestObjectV8Internal::reflectUnsignedShortAttributeAttributeGetter(info); | 3634 TestObjectV8Internal::reflectUnsignedShortAttributeAttributeGetter(info); |
3635 } | 3635 } |
3636 | 3636 |
3637 static void reflectUnsignedShortAttributeAttributeSetter(v8::Local<v8::Value> v8
Value, const v8::FunctionCallbackInfo<v8::Value>& info) | 3637 static void reflectUnsignedShortAttributeAttributeSetter(v8::Local<v8::Value> v8
Value, const v8::FunctionCallbackInfo<v8::Value>& info) |
3638 { | 3638 { |
3639 v8::Local<v8::Object> holder = info.Holder(); | 3639 v8::Local<v8::Object> holder = info.Holder(); |
3640 ExceptionState exceptionState(ExceptionState::SetterContext, "reflectUnsigne
dShortAttribute", "TestObject", holder, info.GetIsolate()); | 3640 ExceptionState exceptionState(ExceptionState::SetterContext, "reflectUnsigne
dShortAttribute", "TestObject", holder, info.GetIsolate()); |
3641 TestObject* impl = V8TestObject::toImpl(holder); | 3641 TestObject* impl = V8TestObject::toImpl(holder); |
3642 unsigned cppValue = toUInt16(info.GetIsolate(), v8Value, NormalConversion, e
xceptionState); | 3642 unsigned cppValue = toUInt16(info.GetIsolate(), v8Value, NormalConversion, e
xceptionState); |
3643 if (exceptionState.throwIfNeeded()) | 3643 if (exceptionState.throwIfNeeded()) |
3644 return; | 3644 return; |
3645 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3645 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3646 impl->setAttribute(HTMLNames::reflectunsignedshortattributeAttr, cppValue); | 3646 impl->setAttribute(HTMLNames::reflectunsignedshortattributeAttr, cppValue); |
3647 } | 3647 } |
3648 | 3648 |
3649 static void reflectUnsignedShortAttributeAttributeSetterCallback(const v8::Funct
ionCallbackInfo<v8::Value>& info) | 3649 static void reflectUnsignedShortAttributeAttributeSetterCallback(const v8::Funct
ionCallbackInfo<v8::Value>& info) |
3650 { | 3650 { |
3651 v8::Local<v8::Value> v8Value = info[0]; | 3651 v8::Local<v8::Value> v8Value = info[0]; |
3652 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3652 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3653 TestObjectV8Internal::reflectUnsignedShortAttributeAttributeSetter(v8Value,
info); | 3653 TestObjectV8Internal::reflectUnsignedShortAttributeAttributeSetter(v8Value,
info); |
3654 } | 3654 } |
3655 | 3655 |
3656 static void reflectUnsignedLongAttributeAttributeGetter(const v8::FunctionCallba
ckInfo<v8::Value>& info) | 3656 static void reflectUnsignedLongAttributeAttributeGetter(const v8::FunctionCallba
ckInfo<v8::Value>& info) |
3657 { | 3657 { |
3658 v8::Local<v8::Object> holder = info.Holder(); | 3658 v8::Local<v8::Object> holder = info.Holder(); |
3659 TestObject* impl = V8TestObject::toImpl(holder); | 3659 TestObject* impl = V8TestObject::toImpl(holder); |
3660 v8SetReturnValueUnsigned(info, std::max(0, static_cast<int>(impl->getIntegra
lAttribute(HTMLNames::reflectunsignedlongattributeAttr)))); | 3660 v8SetReturnValueUnsigned(info, std::max(0, static_cast<int>(impl->getIntegra
lAttribute(HTMLNames::reflectunsignedlongattributeAttr)))); |
3661 } | 3661 } |
3662 | 3662 |
3663 static void reflectUnsignedLongAttributeAttributeGetterCallback(const v8::Functi
onCallbackInfo<v8::Value>& info) | 3663 static void reflectUnsignedLongAttributeAttributeGetterCallback(const v8::Functi
onCallbackInfo<v8::Value>& info) |
3664 { | 3664 { |
3665 TestObjectV8Internal::reflectUnsignedLongAttributeAttributeGetter(info); | 3665 TestObjectV8Internal::reflectUnsignedLongAttributeAttributeGetter(info); |
3666 } | 3666 } |
3667 | 3667 |
3668 static void reflectUnsignedLongAttributeAttributeSetter(v8::Local<v8::Value> v8V
alue, const v8::FunctionCallbackInfo<v8::Value>& info) | 3668 static void reflectUnsignedLongAttributeAttributeSetter(v8::Local<v8::Value> v8V
alue, const v8::FunctionCallbackInfo<v8::Value>& info) |
3669 { | 3669 { |
3670 v8::Local<v8::Object> holder = info.Holder(); | 3670 v8::Local<v8::Object> holder = info.Holder(); |
3671 ExceptionState exceptionState(ExceptionState::SetterContext, "reflectUnsigne
dLongAttribute", "TestObject", holder, info.GetIsolate()); | 3671 ExceptionState exceptionState(ExceptionState::SetterContext, "reflectUnsigne
dLongAttribute", "TestObject", holder, info.GetIsolate()); |
3672 TestObject* impl = V8TestObject::toImpl(holder); | 3672 TestObject* impl = V8TestObject::toImpl(holder); |
3673 unsigned cppValue = toUInt32(info.GetIsolate(), v8Value, NormalConversion, e
xceptionState); | 3673 unsigned cppValue = toUInt32(info.GetIsolate(), v8Value, NormalConversion, e
xceptionState); |
3674 if (exceptionState.throwIfNeeded()) | 3674 if (exceptionState.throwIfNeeded()) |
3675 return; | 3675 return; |
3676 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3676 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3677 impl->setUnsignedIntegralAttribute(HTMLNames::reflectunsignedlongattributeAt
tr, cppValue); | 3677 impl->setUnsignedIntegralAttribute(HTMLNames::reflectunsignedlongattributeAt
tr, cppValue); |
3678 } | 3678 } |
3679 | 3679 |
3680 static void reflectUnsignedLongAttributeAttributeSetterCallback(const v8::Functi
onCallbackInfo<v8::Value>& info) | 3680 static void reflectUnsignedLongAttributeAttributeSetterCallback(const v8::Functi
onCallbackInfo<v8::Value>& info) |
3681 { | 3681 { |
3682 v8::Local<v8::Value> v8Value = info[0]; | 3682 v8::Local<v8::Value> v8Value = info[0]; |
3683 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3683 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3684 TestObjectV8Internal::reflectUnsignedLongAttributeAttributeSetter(v8Value, i
nfo); | 3684 TestObjectV8Internal::reflectUnsignedLongAttributeAttributeSetter(v8Value, i
nfo); |
3685 } | 3685 } |
3686 | 3686 |
3687 static void idAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) | 3687 static void idAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) |
3688 { | 3688 { |
3689 v8::Local<v8::Object> holder = info.Holder(); | 3689 v8::Local<v8::Object> holder = info.Holder(); |
3690 TestObject* impl = V8TestObject::toImpl(holder); | 3690 TestObject* impl = V8TestObject::toImpl(holder); |
3691 v8SetReturnValueString(info, impl->getIdAttribute(), info.GetIsolate()); | 3691 v8SetReturnValueString(info, impl->getIdAttribute(), info.GetIsolate()); |
3692 } | 3692 } |
3693 | 3693 |
3694 static void idAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>&
info) | 3694 static void idAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>&
info) |
3695 { | 3695 { |
3696 TestObjectV8Internal::idAttributeGetter(info); | 3696 TestObjectV8Internal::idAttributeGetter(info); |
3697 } | 3697 } |
3698 | 3698 |
3699 static void idAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCa
llbackInfo<v8::Value>& info) | 3699 static void idAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCa
llbackInfo<v8::Value>& info) |
3700 { | 3700 { |
3701 v8::Local<v8::Object> holder = info.Holder(); | 3701 v8::Local<v8::Object> holder = info.Holder(); |
3702 TestObject* impl = V8TestObject::toImpl(holder); | 3702 TestObject* impl = V8TestObject::toImpl(holder); |
3703 V8StringResource<> cppValue = v8Value; | 3703 V8StringResource<> cppValue = v8Value; |
3704 if (!cppValue.prepare()) | 3704 if (!cppValue.prepare()) |
3705 return; | 3705 return; |
3706 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3706 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3707 impl->setAttribute(HTMLNames::idAttr, cppValue); | 3707 impl->setAttribute(HTMLNames::idAttr, cppValue); |
3708 } | 3708 } |
3709 | 3709 |
3710 static void idAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>&
info) | 3710 static void idAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>&
info) |
3711 { | 3711 { |
3712 v8::Local<v8::Value> v8Value = info[0]; | 3712 v8::Local<v8::Value> v8Value = info[0]; |
3713 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3713 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3714 TestObjectV8Internal::idAttributeSetter(v8Value, info); | 3714 TestObjectV8Internal::idAttributeSetter(v8Value, info); |
3715 } | 3715 } |
3716 | 3716 |
3717 static void nameAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) | 3717 static void nameAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) |
3718 { | 3718 { |
3719 v8::Local<v8::Object> holder = info.Holder(); | 3719 v8::Local<v8::Object> holder = info.Holder(); |
3720 TestObject* impl = V8TestObject::toImpl(holder); | 3720 TestObject* impl = V8TestObject::toImpl(holder); |
3721 v8SetReturnValueString(info, impl->getNameAttribute(), info.GetIsolate()); | 3721 v8SetReturnValueString(info, impl->getNameAttribute(), info.GetIsolate()); |
3722 } | 3722 } |
3723 | 3723 |
3724 static void nameAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value
>& info) | 3724 static void nameAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value
>& info) |
3725 { | 3725 { |
3726 TestObjectV8Internal::nameAttributeGetter(info); | 3726 TestObjectV8Internal::nameAttributeGetter(info); |
3727 } | 3727 } |
3728 | 3728 |
3729 static void nameAttributeSetter(v8::Local<v8::Value> v8Value, const v8::Function
CallbackInfo<v8::Value>& info) | 3729 static void nameAttributeSetter(v8::Local<v8::Value> v8Value, const v8::Function
CallbackInfo<v8::Value>& info) |
3730 { | 3730 { |
3731 v8::Local<v8::Object> holder = info.Holder(); | 3731 v8::Local<v8::Object> holder = info.Holder(); |
3732 TestObject* impl = V8TestObject::toImpl(holder); | 3732 TestObject* impl = V8TestObject::toImpl(holder); |
3733 V8StringResource<> cppValue = v8Value; | 3733 V8StringResource<> cppValue = v8Value; |
3734 if (!cppValue.prepare()) | 3734 if (!cppValue.prepare()) |
3735 return; | 3735 return; |
3736 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3736 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3737 impl->setAttribute(HTMLNames::nameAttr, cppValue); | 3737 impl->setAttribute(HTMLNames::nameAttr, cppValue); |
3738 } | 3738 } |
3739 | 3739 |
3740 static void nameAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value
>& info) | 3740 static void nameAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value
>& info) |
3741 { | 3741 { |
3742 v8::Local<v8::Value> v8Value = info[0]; | 3742 v8::Local<v8::Value> v8Value = info[0]; |
3743 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3743 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3744 TestObjectV8Internal::nameAttributeSetter(v8Value, info); | 3744 TestObjectV8Internal::nameAttributeSetter(v8Value, info); |
3745 } | 3745 } |
3746 | 3746 |
3747 static void classAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info
) | 3747 static void classAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info
) |
3748 { | 3748 { |
3749 v8::Local<v8::Object> holder = info.Holder(); | 3749 v8::Local<v8::Object> holder = info.Holder(); |
3750 TestObject* impl = V8TestObject::toImpl(holder); | 3750 TestObject* impl = V8TestObject::toImpl(holder); |
3751 v8SetReturnValueString(info, impl->getClassAttribute(), info.GetIsolate()); | 3751 v8SetReturnValueString(info, impl->getClassAttribute(), info.GetIsolate()); |
3752 } | 3752 } |
3753 | 3753 |
3754 static void classAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Valu
e>& info) | 3754 static void classAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Valu
e>& info) |
3755 { | 3755 { |
3756 TestObjectV8Internal::classAttributeGetter(info); | 3756 TestObjectV8Internal::classAttributeGetter(info); |
3757 } | 3757 } |
3758 | 3758 |
3759 static void classAttributeSetter(v8::Local<v8::Value> v8Value, const v8::Functio
nCallbackInfo<v8::Value>& info) | 3759 static void classAttributeSetter(v8::Local<v8::Value> v8Value, const v8::Functio
nCallbackInfo<v8::Value>& info) |
3760 { | 3760 { |
3761 v8::Local<v8::Object> holder = info.Holder(); | 3761 v8::Local<v8::Object> holder = info.Holder(); |
3762 TestObject* impl = V8TestObject::toImpl(holder); | 3762 TestObject* impl = V8TestObject::toImpl(holder); |
3763 V8StringResource<> cppValue = v8Value; | 3763 V8StringResource<> cppValue = v8Value; |
3764 if (!cppValue.prepare()) | 3764 if (!cppValue.prepare()) |
3765 return; | 3765 return; |
3766 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3766 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3767 impl->setAttribute(HTMLNames::classAttr, cppValue); | 3767 impl->setAttribute(HTMLNames::classAttr, cppValue); |
3768 } | 3768 } |
3769 | 3769 |
3770 static void classAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Valu
e>& info) | 3770 static void classAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Valu
e>& info) |
3771 { | 3771 { |
3772 v8::Local<v8::Value> v8Value = info[0]; | 3772 v8::Local<v8::Value> v8Value = info[0]; |
3773 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3773 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3774 TestObjectV8Internal::classAttributeSetter(v8Value, info); | 3774 TestObjectV8Internal::classAttributeSetter(v8Value, info); |
3775 } | 3775 } |
3776 | 3776 |
3777 static void reflectedIdAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>
& info) | 3777 static void reflectedIdAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>
& info) |
3778 { | 3778 { |
3779 v8::Local<v8::Object> holder = info.Holder(); | 3779 v8::Local<v8::Object> holder = info.Holder(); |
3780 TestObject* impl = V8TestObject::toImpl(holder); | 3780 TestObject* impl = V8TestObject::toImpl(holder); |
3781 v8SetReturnValueString(info, impl->getIdAttribute(), info.GetIsolate()); | 3781 v8SetReturnValueString(info, impl->getIdAttribute(), info.GetIsolate()); |
3782 } | 3782 } |
3783 | 3783 |
3784 static void reflectedIdAttributeGetterCallback(const v8::FunctionCallbackInfo<v8
::Value>& info) | 3784 static void reflectedIdAttributeGetterCallback(const v8::FunctionCallbackInfo<v8
::Value>& info) |
3785 { | 3785 { |
3786 TestObjectV8Internal::reflectedIdAttributeGetter(info); | 3786 TestObjectV8Internal::reflectedIdAttributeGetter(info); |
3787 } | 3787 } |
3788 | 3788 |
3789 static void reflectedIdAttributeSetter(v8::Local<v8::Value> v8Value, const v8::F
unctionCallbackInfo<v8::Value>& info) | 3789 static void reflectedIdAttributeSetter(v8::Local<v8::Value> v8Value, const v8::F
unctionCallbackInfo<v8::Value>& info) |
3790 { | 3790 { |
3791 v8::Local<v8::Object> holder = info.Holder(); | 3791 v8::Local<v8::Object> holder = info.Holder(); |
3792 TestObject* impl = V8TestObject::toImpl(holder); | 3792 TestObject* impl = V8TestObject::toImpl(holder); |
3793 V8StringResource<> cppValue = v8Value; | 3793 V8StringResource<> cppValue = v8Value; |
3794 if (!cppValue.prepare()) | 3794 if (!cppValue.prepare()) |
3795 return; | 3795 return; |
3796 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3796 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3797 impl->setAttribute(HTMLNames::idAttr, cppValue); | 3797 impl->setAttribute(HTMLNames::idAttr, cppValue); |
3798 } | 3798 } |
3799 | 3799 |
3800 static void reflectedIdAttributeSetterCallback(const v8::FunctionCallbackInfo<v8
::Value>& info) | 3800 static void reflectedIdAttributeSetterCallback(const v8::FunctionCallbackInfo<v8
::Value>& info) |
3801 { | 3801 { |
3802 v8::Local<v8::Value> v8Value = info[0]; | 3802 v8::Local<v8::Value> v8Value = info[0]; |
3803 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3803 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3804 TestObjectV8Internal::reflectedIdAttributeSetter(v8Value, info); | 3804 TestObjectV8Internal::reflectedIdAttributeSetter(v8Value, info); |
3805 } | 3805 } |
3806 | 3806 |
3807 static void reflectedNameAttributeGetter(const v8::FunctionCallbackInfo<v8::Valu
e>& info) | 3807 static void reflectedNameAttributeGetter(const v8::FunctionCallbackInfo<v8::Valu
e>& info) |
3808 { | 3808 { |
3809 v8::Local<v8::Object> holder = info.Holder(); | 3809 v8::Local<v8::Object> holder = info.Holder(); |
3810 TestObject* impl = V8TestObject::toImpl(holder); | 3810 TestObject* impl = V8TestObject::toImpl(holder); |
3811 v8SetReturnValueString(info, impl->getNameAttribute(), info.GetIsolate()); | 3811 v8SetReturnValueString(info, impl->getNameAttribute(), info.GetIsolate()); |
3812 } | 3812 } |
3813 | 3813 |
3814 static void reflectedNameAttributeGetterCallback(const v8::FunctionCallbackInfo<
v8::Value>& info) | 3814 static void reflectedNameAttributeGetterCallback(const v8::FunctionCallbackInfo<
v8::Value>& info) |
3815 { | 3815 { |
3816 TestObjectV8Internal::reflectedNameAttributeGetter(info); | 3816 TestObjectV8Internal::reflectedNameAttributeGetter(info); |
3817 } | 3817 } |
3818 | 3818 |
3819 static void reflectedNameAttributeSetter(v8::Local<v8::Value> v8Value, const v8:
:FunctionCallbackInfo<v8::Value>& info) | 3819 static void reflectedNameAttributeSetter(v8::Local<v8::Value> v8Value, const v8:
:FunctionCallbackInfo<v8::Value>& info) |
3820 { | 3820 { |
3821 v8::Local<v8::Object> holder = info.Holder(); | 3821 v8::Local<v8::Object> holder = info.Holder(); |
3822 TestObject* impl = V8TestObject::toImpl(holder); | 3822 TestObject* impl = V8TestObject::toImpl(holder); |
3823 V8StringResource<> cppValue = v8Value; | 3823 V8StringResource<> cppValue = v8Value; |
3824 if (!cppValue.prepare()) | 3824 if (!cppValue.prepare()) |
3825 return; | 3825 return; |
3826 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3826 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3827 impl->setAttribute(HTMLNames::nameAttr, cppValue); | 3827 impl->setAttribute(HTMLNames::nameAttr, cppValue); |
3828 } | 3828 } |
3829 | 3829 |
3830 static void reflectedNameAttributeSetterCallback(const v8::FunctionCallbackInfo<
v8::Value>& info) | 3830 static void reflectedNameAttributeSetterCallback(const v8::FunctionCallbackInfo<
v8::Value>& info) |
3831 { | 3831 { |
3832 v8::Local<v8::Value> v8Value = info[0]; | 3832 v8::Local<v8::Value> v8Value = info[0]; |
3833 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3833 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3834 TestObjectV8Internal::reflectedNameAttributeSetter(v8Value, info); | 3834 TestObjectV8Internal::reflectedNameAttributeSetter(v8Value, info); |
3835 } | 3835 } |
3836 | 3836 |
3837 static void reflectedClassAttributeGetter(const v8::FunctionCallbackInfo<v8::Val
ue>& info) | 3837 static void reflectedClassAttributeGetter(const v8::FunctionCallbackInfo<v8::Val
ue>& info) |
3838 { | 3838 { |
3839 v8::Local<v8::Object> holder = info.Holder(); | 3839 v8::Local<v8::Object> holder = info.Holder(); |
3840 TestObject* impl = V8TestObject::toImpl(holder); | 3840 TestObject* impl = V8TestObject::toImpl(holder); |
3841 v8SetReturnValueString(info, impl->getClassAttribute(), info.GetIsolate()); | 3841 v8SetReturnValueString(info, impl->getClassAttribute(), info.GetIsolate()); |
3842 } | 3842 } |
3843 | 3843 |
3844 static void reflectedClassAttributeGetterCallback(const v8::FunctionCallbackInfo
<v8::Value>& info) | 3844 static void reflectedClassAttributeGetterCallback(const v8::FunctionCallbackInfo
<v8::Value>& info) |
3845 { | 3845 { |
3846 TestObjectV8Internal::reflectedClassAttributeGetter(info); | 3846 TestObjectV8Internal::reflectedClassAttributeGetter(info); |
3847 } | 3847 } |
3848 | 3848 |
3849 static void reflectedClassAttributeSetter(v8::Local<v8::Value> v8Value, const v8
::FunctionCallbackInfo<v8::Value>& info) | 3849 static void reflectedClassAttributeSetter(v8::Local<v8::Value> v8Value, const v8
::FunctionCallbackInfo<v8::Value>& info) |
3850 { | 3850 { |
3851 v8::Local<v8::Object> holder = info.Holder(); | 3851 v8::Local<v8::Object> holder = info.Holder(); |
3852 TestObject* impl = V8TestObject::toImpl(holder); | 3852 TestObject* impl = V8TestObject::toImpl(holder); |
3853 V8StringResource<> cppValue = v8Value; | 3853 V8StringResource<> cppValue = v8Value; |
3854 if (!cppValue.prepare()) | 3854 if (!cppValue.prepare()) |
3855 return; | 3855 return; |
3856 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3856 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3857 impl->setAttribute(HTMLNames::classAttr, cppValue); | 3857 impl->setAttribute(HTMLNames::classAttr, cppValue); |
3858 } | 3858 } |
3859 | 3859 |
3860 static void reflectedClassAttributeSetterCallback(const v8::FunctionCallbackInfo
<v8::Value>& info) | 3860 static void reflectedClassAttributeSetterCallback(const v8::FunctionCallbackInfo
<v8::Value>& info) |
3861 { | 3861 { |
3862 v8::Local<v8::Value> v8Value = info[0]; | 3862 v8::Local<v8::Value> v8Value = info[0]; |
3863 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3863 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3864 TestObjectV8Internal::reflectedClassAttributeSetter(v8Value, info); | 3864 TestObjectV8Internal::reflectedClassAttributeSetter(v8Value, info); |
3865 } | 3865 } |
3866 | 3866 |
3867 static void limitedToOnlyOneAttributeAttributeGetter(const v8::FunctionCallbackI
nfo<v8::Value>& info) | 3867 static void limitedToOnlyOneAttributeAttributeGetter(const v8::FunctionCallbackI
nfo<v8::Value>& info) |
3868 { | 3868 { |
3869 v8::Local<v8::Object> holder = info.Holder(); | 3869 v8::Local<v8::Object> holder = info.Holder(); |
3870 TestObject* impl = V8TestObject::toImpl(holder); | 3870 TestObject* impl = V8TestObject::toImpl(holder); |
3871 String cppValue(impl->fastGetAttribute(HTMLNames::limitedtoonlyoneattributeA
ttr)); | 3871 String cppValue(impl->fastGetAttribute(HTMLNames::limitedtoonlyoneattributeA
ttr)); |
3872 if (cppValue.isEmpty()) { | 3872 if (cppValue.isEmpty()) { |
3873 ; | 3873 ; |
(...skipping 10 matching lines...) Expand all Loading... |
3884 TestObjectV8Internal::limitedToOnlyOneAttributeAttributeGetter(info); | 3884 TestObjectV8Internal::limitedToOnlyOneAttributeAttributeGetter(info); |
3885 } | 3885 } |
3886 | 3886 |
3887 static void limitedToOnlyOneAttributeAttributeSetter(v8::Local<v8::Value> v8Valu
e, const v8::FunctionCallbackInfo<v8::Value>& info) | 3887 static void limitedToOnlyOneAttributeAttributeSetter(v8::Local<v8::Value> v8Valu
e, const v8::FunctionCallbackInfo<v8::Value>& info) |
3888 { | 3888 { |
3889 v8::Local<v8::Object> holder = info.Holder(); | 3889 v8::Local<v8::Object> holder = info.Holder(); |
3890 TestObject* impl = V8TestObject::toImpl(holder); | 3890 TestObject* impl = V8TestObject::toImpl(holder); |
3891 V8StringResource<> cppValue = v8Value; | 3891 V8StringResource<> cppValue = v8Value; |
3892 if (!cppValue.prepare()) | 3892 if (!cppValue.prepare()) |
3893 return; | 3893 return; |
3894 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3894 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3895 impl->setAttribute(HTMLNames::limitedtoonlyoneattributeAttr, cppValue); | 3895 impl->setAttribute(HTMLNames::limitedtoonlyoneattributeAttr, cppValue); |
3896 } | 3896 } |
3897 | 3897 |
3898 static void limitedToOnlyOneAttributeAttributeSetterCallback(const v8::FunctionC
allbackInfo<v8::Value>& info) | 3898 static void limitedToOnlyOneAttributeAttributeSetterCallback(const v8::FunctionC
allbackInfo<v8::Value>& info) |
3899 { | 3899 { |
3900 v8::Local<v8::Value> v8Value = info[0]; | 3900 v8::Local<v8::Value> v8Value = info[0]; |
3901 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3901 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3902 TestObjectV8Internal::limitedToOnlyOneAttributeAttributeSetter(v8Value, info
); | 3902 TestObjectV8Internal::limitedToOnlyOneAttributeAttributeSetter(v8Value, info
); |
3903 } | 3903 } |
3904 | 3904 |
3905 static void limitedToOnlyAttributeAttributeGetter(const v8::FunctionCallbackInfo
<v8::Value>& info) | 3905 static void limitedToOnlyAttributeAttributeGetter(const v8::FunctionCallbackInfo
<v8::Value>& info) |
3906 { | 3906 { |
3907 v8::Local<v8::Object> holder = info.Holder(); | 3907 v8::Local<v8::Object> holder = info.Holder(); |
3908 TestObject* impl = V8TestObject::toImpl(holder); | 3908 TestObject* impl = V8TestObject::toImpl(holder); |
3909 String cppValue(impl->fastGetAttribute(HTMLNames::limitedtoonlyattributeAttr
)); | 3909 String cppValue(impl->fastGetAttribute(HTMLNames::limitedtoonlyattributeAttr
)); |
3910 if (cppValue.isEmpty()) { | 3910 if (cppValue.isEmpty()) { |
3911 ; | 3911 ; |
(...skipping 14 matching lines...) Expand all Loading... |
3926 TestObjectV8Internal::limitedToOnlyAttributeAttributeGetter(info); | 3926 TestObjectV8Internal::limitedToOnlyAttributeAttributeGetter(info); |
3927 } | 3927 } |
3928 | 3928 |
3929 static void limitedToOnlyAttributeAttributeSetter(v8::Local<v8::Value> v8Value,
const v8::FunctionCallbackInfo<v8::Value>& info) | 3929 static void limitedToOnlyAttributeAttributeSetter(v8::Local<v8::Value> v8Value,
const v8::FunctionCallbackInfo<v8::Value>& info) |
3930 { | 3930 { |
3931 v8::Local<v8::Object> holder = info.Holder(); | 3931 v8::Local<v8::Object> holder = info.Holder(); |
3932 TestObject* impl = V8TestObject::toImpl(holder); | 3932 TestObject* impl = V8TestObject::toImpl(holder); |
3933 V8StringResource<> cppValue = v8Value; | 3933 V8StringResource<> cppValue = v8Value; |
3934 if (!cppValue.prepare()) | 3934 if (!cppValue.prepare()) |
3935 return; | 3935 return; |
3936 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3936 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3937 impl->setAttribute(HTMLNames::limitedtoonlyattributeAttr, cppValue); | 3937 impl->setAttribute(HTMLNames::limitedtoonlyattributeAttr, cppValue); |
3938 } | 3938 } |
3939 | 3939 |
3940 static void limitedToOnlyAttributeAttributeSetterCallback(const v8::FunctionCall
backInfo<v8::Value>& info) | 3940 static void limitedToOnlyAttributeAttributeSetterCallback(const v8::FunctionCall
backInfo<v8::Value>& info) |
3941 { | 3941 { |
3942 v8::Local<v8::Value> v8Value = info[0]; | 3942 v8::Local<v8::Value> v8Value = info[0]; |
3943 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3943 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3944 TestObjectV8Internal::limitedToOnlyAttributeAttributeSetter(v8Value, info); | 3944 TestObjectV8Internal::limitedToOnlyAttributeAttributeSetter(v8Value, info); |
3945 } | 3945 } |
3946 | 3946 |
3947 static void limitedToOnlyOtherAttributeAttributeGetter(const v8::FunctionCallbac
kInfo<v8::Value>& info) | 3947 static void limitedToOnlyOtherAttributeAttributeGetter(const v8::FunctionCallbac
kInfo<v8::Value>& info) |
3948 { | 3948 { |
3949 v8::Local<v8::Object> holder = info.Holder(); | 3949 v8::Local<v8::Object> holder = info.Holder(); |
3950 TestObject* impl = V8TestObject::toImpl(holder); | 3950 TestObject* impl = V8TestObject::toImpl(holder); |
3951 String cppValue(impl->fastGetAttribute(HTMLNames::otherAttr)); | 3951 String cppValue(impl->fastGetAttribute(HTMLNames::otherAttr)); |
3952 if (cppValue.isEmpty()) { | 3952 if (cppValue.isEmpty()) { |
3953 ; | 3953 ; |
(...skipping 12 matching lines...) Expand all Loading... |
3966 TestObjectV8Internal::limitedToOnlyOtherAttributeAttributeGetter(info); | 3966 TestObjectV8Internal::limitedToOnlyOtherAttributeAttributeGetter(info); |
3967 } | 3967 } |
3968 | 3968 |
3969 static void limitedToOnlyOtherAttributeAttributeSetter(v8::Local<v8::Value> v8Va
lue, const v8::FunctionCallbackInfo<v8::Value>& info) | 3969 static void limitedToOnlyOtherAttributeAttributeSetter(v8::Local<v8::Value> v8Va
lue, const v8::FunctionCallbackInfo<v8::Value>& info) |
3970 { | 3970 { |
3971 v8::Local<v8::Object> holder = info.Holder(); | 3971 v8::Local<v8::Object> holder = info.Holder(); |
3972 TestObject* impl = V8TestObject::toImpl(holder); | 3972 TestObject* impl = V8TestObject::toImpl(holder); |
3973 V8StringResource<> cppValue = v8Value; | 3973 V8StringResource<> cppValue = v8Value; |
3974 if (!cppValue.prepare()) | 3974 if (!cppValue.prepare()) |
3975 return; | 3975 return; |
3976 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3976 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3977 impl->setAttribute(HTMLNames::otherAttr, cppValue); | 3977 impl->setAttribute(HTMLNames::otherAttr, cppValue); |
3978 } | 3978 } |
3979 | 3979 |
3980 static void limitedToOnlyOtherAttributeAttributeSetterCallback(const v8::Functio
nCallbackInfo<v8::Value>& info) | 3980 static void limitedToOnlyOtherAttributeAttributeSetterCallback(const v8::Functio
nCallbackInfo<v8::Value>& info) |
3981 { | 3981 { |
3982 v8::Local<v8::Value> v8Value = info[0]; | 3982 v8::Local<v8::Value> v8Value = info[0]; |
3983 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 3983 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
3984 TestObjectV8Internal::limitedToOnlyOtherAttributeAttributeSetter(v8Value, in
fo); | 3984 TestObjectV8Internal::limitedToOnlyOtherAttributeAttributeSetter(v8Value, in
fo); |
3985 } | 3985 } |
3986 | 3986 |
3987 static void limitedWithMissingDefaultAttributeAttributeGetter(const v8::Function
CallbackInfo<v8::Value>& info) | 3987 static void limitedWithMissingDefaultAttributeAttributeGetter(const v8::Function
CallbackInfo<v8::Value>& info) |
3988 { | 3988 { |
3989 v8::Local<v8::Object> holder = info.Holder(); | 3989 v8::Local<v8::Object> holder = info.Holder(); |
3990 TestObject* impl = V8TestObject::toImpl(holder); | 3990 TestObject* impl = V8TestObject::toImpl(holder); |
3991 String cppValue(impl->fastGetAttribute(HTMLNames::limitedwithmissingdefaulta
ttributeAttr)); | 3991 String cppValue(impl->fastGetAttribute(HTMLNames::limitedwithmissingdefaulta
ttributeAttr)); |
3992 if (cppValue.isEmpty()) { | 3992 if (cppValue.isEmpty()) { |
3993 cppValue = "rsa"; | 3993 cppValue = "rsa"; |
(...skipping 12 matching lines...) Expand all Loading... |
4006 TestObjectV8Internal::limitedWithMissingDefaultAttributeAttributeGetter(info
); | 4006 TestObjectV8Internal::limitedWithMissingDefaultAttributeAttributeGetter(info
); |
4007 } | 4007 } |
4008 | 4008 |
4009 static void limitedWithMissingDefaultAttributeAttributeSetter(v8::Local<v8::Valu
e> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) | 4009 static void limitedWithMissingDefaultAttributeAttributeSetter(v8::Local<v8::Valu
e> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) |
4010 { | 4010 { |
4011 v8::Local<v8::Object> holder = info.Holder(); | 4011 v8::Local<v8::Object> holder = info.Holder(); |
4012 TestObject* impl = V8TestObject::toImpl(holder); | 4012 TestObject* impl = V8TestObject::toImpl(holder); |
4013 V8StringResource<> cppValue = v8Value; | 4013 V8StringResource<> cppValue = v8Value; |
4014 if (!cppValue.prepare()) | 4014 if (!cppValue.prepare()) |
4015 return; | 4015 return; |
4016 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 4016 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
4017 impl->setAttribute(HTMLNames::limitedwithmissingdefaultattributeAttr, cppVal
ue); | 4017 impl->setAttribute(HTMLNames::limitedwithmissingdefaultattributeAttr, cppVal
ue); |
4018 } | 4018 } |
4019 | 4019 |
4020 static void limitedWithMissingDefaultAttributeAttributeSetterCallback(const v8::
FunctionCallbackInfo<v8::Value>& info) | 4020 static void limitedWithMissingDefaultAttributeAttributeSetterCallback(const v8::
FunctionCallbackInfo<v8::Value>& info) |
4021 { | 4021 { |
4022 v8::Local<v8::Value> v8Value = info[0]; | 4022 v8::Local<v8::Value> v8Value = info[0]; |
4023 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 4023 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
4024 TestObjectV8Internal::limitedWithMissingDefaultAttributeAttributeSetter(v8Va
lue, info); | 4024 TestObjectV8Internal::limitedWithMissingDefaultAttributeAttributeSetter(v8Va
lue, info); |
4025 } | 4025 } |
4026 | 4026 |
4027 static void limitedWithInvalidMissingDefaultAttributeAttributeGetter(const v8::F
unctionCallbackInfo<v8::Value>& info) | 4027 static void limitedWithInvalidMissingDefaultAttributeAttributeGetter(const v8::F
unctionCallbackInfo<v8::Value>& info) |
4028 { | 4028 { |
4029 v8::Local<v8::Object> holder = info.Holder(); | 4029 v8::Local<v8::Object> holder = info.Holder(); |
4030 TestObject* impl = V8TestObject::toImpl(holder); | 4030 TestObject* impl = V8TestObject::toImpl(holder); |
4031 String cppValue(impl->fastGetAttribute(HTMLNames::limitedwithinvalidmissingd
efaultattributeAttr)); | 4031 String cppValue(impl->fastGetAttribute(HTMLNames::limitedwithinvalidmissingd
efaultattributeAttr)); |
4032 if (cppValue.isEmpty()) { | 4032 if (cppValue.isEmpty()) { |
4033 cppValue = "auto"; | 4033 cppValue = "auto"; |
(...skipping 14 matching lines...) Expand all Loading... |
4048 TestObjectV8Internal::limitedWithInvalidMissingDefaultAttributeAttributeGett
er(info); | 4048 TestObjectV8Internal::limitedWithInvalidMissingDefaultAttributeAttributeGett
er(info); |
4049 } | 4049 } |
4050 | 4050 |
4051 static void limitedWithInvalidMissingDefaultAttributeAttributeSetter(v8::Local<v
8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) | 4051 static void limitedWithInvalidMissingDefaultAttributeAttributeSetter(v8::Local<v
8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) |
4052 { | 4052 { |
4053 v8::Local<v8::Object> holder = info.Holder(); | 4053 v8::Local<v8::Object> holder = info.Holder(); |
4054 TestObject* impl = V8TestObject::toImpl(holder); | 4054 TestObject* impl = V8TestObject::toImpl(holder); |
4055 V8StringResource<> cppValue = v8Value; | 4055 V8StringResource<> cppValue = v8Value; |
4056 if (!cppValue.prepare()) | 4056 if (!cppValue.prepare()) |
4057 return; | 4057 return; |
4058 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 4058 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
4059 impl->setAttribute(HTMLNames::limitedwithinvalidmissingdefaultattributeAttr,
cppValue); | 4059 impl->setAttribute(HTMLNames::limitedwithinvalidmissingdefaultattributeAttr,
cppValue); |
4060 } | 4060 } |
4061 | 4061 |
4062 static void limitedWithInvalidMissingDefaultAttributeAttributeSetterCallback(con
st v8::FunctionCallbackInfo<v8::Value>& info) | 4062 static void limitedWithInvalidMissingDefaultAttributeAttributeSetterCallback(con
st v8::FunctionCallbackInfo<v8::Value>& info) |
4063 { | 4063 { |
4064 v8::Local<v8::Value> v8Value = info[0]; | 4064 v8::Local<v8::Value> v8Value = info[0]; |
4065 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 4065 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
4066 TestObjectV8Internal::limitedWithInvalidMissingDefaultAttributeAttributeSett
er(v8Value, info); | 4066 TestObjectV8Internal::limitedWithInvalidMissingDefaultAttributeAttributeSett
er(v8Value, info); |
4067 } | 4067 } |
4068 | 4068 |
4069 static void corsSettingAttributeAttributeGetter(const v8::FunctionCallbackInfo<v
8::Value>& info) | 4069 static void corsSettingAttributeAttributeGetter(const v8::FunctionCallbackInfo<v
8::Value>& info) |
4070 { | 4070 { |
4071 v8::Local<v8::Object> holder = info.Holder(); | 4071 v8::Local<v8::Object> holder = info.Holder(); |
4072 TestObject* impl = V8TestObject::toImpl(holder); | 4072 TestObject* impl = V8TestObject::toImpl(holder); |
4073 String cppValue(impl->fastGetAttribute(HTMLNames::corssettingattributeAttr))
; | 4073 String cppValue(impl->fastGetAttribute(HTMLNames::corssettingattributeAttr))
; |
4074 if (cppValue.isNull()) { | 4074 if (cppValue.isNull()) { |
4075 ; | 4075 ; |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4408 TestObjectV8Internal::urlStringAttributeAttributeGetter(info); | 4408 TestObjectV8Internal::urlStringAttributeAttributeGetter(info); |
4409 } | 4409 } |
4410 | 4410 |
4411 static void urlStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, cons
t v8::FunctionCallbackInfo<v8::Value>& info) | 4411 static void urlStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, cons
t v8::FunctionCallbackInfo<v8::Value>& info) |
4412 { | 4412 { |
4413 v8::Local<v8::Object> holder = info.Holder(); | 4413 v8::Local<v8::Object> holder = info.Holder(); |
4414 TestObject* impl = V8TestObject::toImpl(holder); | 4414 TestObject* impl = V8TestObject::toImpl(holder); |
4415 V8StringResource<> cppValue = v8Value; | 4415 V8StringResource<> cppValue = v8Value; |
4416 if (!cppValue.prepare()) | 4416 if (!cppValue.prepare()) |
4417 return; | 4417 return; |
4418 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 4418 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
4419 impl->setAttribute(HTMLNames::urlstringattributeAttr, cppValue); | 4419 impl->setAttribute(HTMLNames::urlstringattributeAttr, cppValue); |
4420 } | 4420 } |
4421 | 4421 |
4422 static void urlStringAttributeAttributeSetterCallback(const v8::FunctionCallback
Info<v8::Value>& info) | 4422 static void urlStringAttributeAttributeSetterCallback(const v8::FunctionCallback
Info<v8::Value>& info) |
4423 { | 4423 { |
4424 v8::Local<v8::Value> v8Value = info[0]; | 4424 v8::Local<v8::Value> v8Value = info[0]; |
4425 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 4425 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
4426 TestObjectV8Internal::urlStringAttributeAttributeSetter(v8Value, info); | 4426 TestObjectV8Internal::urlStringAttributeAttributeSetter(v8Value, info); |
4427 } | 4427 } |
4428 | 4428 |
4429 static void urlStringAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8:
:Value>& info) | 4429 static void urlStringAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8:
:Value>& info) |
4430 { | 4430 { |
4431 v8::Local<v8::Object> holder = info.Holder(); | 4431 v8::Local<v8::Object> holder = info.Holder(); |
4432 TestObject* impl = V8TestObject::toImpl(holder); | 4432 TestObject* impl = V8TestObject::toImpl(holder); |
4433 v8SetReturnValueString(info, impl->getURLAttribute(HTMLNames::reflectUrlAttr
ibuteAttr), info.GetIsolate()); | 4433 v8SetReturnValueString(info, impl->getURLAttribute(HTMLNames::reflectUrlAttr
ibuteAttr), info.GetIsolate()); |
4434 } | 4434 } |
4435 | 4435 |
4436 static void urlStringAttributeAttributeGetterCallback(const v8::FunctionCallback
Info<v8::Value>& info) | 4436 static void urlStringAttributeAttributeGetterCallback(const v8::FunctionCallback
Info<v8::Value>& info) |
4437 { | 4437 { |
4438 TestObjectV8Internal::urlStringAttributeAttributeGetter(info); | 4438 TestObjectV8Internal::urlStringAttributeAttributeGetter(info); |
4439 } | 4439 } |
4440 | 4440 |
4441 static void urlStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, cons
t v8::FunctionCallbackInfo<v8::Value>& info) | 4441 static void urlStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, cons
t v8::FunctionCallbackInfo<v8::Value>& info) |
4442 { | 4442 { |
4443 v8::Local<v8::Object> holder = info.Holder(); | 4443 v8::Local<v8::Object> holder = info.Holder(); |
4444 TestObject* impl = V8TestObject::toImpl(holder); | 4444 TestObject* impl = V8TestObject::toImpl(holder); |
4445 V8StringResource<> cppValue = v8Value; | 4445 V8StringResource<> cppValue = v8Value; |
4446 if (!cppValue.prepare()) | 4446 if (!cppValue.prepare()) |
4447 return; | 4447 return; |
4448 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 4448 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
4449 impl->setAttribute(HTMLNames::reflectUrlAttributeAttr, cppValue); | 4449 impl->setAttribute(HTMLNames::reflectUrlAttributeAttr, cppValue); |
4450 } | 4450 } |
4451 | 4451 |
4452 static void urlStringAttributeAttributeSetterCallback(const v8::FunctionCallback
Info<v8::Value>& info) | 4452 static void urlStringAttributeAttributeSetterCallback(const v8::FunctionCallback
Info<v8::Value>& info) |
4453 { | 4453 { |
4454 v8::Local<v8::Value> v8Value = info[0]; | 4454 v8::Local<v8::Value> v8Value = info[0]; |
4455 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 4455 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
4456 TestObjectV8Internal::urlStringAttributeAttributeSetter(v8Value, info); | 4456 TestObjectV8Internal::urlStringAttributeAttributeSetter(v8Value, info); |
4457 } | 4457 } |
4458 | 4458 |
4459 static void unforgeableLongAttributeAttributeGetter(const v8::FunctionCallbackIn
fo<v8::Value>& info) | 4459 static void unforgeableLongAttributeAttributeGetter(const v8::FunctionCallbackIn
fo<v8::Value>& info) |
4460 { | 4460 { |
4461 v8::Local<v8::Object> holder = info.Holder(); | 4461 v8::Local<v8::Object> holder = info.Holder(); |
4462 TestObject* impl = V8TestObject::toImpl(holder); | 4462 TestObject* impl = V8TestObject::toImpl(holder); |
4463 v8SetReturnValueInt(info, impl->unforgeableLongAttribute()); | 4463 v8SetReturnValueInt(info, impl->unforgeableLongAttribute()); |
4464 } | 4464 } |
4465 | 4465 |
(...skipping 4900 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9366 } | 9366 } |
9367 | 9367 |
9368 static void customCallEpilogueVoidMethodMethodCallback(const v8::FunctionCallbac
kInfo<v8::Value>& info) | 9368 static void customCallEpilogueVoidMethodMethodCallback(const v8::FunctionCallbac
kInfo<v8::Value>& info) |
9369 { | 9369 { |
9370 TestObjectV8Internal::customCallEpilogueVoidMethodMethod(info); | 9370 TestObjectV8Internal::customCallEpilogueVoidMethodMethod(info); |
9371 } | 9371 } |
9372 | 9372 |
9373 static void customElementCallbacksVoidMethodMethod(const v8::FunctionCallbackInf
o<v8::Value>& info) | 9373 static void customElementCallbacksVoidMethodMethod(const v8::FunctionCallbackInf
o<v8::Value>& info) |
9374 { | 9374 { |
9375 TestObject* impl = V8TestObject::toImpl(info.Holder()); | 9375 TestObject* impl = V8TestObject::toImpl(info.Holder()); |
9376 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 9376 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
9377 impl->customElementCallbacksVoidMethod(); | 9377 impl->customElementCallbacksVoidMethod(); |
9378 } | 9378 } |
9379 | 9379 |
9380 static void customElementCallbacksVoidMethodMethodCallback(const v8::FunctionCal
lbackInfo<v8::Value>& info) | 9380 static void customElementCallbacksVoidMethodMethodCallback(const v8::FunctionCal
lbackInfo<v8::Value>& info) |
9381 { | 9381 { |
9382 TestObjectV8Internal::customElementCallbacksVoidMethodMethod(info); | 9382 TestObjectV8Internal::customElementCallbacksVoidMethodMethod(info); |
9383 } | 9383 } |
9384 | 9384 |
9385 static void deprecatedVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>
& info) | 9385 static void deprecatedVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>
& info) |
9386 { | 9386 { |
(...skipping 3174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12561 ScriptState::Scope scope(scriptState); | 12561 ScriptState::Scope scope(scriptState); |
12562 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); | 12562 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); |
12563 if (holder.IsEmpty()) | 12563 if (holder.IsEmpty()) |
12564 return false; | 12564 return false; |
12565 | 12565 |
12566 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate
Script", "TestObject", scriptState->context()->Global(), scriptState->isolate())
; | 12566 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate
Script", "TestObject", scriptState->context()->Global(), scriptState->isolate())
; |
12567 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn
UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState->
isolate(), cppValue)); | 12567 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn
UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState->
isolate(), cppValue)); |
12568 } | 12568 } |
12569 | 12569 |
12570 } // namespace blink | 12570 } // namespace blink |
OLD | NEW |