| 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/ArrayBufferOrArrayBufferViewOrDictionary.h" | 9 #include "bindings/core/v8/ArrayBufferOrArrayBufferViewOrDictionary.h" |
| 10 #include "bindings/core/v8/BindingSecurity.h" | 10 #include "bindings/core/v8/BindingSecurity.h" |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 } | 107 } |
| 108 | 108 |
| 109 static void MEASURED_CONSTANTConstantGetterCallback(v8::Local<v8::Name>, const v
8::PropertyCallbackInfo<v8::Value>& info) | 109 static void MEASURED_CONSTANTConstantGetterCallback(v8::Local<v8::Name>, const v
8::PropertyCallbackInfo<v8::Value>& info) |
| 110 { | 110 { |
| 111 UseCounter::countIfNotPrivateScript(info.GetIsolate(), currentExecutionConte
xt(info.GetIsolate()), UseCounter::Constant); | 111 UseCounter::countIfNotPrivateScript(info.GetIsolate(), currentExecutionConte
xt(info.GetIsolate()), UseCounter::Constant); |
| 112 v8SetReturnValueInt(info, 1); | 112 v8SetReturnValueInt(info, 1); |
| 113 } | 113 } |
| 114 | 114 |
| 115 static void FEATURE1_ORIGIN_TRIAL_ENABLED_CONST1ConstantGetterCallback(v8::Local
<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& info) | 115 static void FEATURE1_ORIGIN_TRIAL_ENABLED_CONST1ConstantGetterCallback(v8::Local
<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 116 { | 116 { |
| 117 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); | |
| 118 String errorMessage; | |
| 119 if (!OriginTrials::featureName1Enabled(executionContext, errorMessage)) { | |
| 120 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); | |
| 121 if (!errorMessage.isEmpty()) { | |
| 122 executionContext->addConsoleMessage(ConsoleMessage::create(JSMessage
Source, ErrorMessageLevel, errorMessage)); | |
| 123 } | |
| 124 return; | |
| 125 } | |
| 126 v8SetReturnValueInt(info, 1); | 117 v8SetReturnValueInt(info, 1); |
| 127 } | 118 } |
| 128 | 119 |
| 129 static void FEATURE1_ORIGIN_TRIAL_ENABLED_CONST2ConstantGetterCallback(v8::Local
<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& info) | 120 static void FEATURE1_ORIGIN_TRIAL_ENABLED_CONST2ConstantGetterCallback(v8::Local
<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 130 { | 121 { |
| 131 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); | |
| 132 String errorMessage; | |
| 133 if (!OriginTrials::featureName1Enabled(executionContext, errorMessage)) { | |
| 134 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); | |
| 135 if (!errorMessage.isEmpty()) { | |
| 136 executionContext->addConsoleMessage(ConsoleMessage::create(JSMessage
Source, ErrorMessageLevel, errorMessage)); | |
| 137 } | |
| 138 return; | |
| 139 } | |
| 140 v8SetReturnValueInt(info, 2); | 122 v8SetReturnValueInt(info, 2); |
| 141 } | 123 } |
| 142 | 124 |
| 143 static void FEATURE2_ORIGIN_TRIAL_ENABLED_CONST1ConstantGetterCallback(v8::Local
<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& info) | 125 static void FEATURE2_ORIGIN_TRIAL_ENABLED_CONST1ConstantGetterCallback(v8::Local
<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 144 { | 126 { |
| 145 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); | |
| 146 String errorMessage; | |
| 147 if (!OriginTrials::featureName2Enabled(executionContext, errorMessage)) { | |
| 148 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); | |
| 149 if (!errorMessage.isEmpty()) { | |
| 150 executionContext->addConsoleMessage(ConsoleMessage::create(JSMessage
Source, ErrorMessageLevel, errorMessage)); | |
| 151 } | |
| 152 return; | |
| 153 } | |
| 154 v8SetReturnValueInt(info, 3); | 127 v8SetReturnValueInt(info, 3); |
| 155 } | 128 } |
| 156 | 129 |
| 157 static void FEATURE2_ORIGIN_TRIAL_ENABLED_CONST2ConstantGetterCallback(v8::Local
<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& info) | 130 static void FEATURE2_ORIGIN_TRIAL_ENABLED_CONST2ConstantGetterCallback(v8::Local
<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 158 { | 131 { |
| 159 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); | |
| 160 String errorMessage; | |
| 161 if (!OriginTrials::featureName2Enabled(executionContext, errorMessage)) { | |
| 162 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); | |
| 163 if (!errorMessage.isEmpty()) { | |
| 164 executionContext->addConsoleMessage(ConsoleMessage::create(JSMessage
Source, ErrorMessageLevel, errorMessage)); | |
| 165 } | |
| 166 return; | |
| 167 } | |
| 168 v8SetReturnValueInt(info, 4); | 132 v8SetReturnValueInt(info, 4); |
| 169 } | 133 } |
| 170 | 134 |
| 171 static void FEATURE3_ORIGIN_TRIAL_ENABLED_CONST1ConstantGetterCallback(v8::Local
<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& info) | 135 static void FEATURE3_ORIGIN_TRIAL_ENABLED_CONST1ConstantGetterCallback(v8::Local
<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 172 { | 136 { |
| 173 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); | |
| 174 String errorMessage; | |
| 175 if (!OriginTrials::featureName3Enabled(executionContext, errorMessage)) { | |
| 176 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); | |
| 177 if (!errorMessage.isEmpty()) { | |
| 178 executionContext->addConsoleMessage(ConsoleMessage::create(JSMessage
Source, ErrorMessageLevel, errorMessage)); | |
| 179 } | |
| 180 return; | |
| 181 } | |
| 182 v8SetReturnValueInt(info, 5); | 137 v8SetReturnValueInt(info, 5); |
| 183 } | 138 } |
| 184 | 139 |
| 185 static void stringifierAttributeAttributeGetter(const v8::FunctionCallbackInfo<v
8::Value>& info) | 140 static void stringifierAttributeAttributeGetter(const v8::FunctionCallbackInfo<v
8::Value>& info) |
| 186 { | 141 { |
| 187 v8::Local<v8::Object> holder = info.Holder(); | 142 v8::Local<v8::Object> holder = info.Holder(); |
| 188 TestObject* impl = V8TestObject::toImpl(holder); | 143 TestObject* impl = V8TestObject::toImpl(holder); |
| 189 v8SetReturnValueString(info, impl->stringifierAttribute(), info.GetIsolate()
); | 144 v8SetReturnValueString(info, impl->stringifierAttribute(), info.GetIsolate()
); |
| 190 } | 145 } |
| 191 | 146 |
| (...skipping 2500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2692 } | 2647 } |
| 2693 | 2648 |
| 2694 static void notEnumerableLongAttributeAttributeSetterCallback(const v8::Function
CallbackInfo<v8::Value>& info) | 2649 static void notEnumerableLongAttributeAttributeSetterCallback(const v8::Function
CallbackInfo<v8::Value>& info) |
| 2695 { | 2650 { |
| 2696 v8::Local<v8::Value> v8Value = info[0]; | 2651 v8::Local<v8::Value> v8Value = info[0]; |
| 2697 TestObjectV8Internal::notEnumerableLongAttributeAttributeSetter(v8Value, inf
o); | 2652 TestObjectV8Internal::notEnumerableLongAttributeAttributeSetter(v8Value, inf
o); |
| 2698 } | 2653 } |
| 2699 | 2654 |
| 2700 static void originTrialEnabledLongAttributeAttributeGetter(const v8::FunctionCal
lbackInfo<v8::Value>& info) | 2655 static void originTrialEnabledLongAttributeAttributeGetter(const v8::FunctionCal
lbackInfo<v8::Value>& info) |
| 2701 { | 2656 { |
| 2702 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); | |
| 2703 String errorMessage; | |
| 2704 if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { | |
| 2705 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); | |
| 2706 if (!errorMessage.isEmpty()) { | |
| 2707 executionContext->addConsoleMessage(ConsoleMessage::create(JSMessage
Source, ErrorMessageLevel, errorMessage)); | |
| 2708 } | |
| 2709 return; | |
| 2710 } | |
| 2711 v8::Local<v8::Object> holder = info.Holder(); | 2657 v8::Local<v8::Object> holder = info.Holder(); |
| 2712 TestObject* impl = V8TestObject::toImpl(holder); | 2658 TestObject* impl = V8TestObject::toImpl(holder); |
| 2713 v8SetReturnValueInt(info, impl->originTrialEnabledLongAttribute()); | 2659 v8SetReturnValueInt(info, impl->originTrialEnabledLongAttribute()); |
| 2714 } | 2660 } |
| 2715 | 2661 |
| 2716 static void originTrialEnabledLongAttributeAttributeGetterCallback(const v8::Fun
ctionCallbackInfo<v8::Value>& info) | 2662 static void originTrialEnabledLongAttributeAttributeGetterCallback(const v8::Fun
ctionCallbackInfo<v8::Value>& info) |
| 2717 { | 2663 { |
| 2718 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); | |
| 2719 String errorMessage; | |
| 2720 if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { | |
| 2721 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); | |
| 2722 if (!errorMessage.isEmpty()) { | |
| 2723 executionContext->addConsoleMessage(ConsoleMessage::create(JSMessage
Source, ErrorMessageLevel, errorMessage)); | |
| 2724 } | |
| 2725 return; | |
| 2726 } | |
| 2727 TestObjectV8Internal::originTrialEnabledLongAttributeAttributeGetter(info); | 2664 TestObjectV8Internal::originTrialEnabledLongAttributeAttributeGetter(info); |
| 2728 } | 2665 } |
| 2729 | 2666 |
| 2730 static void originTrialEnabledLongAttributeAttributeSetter(v8::Local<v8::Value>
v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) | 2667 static void originTrialEnabledLongAttributeAttributeSetter(v8::Local<v8::Value>
v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) |
| 2731 { | 2668 { |
| 2732 v8::Local<v8::Object> holder = info.Holder(); | 2669 v8::Local<v8::Object> holder = info.Holder(); |
| 2733 ExceptionState exceptionState(ExceptionState::SetterContext, "originTrialEna
bledLongAttribute", "TestObject", holder, info.GetIsolate()); | 2670 ExceptionState exceptionState(ExceptionState::SetterContext, "originTrialEna
bledLongAttribute", "TestObject", holder, info.GetIsolate()); |
| 2734 TestObject* impl = V8TestObject::toImpl(holder); | 2671 TestObject* impl = V8TestObject::toImpl(holder); |
| 2735 int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, excepti
onState); | 2672 int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, excepti
onState); |
| 2736 if (exceptionState.throwIfNeeded()) | 2673 if (exceptionState.throwIfNeeded()) |
| (...skipping 1851 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4588 } | 4525 } |
| 4589 | 4526 |
| 4590 static void unscopeableLongAttributeAttributeSetterCallback(const v8::FunctionCa
llbackInfo<v8::Value>& info) | 4527 static void unscopeableLongAttributeAttributeSetterCallback(const v8::FunctionCa
llbackInfo<v8::Value>& info) |
| 4591 { | 4528 { |
| 4592 v8::Local<v8::Value> v8Value = info[0]; | 4529 v8::Local<v8::Value> v8Value = info[0]; |
| 4593 TestObjectV8Internal::unscopeableLongAttributeAttributeSetter(v8Value, info)
; | 4530 TestObjectV8Internal::unscopeableLongAttributeAttributeSetter(v8Value, info)
; |
| 4594 } | 4531 } |
| 4595 | 4532 |
| 4596 static void unscopeableOriginTrialEnabledLongAttributeAttributeGetter(const v8::
FunctionCallbackInfo<v8::Value>& info) | 4533 static void unscopeableOriginTrialEnabledLongAttributeAttributeGetter(const v8::
FunctionCallbackInfo<v8::Value>& info) |
| 4597 { | 4534 { |
| 4598 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); | |
| 4599 String errorMessage; | |
| 4600 if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { | |
| 4601 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); | |
| 4602 if (!errorMessage.isEmpty()) { | |
| 4603 executionContext->addConsoleMessage(ConsoleMessage::create(JSMessage
Source, ErrorMessageLevel, errorMessage)); | |
| 4604 } | |
| 4605 return; | |
| 4606 } | |
| 4607 v8::Local<v8::Object> holder = info.Holder(); | 4535 v8::Local<v8::Object> holder = info.Holder(); |
| 4608 TestObject* impl = V8TestObject::toImpl(holder); | 4536 TestObject* impl = V8TestObject::toImpl(holder); |
| 4609 v8SetReturnValueInt(info, impl->unscopeableOriginTrialEnabledLongAttribute()
); | 4537 v8SetReturnValueInt(info, impl->unscopeableOriginTrialEnabledLongAttribute()
); |
| 4610 } | 4538 } |
| 4611 | 4539 |
| 4612 static void unscopeableOriginTrialEnabledLongAttributeAttributeGetterCallback(co
nst v8::FunctionCallbackInfo<v8::Value>& info) | 4540 static void unscopeableOriginTrialEnabledLongAttributeAttributeGetterCallback(co
nst v8::FunctionCallbackInfo<v8::Value>& info) |
| 4613 { | 4541 { |
| 4614 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); | |
| 4615 String errorMessage; | |
| 4616 if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { | |
| 4617 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); | |
| 4618 if (!errorMessage.isEmpty()) { | |
| 4619 executionContext->addConsoleMessage(ConsoleMessage::create(JSMessage
Source, ErrorMessageLevel, errorMessage)); | |
| 4620 } | |
| 4621 return; | |
| 4622 } | |
| 4623 TestObjectV8Internal::unscopeableOriginTrialEnabledLongAttributeAttributeGet
ter(info); | 4542 TestObjectV8Internal::unscopeableOriginTrialEnabledLongAttributeAttributeGet
ter(info); |
| 4624 } | 4543 } |
| 4625 | 4544 |
| 4626 static void unscopeableOriginTrialEnabledLongAttributeAttributeSetter(v8::Local<
v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) | 4545 static void unscopeableOriginTrialEnabledLongAttributeAttributeSetter(v8::Local<
v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) |
| 4627 { | 4546 { |
| 4628 v8::Local<v8::Object> holder = info.Holder(); | 4547 v8::Local<v8::Object> holder = info.Holder(); |
| 4629 ExceptionState exceptionState(ExceptionState::SetterContext, "unscopeableOri
ginTrialEnabledLongAttribute", "TestObject", holder, info.GetIsolate()); | 4548 ExceptionState exceptionState(ExceptionState::SetterContext, "unscopeableOri
ginTrialEnabledLongAttribute", "TestObject", holder, info.GetIsolate()); |
| 4630 TestObject* impl = V8TestObject::toImpl(holder); | 4549 TestObject* impl = V8TestObject::toImpl(holder); |
| 4631 int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, excepti
onState); | 4550 int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, excepti
onState); |
| 4632 if (exceptionState.throwIfNeeded()) | 4551 if (exceptionState.throwIfNeeded()) |
| (...skipping 5227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9860 } | 9779 } |
| 9861 | 9780 |
| 9862 static void originTrialEnabledVoidMethodMethod(const v8::FunctionCallbackInfo<v8
::Value>& info) | 9781 static void originTrialEnabledVoidMethodMethod(const v8::FunctionCallbackInfo<v8
::Value>& info) |
| 9863 { | 9782 { |
| 9864 TestObject* impl = V8TestObject::toImpl(info.Holder()); | 9783 TestObject* impl = V8TestObject::toImpl(info.Holder()); |
| 9865 impl->originTrialEnabledVoidMethod(); | 9784 impl->originTrialEnabledVoidMethod(); |
| 9866 } | 9785 } |
| 9867 | 9786 |
| 9868 static void originTrialEnabledVoidMethodMethodCallback(const v8::FunctionCallbac
kInfo<v8::Value>& info) | 9787 static void originTrialEnabledVoidMethodMethodCallback(const v8::FunctionCallbac
kInfo<v8::Value>& info) |
| 9869 { | 9788 { |
| 9870 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); | |
| 9871 String errorMessage; | |
| 9872 if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { | |
| 9873 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); | |
| 9874 if (!errorMessage.isEmpty()) { | |
| 9875 executionContext->addConsoleMessage(ConsoleMessage::create(JSMessage
Source, ErrorMessageLevel, errorMessage)); | |
| 9876 } | |
| 9877 return; | |
| 9878 } | |
| 9879 TestObjectV8Internal::originTrialEnabledVoidMethodMethod(info); | 9789 TestObjectV8Internal::originTrialEnabledVoidMethodMethod(info); |
| 9880 } | 9790 } |
| 9881 | 9791 |
| 9882 static void perWorldBindingsOriginTrialEnabledVoidMethodMethod(const v8::Functio
nCallbackInfo<v8::Value>& info) | 9792 static void perWorldBindingsOriginTrialEnabledVoidMethodMethod(const v8::Functio
nCallbackInfo<v8::Value>& info) |
| 9883 { | 9793 { |
| 9884 TestObject* impl = V8TestObject::toImpl(info.Holder()); | 9794 TestObject* impl = V8TestObject::toImpl(info.Holder()); |
| 9885 impl->perWorldBindingsOriginTrialEnabledVoidMethod(); | 9795 impl->perWorldBindingsOriginTrialEnabledVoidMethod(); |
| 9886 } | 9796 } |
| 9887 | 9797 |
| 9888 static void perWorldBindingsOriginTrialEnabledVoidMethodMethodCallback(const v8:
:FunctionCallbackInfo<v8::Value>& info) | 9798 static void perWorldBindingsOriginTrialEnabledVoidMethodMethodCallback(const v8:
:FunctionCallbackInfo<v8::Value>& info) |
| 9889 { | 9799 { |
| 9890 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); | |
| 9891 String errorMessage; | |
| 9892 if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { | |
| 9893 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); | |
| 9894 if (!errorMessage.isEmpty()) { | |
| 9895 executionContext->addConsoleMessage(ConsoleMessage::create(JSMessage
Source, ErrorMessageLevel, errorMessage)); | |
| 9896 } | |
| 9897 return; | |
| 9898 } | |
| 9899 TestObjectV8Internal::perWorldBindingsOriginTrialEnabledVoidMethodMethod(inf
o); | 9800 TestObjectV8Internal::perWorldBindingsOriginTrialEnabledVoidMethodMethod(inf
o); |
| 9900 } | 9801 } |
| 9901 | 9802 |
| 9902 static void perWorldBindingsOriginTrialEnabledVoidMethodMethodForMainWorld(const
v8::FunctionCallbackInfo<v8::Value>& info) | 9803 static void perWorldBindingsOriginTrialEnabledVoidMethodMethodForMainWorld(const
v8::FunctionCallbackInfo<v8::Value>& info) |
| 9903 { | 9804 { |
| 9904 TestObject* impl = V8TestObject::toImpl(info.Holder()); | 9805 TestObject* impl = V8TestObject::toImpl(info.Holder()); |
| 9905 impl->perWorldBindingsOriginTrialEnabledVoidMethod(); | 9806 impl->perWorldBindingsOriginTrialEnabledVoidMethod(); |
| 9906 } | 9807 } |
| 9907 | 9808 |
| 9908 static void perWorldBindingsOriginTrialEnabledVoidMethodMethodCallbackForMainWor
ld(const v8::FunctionCallbackInfo<v8::Value>& info) | 9809 static void perWorldBindingsOriginTrialEnabledVoidMethodMethodCallbackForMainWor
ld(const v8::FunctionCallbackInfo<v8::Value>& info) |
| 9909 { | 9810 { |
| 9910 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); | |
| 9911 String errorMessage; | |
| 9912 if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { | |
| 9913 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); | |
| 9914 if (!errorMessage.isEmpty()) { | |
| 9915 executionContext->addConsoleMessage(ConsoleMessage::create(JSMessage
Source, ErrorMessageLevel, errorMessage)); | |
| 9916 } | |
| 9917 return; | |
| 9918 } | |
| 9919 TestObjectV8Internal::perWorldBindingsOriginTrialEnabledVoidMethodMethodForM
ainWorld(info); | 9811 TestObjectV8Internal::perWorldBindingsOriginTrialEnabledVoidMethodMethodForM
ainWorld(info); |
| 9920 } | 9812 } |
| 9921 | 9813 |
| 9922 static void originTrialEnabledOverloadedVoidMethod1Method(const v8::FunctionCall
backInfo<v8::Value>& info) | 9814 static void originTrialEnabledOverloadedVoidMethod1Method(const v8::FunctionCall
backInfo<v8::Value>& info) |
| 9923 { | 9815 { |
| 9924 TestObject* impl = V8TestObject::toImpl(info.Holder()); | 9816 TestObject* impl = V8TestObject::toImpl(info.Holder()); |
| 9925 V8StringResource<> stringArg; | 9817 V8StringResource<> stringArg; |
| 9926 { | 9818 { |
| 9927 stringArg = info[0]; | 9819 stringArg = info[0]; |
| 9928 if (!stringArg.prepare()) | 9820 if (!stringArg.prepare()) |
| (...skipping 1663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11592 {"customSetterLongAttribute", TestObjectV8Internal::customSetterLongAttribut
eAttributeGetterCallback, TestObjectV8Internal::customSetterLongAttributeAttribu
teSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::N
one), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype,
V8DOMConfiguration::CheckHolder}, | 11484 {"customSetterLongAttribute", TestObjectV8Internal::customSetterLongAttribut
eAttributeGetterCallback, TestObjectV8Internal::customSetterLongAttributeAttribu
teSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::N
one), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype,
V8DOMConfiguration::CheckHolder}, |
| 11593 {"customElementsCallbacksReadonlyLongAttribute", TestObjectV8Internal::custo
mElementsCallbacksReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0, v8::
DEFAULT, static_cast<v8::PropertyAttribute>(v8::ReadOnly), V8DOMConfiguration::E
xposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHo
lder}, | 11485 {"customElementsCallbacksReadonlyLongAttribute", TestObjectV8Internal::custo
mElementsCallbacksReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0, v8::
DEFAULT, static_cast<v8::PropertyAttribute>(v8::ReadOnly), V8DOMConfiguration::E
xposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHo
lder}, |
| 11594 {"deprecatedLongAttribute", TestObjectV8Internal::deprecatedLongAttributeAtt
ributeGetterCallback, TestObjectV8Internal::deprecatedLongAttributeAttributeSett
erCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None),
V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMC
onfiguration::CheckHolder}, | 11486 {"deprecatedLongAttribute", TestObjectV8Internal::deprecatedLongAttributeAtt
ributeGetterCallback, TestObjectV8Internal::deprecatedLongAttributeAttributeSett
erCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None),
V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMC
onfiguration::CheckHolder}, |
| 11595 {"enforceRangeLongAttribute", TestObjectV8Internal::enforceRangeLongAttribut
eAttributeGetterCallback, TestObjectV8Internal::enforceRangeLongAttributeAttribu
teSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::N
one), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype,
V8DOMConfiguration::CheckHolder}, | 11487 {"enforceRangeLongAttribute", TestObjectV8Internal::enforceRangeLongAttribut
eAttributeGetterCallback, TestObjectV8Internal::enforceRangeLongAttributeAttribu
teSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::N
one), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype,
V8DOMConfiguration::CheckHolder}, |
| 11596 {"implementedAsLongAttribute", TestObjectV8Internal::implementedAsLongAttrib
uteAttributeGetterCallback, TestObjectV8Internal::implementedAsLongAttributeAttr
ibuteSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8
::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototyp
e, V8DOMConfiguration::CheckHolder}, | 11488 {"implementedAsLongAttribute", TestObjectV8Internal::implementedAsLongAttrib
uteAttributeGetterCallback, TestObjectV8Internal::implementedAsLongAttributeAttr
ibuteSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8
::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototyp
e, V8DOMConfiguration::CheckHolder}, |
| 11597 {"customImplementedAsLongAttribute", TestObjectV8Internal::customImplemented
AsLongAttributeAttributeGetterCallback, TestObjectV8Internal::customImplementedA
sLongAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::Pro
pertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigu
ration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 11489 {"customImplementedAsLongAttribute", TestObjectV8Internal::customImplemented
AsLongAttributeAttributeGetterCallback, TestObjectV8Internal::customImplementedA
sLongAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::Pro
pertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigu
ration::OnPrototype, V8DOMConfiguration::CheckHolder}, |
| 11598 {"customGetterImplementedAsLongAttribute", TestObjectV8Internal::customGette
rImplementedAsLongAttributeAttributeGetterCallback, TestObjectV8Internal::custom
GetterImplementedAsLongAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, s
tatic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScr
ipts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 11490 {"customGetterImplementedAsLongAttribute", TestObjectV8Internal::customGette
rImplementedAsLongAttributeAttributeGetterCallback, TestObjectV8Internal::custom
GetterImplementedAsLongAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, s
tatic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScr
ipts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, |
| 11599 {"customSetterImplementedAsLongAttribute", TestObjectV8Internal::customSette
rImplementedAsLongAttributeAttributeGetterCallback, TestObjectV8Internal::custom
SetterImplementedAsLongAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, s
tatic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScr
ipts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 11491 {"customSetterImplementedAsLongAttribute", TestObjectV8Internal::customSette
rImplementedAsLongAttributeAttributeGetterCallback, TestObjectV8Internal::custom
SetterImplementedAsLongAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, s
tatic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScr
ipts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, |
| 11600 {"measureAsLongAttribute", TestObjectV8Internal::measureAsLongAttributeAttri
buteGetterCallback, TestObjectV8Internal::measureAsLongAttributeAttributeSetterC
allback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8D
OMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConf
iguration::CheckHolder}, | 11492 {"measureAsLongAttribute", TestObjectV8Internal::measureAsLongAttributeAttri
buteGetterCallback, TestObjectV8Internal::measureAsLongAttributeAttributeSetterC
allback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8D
OMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConf
iguration::CheckHolder}, |
| 11601 {"notEnumerableLongAttribute", TestObjectV8Internal::notEnumerableLongAttrib
uteAttributeGetterCallback, TestObjectV8Internal::notEnumerableLongAttributeAttr
ibuteSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8
::DontEnum), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnProt
otype, V8DOMConfiguration::CheckHolder}, | 11493 {"notEnumerableLongAttribute", TestObjectV8Internal::notEnumerableLongAttrib
uteAttributeGetterCallback, TestObjectV8Internal::notEnumerableLongAttributeAttr
ibuteSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8
::DontEnum), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnProt
otype, V8DOMConfiguration::CheckHolder}, |
| 11602 {"originTrialEnabledLongAttribute", TestObjectV8Internal::originTrialEnabled
LongAttributeAttributeGetterCallback, TestObjectV8Internal::originTrialEnabledLo
ngAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::Proper
tyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigurat
ion::OnPrototype, V8DOMConfiguration::CheckHolder}, | |
| 11603 {"perWorldBindingsReadonlyTestInterfaceEmptyAttribute", TestObjectV8Internal
::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetterCallback, 0,
TestObjectV8Internal::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttrib
uteGetterCallbackForMainWorld, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttrib
ute>(v8::ReadOnly), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration:
:OnPrototype, V8DOMConfiguration::CheckHolder}, | 11494 {"perWorldBindingsReadonlyTestInterfaceEmptyAttribute", TestObjectV8Internal
::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetterCallback, 0,
TestObjectV8Internal::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttrib
uteGetterCallbackForMainWorld, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttrib
ute>(v8::ReadOnly), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration:
:OnPrototype, V8DOMConfiguration::CheckHolder}, |
| 11604 {"activityLoggingAccessPerWorldBindingsLongAttribute", TestObjectV8Internal:
:activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterCallback, Test
ObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttributeAttributeSet
terCallback, TestObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttr
ibuteAttributeGetterCallbackForMainWorld, TestObjectV8Internal::activityLoggingA
ccessPerWorldBindingsLongAttributeAttributeSetterCallbackForMainWorld, 0, v8::DE
FAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Exposed
ToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 11495 {"activityLoggingAccessPerWorldBindingsLongAttribute", TestObjectV8Internal:
:activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterCallback, Test
ObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttributeAttributeSet
terCallback, TestObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttr
ibuteAttributeGetterCallbackForMainWorld, TestObjectV8Internal::activityLoggingA
ccessPerWorldBindingsLongAttributeAttributeSetterCallbackForMainWorld, 0, v8::DE
FAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Exposed
ToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, |
| 11605 {"activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute", Test
ObjectV8Internal::activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttr
ibuteAttributeGetterCallback, TestObjectV8Internal::activityLoggingAccessForIsol
atedWorldsPerWorldBindingsLongAttributeAttributeSetterCallback, TestObjectV8Inte
rnal::activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeAttribu
teGetterCallbackForMainWorld, TestObjectV8Internal::activityLoggingAccessForIsol
atedWorldsPerWorldBindingsLongAttributeAttributeSetterCallbackForMainWorld, 0, v
8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Ex
posedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHol
der}, | 11496 {"activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute", Test
ObjectV8Internal::activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttr
ibuteAttributeGetterCallback, TestObjectV8Internal::activityLoggingAccessForIsol
atedWorldsPerWorldBindingsLongAttributeAttributeSetterCallback, TestObjectV8Inte
rnal::activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeAttribu
teGetterCallbackForMainWorld, TestObjectV8Internal::activityLoggingAccessForIsol
atedWorldsPerWorldBindingsLongAttributeAttributeSetterCallbackForMainWorld, 0, v
8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Ex
posedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHol
der}, |
| 11606 {"activityLoggingGetterPerWorldBindingsLongAttribute", TestObjectV8Internal:
:activityLoggingGetterPerWorldBindingsLongAttributeAttributeGetterCallback, Test
ObjectV8Internal::activityLoggingGetterPerWorldBindingsLongAttributeAttributeSet
terCallback, TestObjectV8Internal::activityLoggingGetterPerWorldBindingsLongAttr
ibuteAttributeGetterCallbackForMainWorld, TestObjectV8Internal::activityLoggingG
etterPerWorldBindingsLongAttributeAttributeSetterCallbackForMainWorld, 0, v8::DE
FAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Exposed
ToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 11497 {"activityLoggingGetterPerWorldBindingsLongAttribute", TestObjectV8Internal:
:activityLoggingGetterPerWorldBindingsLongAttributeAttributeGetterCallback, Test
ObjectV8Internal::activityLoggingGetterPerWorldBindingsLongAttributeAttributeSet
terCallback, TestObjectV8Internal::activityLoggingGetterPerWorldBindingsLongAttr
ibuteAttributeGetterCallbackForMainWorld, TestObjectV8Internal::activityLoggingG
etterPerWorldBindingsLongAttributeAttributeSetterCallbackForMainWorld, 0, v8::DE
FAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Exposed
ToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, |
| 11607 {"activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttribute", Test
ObjectV8Internal::activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttr
ibuteAttributeGetterCallback, TestObjectV8Internal::activityLoggingGetterForIsol
atedWorldsPerWorldBindingsLongAttributeAttributeSetterCallback, TestObjectV8Inte
rnal::activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeAttribu
teGetterCallbackForMainWorld, TestObjectV8Internal::activityLoggingGetterForIsol
atedWorldsPerWorldBindingsLongAttributeAttributeSetterCallbackForMainWorld, 0, v
8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Ex
posedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHol
der}, | 11498 {"activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttribute", Test
ObjectV8Internal::activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttr
ibuteAttributeGetterCallback, TestObjectV8Internal::activityLoggingGetterForIsol
atedWorldsPerWorldBindingsLongAttributeAttributeSetterCallback, TestObjectV8Inte
rnal::activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeAttribu
teGetterCallbackForMainWorld, TestObjectV8Internal::activityLoggingGetterForIsol
atedWorldsPerWorldBindingsLongAttributeAttributeSetterCallbackForMainWorld, 0, v
8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Ex
posedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHol
der}, |
| 11608 {"location", TestObjectV8Internal::locationAttributeGetterCallback, TestObje
ctV8Internal::locationAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast
<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DO
MConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 11499 {"location", TestObjectV8Internal::locationAttributeGetterCallback, TestObje
ctV8Internal::locationAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast
<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DO
MConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, |
| 11609 {"locationWithException", TestObjectV8Internal::locationWithExceptionAttribu
teGetterCallback, TestObjectV8Internal::locationWithExceptionAttributeSetterCall
back, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMC
onfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfigu
ration::CheckHolder}, | 11500 {"locationWithException", TestObjectV8Internal::locationWithExceptionAttribu
teGetterCallback, TestObjectV8Internal::locationWithExceptionAttributeSetterCall
back, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMC
onfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfigu
ration::CheckHolder}, |
| 11610 {"locationWithCallWith", TestObjectV8Internal::locationWithCallWithAttribute
GetterCallback, TestObjectV8Internal::locationWithCallWithAttributeSetterCallbac
k, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConf
iguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfigurat
ion::CheckHolder}, | 11501 {"locationWithCallWith", TestObjectV8Internal::locationWithCallWithAttribute
GetterCallback, TestObjectV8Internal::locationWithCallWithAttributeSetterCallbac
k, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConf
iguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfigurat
ion::CheckHolder}, |
| 11611 {"locationByteString", TestObjectV8Internal::locationByteStringAttributeGett
erCallback, TestObjectV8Internal::locationByteStringAttributeSetterCallback, 0,
0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigurat
ion::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::C
heckHolder}, | 11502 {"locationByteString", TestObjectV8Internal::locationByteStringAttributeGett
erCallback, TestObjectV8Internal::locationByteStringAttributeSetterCallback, 0,
0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigurat
ion::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::C
heckHolder}, |
| 11612 {"locationWithPerWorldBindings", TestObjectV8Internal::locationWithPerWorldB
indingsAttributeGetterCallback, TestObjectV8Internal::locationWithPerWorldBindin
gsAttributeSetterCallback, TestObjectV8Internal::locationWithPerWorldBindingsAtt
ributeGetterCallbackForMainWorld, TestObjectV8Internal::locationWithPerWorldBind
ingsAttributeSetterCallbackForMainWorld, 0, v8::DEFAULT, static_cast<v8::Propert
yAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigurati
on::OnPrototype, V8DOMConfiguration::CheckHolder}, | 11503 {"locationWithPerWorldBindings", TestObjectV8Internal::locationWithPerWorldB
indingsAttributeGetterCallback, TestObjectV8Internal::locationWithPerWorldBindin
gsAttributeSetterCallback, TestObjectV8Internal::locationWithPerWorldBindingsAtt
ributeGetterCallbackForMainWorld, TestObjectV8Internal::locationWithPerWorldBind
ingsAttributeSetterCallbackForMainWorld, 0, v8::DEFAULT, static_cast<v8::Propert
yAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigurati
on::OnPrototype, V8DOMConfiguration::CheckHolder}, |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11645 {"legacyInterfaceTypeCheckingFloatAttribute", TestObjectV8Internal::legacyIn
terfaceTypeCheckingFloatAttributeAttributeGetterCallback, TestObjectV8Internal::
legacyInterfaceTypeCheckingFloatAttributeAttributeSetterCallback, 0, 0, 0, v8::D
EFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Expose
dToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}
, | 11536 {"legacyInterfaceTypeCheckingFloatAttribute", TestObjectV8Internal::legacyIn
terfaceTypeCheckingFloatAttributeAttributeGetterCallback, TestObjectV8Internal::
legacyInterfaceTypeCheckingFloatAttributeAttributeSetterCallback, 0, 0, 0, v8::D
EFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Expose
dToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}
, |
| 11646 {"legacyInterfaceTypeCheckingTestInterfaceAttribute", TestObjectV8Internal::
legacyInterfaceTypeCheckingTestInterfaceAttributeAttributeGetterCallback, TestOb
jectV8Internal::legacyInterfaceTypeCheckingTestInterfaceAttributeAttributeSetter
Callback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8
DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMCon
figuration::CheckHolder}, | 11537 {"legacyInterfaceTypeCheckingTestInterfaceAttribute", TestObjectV8Internal::
legacyInterfaceTypeCheckingTestInterfaceAttributeAttributeGetterCallback, TestOb
jectV8Internal::legacyInterfaceTypeCheckingTestInterfaceAttributeAttributeSetter
Callback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8
DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMCon
figuration::CheckHolder}, |
| 11647 {"legacyInterfaceTypeCheckingTestInterfaceOrNullAttribute", TestObjectV8Inte
rnal::legacyInterfaceTypeCheckingTestInterfaceOrNullAttributeAttributeGetterCall
back, TestObjectV8Internal::legacyInterfaceTypeCheckingTestInterfaceOrNullAttrib
uteAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttrib
ute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnP
rototype, V8DOMConfiguration::CheckHolder}, | 11538 {"legacyInterfaceTypeCheckingTestInterfaceOrNullAttribute", TestObjectV8Inte
rnal::legacyInterfaceTypeCheckingTestInterfaceOrNullAttributeAttributeGetterCall
back, TestObjectV8Internal::legacyInterfaceTypeCheckingTestInterfaceOrNullAttrib
uteAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttrib
ute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnP
rototype, V8DOMConfiguration::CheckHolder}, |
| 11648 {"urlStringAttribute", TestObjectV8Internal::urlStringAttributeAttributeGett
erCallback, TestObjectV8Internal::urlStringAttributeAttributeSetterCallback, 0,
0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigurat
ion::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::C
heckHolder}, | 11539 {"urlStringAttribute", TestObjectV8Internal::urlStringAttributeAttributeGett
erCallback, TestObjectV8Internal::urlStringAttributeAttributeSetterCallback, 0,
0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigurat
ion::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::C
heckHolder}, |
| 11649 {"urlStringAttribute", TestObjectV8Internal::urlStringAttributeAttributeGett
erCallback, TestObjectV8Internal::urlStringAttributeAttributeSetterCallback, 0,
0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigurat
ion::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::C
heckHolder}, | 11540 {"urlStringAttribute", TestObjectV8Internal::urlStringAttributeAttributeGett
erCallback, TestObjectV8Internal::urlStringAttributeAttributeSetterCallback, 0,
0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigurat
ion::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::C
heckHolder}, |
| 11650 {"unforgeableLongAttribute", TestObjectV8Internal::unforgeableLongAttributeA
ttributeGetterCallback, TestObjectV8Internal::unforgeableLongAttributeAttributeS
etterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::Dont
Delete), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance
, V8DOMConfiguration::CheckHolder}, | 11541 {"unforgeableLongAttribute", TestObjectV8Internal::unforgeableLongAttributeA
ttributeGetterCallback, TestObjectV8Internal::unforgeableLongAttributeAttributeS
etterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::Dont
Delete), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance
, V8DOMConfiguration::CheckHolder}, |
| 11651 {"measuredLongAttribute", TestObjectV8Internal::measuredLongAttributeAttribu
teGetterCallback, TestObjectV8Internal::measuredLongAttributeAttributeSetterCall
back, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMC
onfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfigu
ration::CheckHolder}, | 11542 {"measuredLongAttribute", TestObjectV8Internal::measuredLongAttributeAttribu
teGetterCallback, TestObjectV8Internal::measuredLongAttributeAttributeSetterCall
back, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMC
onfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfigu
ration::CheckHolder}, |
| 11652 {"sameObjectAttribute", TestObjectV8Internal::sameObjectAttributeAttributeGe
tterCallback, 0, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::Re
adOnly), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototyp
e, V8DOMConfiguration::CheckHolder}, | 11543 {"sameObjectAttribute", TestObjectV8Internal::sameObjectAttributeAttributeGe
tterCallback, 0, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::Re
adOnly), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototyp
e, V8DOMConfiguration::CheckHolder}, |
| 11653 {"saveSameObjectAttribute", TestObjectV8Internal::saveSameObjectAttributeAtt
ributeGetterCallback, 0, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute
>(v8::ReadOnly), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::On
Prototype, V8DOMConfiguration::CheckHolder}, | 11544 {"saveSameObjectAttribute", TestObjectV8Internal::saveSameObjectAttributeAtt
ributeGetterCallback, 0, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute
>(v8::ReadOnly), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::On
Prototype, V8DOMConfiguration::CheckHolder}, |
| 11654 {"unscopeableLongAttribute", TestObjectV8Internal::unscopeableLongAttributeA
ttributeGetterCallback, TestObjectV8Internal::unscopeableLongAttributeAttributeS
etterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None
), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8D
OMConfiguration::CheckHolder}, | 11545 {"unscopeableLongAttribute", TestObjectV8Internal::unscopeableLongAttributeA
ttributeGetterCallback, TestObjectV8Internal::unscopeableLongAttributeAttributeS
etterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None
), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8D
OMConfiguration::CheckHolder}, |
| 11655 {"unscopeableOriginTrialEnabledLongAttribute", TestObjectV8Internal::unscope
ableOriginTrialEnabledLongAttributeAttributeGetterCallback, TestObjectV8Internal
::unscopeableOriginTrialEnabledLongAttributeAttributeSetterCallback, 0, 0, 0, v8
::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Exp
osedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHold
er}, | |
| 11656 {"testInterfaceAttribute", TestObjectV8Internal::testInterfaceAttributeAttri
buteGetterCallback, TestObjectV8Internal::testInterfaceAttributeAttributeSetterC
allback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8D
OMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConf
iguration::CheckHolder}, | 11546 {"testInterfaceAttribute", TestObjectV8Internal::testInterfaceAttributeAttri
buteGetterCallback, TestObjectV8Internal::testInterfaceAttributeAttributeSetterC
allback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8D
OMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConf
iguration::CheckHolder}, |
| 11657 {"testInterfaceGarbageCollectedAttribute", TestObjectV8Internal::testInterfa
ceGarbageCollectedAttributeAttributeGetterCallback, TestObjectV8Internal::testIn
terfaceGarbageCollectedAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, s
tatic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScr
ipts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 11547 {"testInterfaceGarbageCollectedAttribute", TestObjectV8Internal::testInterfa
ceGarbageCollectedAttributeAttributeGetterCallback, TestObjectV8Internal::testIn
terfaceGarbageCollectedAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, s
tatic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScr
ipts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, |
| 11658 {"testInterfaceGarbageCollectedOrNullAttribute", TestObjectV8Internal::testI
nterfaceGarbageCollectedOrNullAttributeAttributeGetterCallback, TestObjectV8Inte
rnal::testInterfaceGarbageCollectedOrNullAttributeAttributeSetterCallback, 0, 0,
0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguratio
n::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::Che
ckHolder}, | 11548 {"testInterfaceGarbageCollectedOrNullAttribute", TestObjectV8Internal::testI
nterfaceGarbageCollectedOrNullAttributeAttributeGetterCallback, TestObjectV8Inte
rnal::testInterfaceGarbageCollectedOrNullAttributeAttributeSetterCallback, 0, 0,
0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguratio
n::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::Che
ckHolder}, |
| 11659 {"readonlyShortAttribute", TestObjectV8Internal::readonlyShortAttributeAttri
buteGetterCallback, 0, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(
v8::ReadOnly), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPr
ototype, V8DOMConfiguration::CheckHolder}, | 11549 {"readonlyShortAttribute", TestObjectV8Internal::readonlyShortAttributeAttri
buteGetterCallback, 0, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(
v8::ReadOnly), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPr
ototype, V8DOMConfiguration::CheckHolder}, |
| 11660 {"shortAttribute", TestObjectV8Internal::shortAttributeAttributeGetterCallba
ck, TestObjectV8Internal::shortAttributeAttributeSetterCallback, 0, 0, 0, v8::DE
FAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Exposed
ToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 11550 {"shortAttribute", TestObjectV8Internal::shortAttributeAttributeGetterCallba
ck, TestObjectV8Internal::shortAttributeAttributeSetterCallback, 0, 0, 0, v8::DE
FAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Exposed
ToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, |
| 11661 {"stringAttribute", TestObjectV8Internal::stringAttributeAttributeGetterCall
back, TestObjectV8Internal::stringAttributeAttributeSetterCallback, 0, 0, 0, v8:
:DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Expo
sedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolde
r}, | 11551 {"stringAttribute", TestObjectV8Internal::stringAttributeAttributeGetterCall
back, TestObjectV8Internal::stringAttributeAttributeSetterCallback, 0, 0, 0, v8:
:DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Expo
sedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolde
r}, |
| 11662 {"nodeAttribute", TestObjectV8Internal::nodeAttributeAttributeGetterCallback
, TestObjectV8Internal::nodeAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAU
LT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToA
llScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 11552 {"nodeAttribute", TestObjectV8Internal::nodeAttributeAttributeGetterCallback
, TestObjectV8Internal::nodeAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAU
LT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToA
llScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, |
| 11663 {"attributeImplementedInCPPForPrivateScriptOnly", TestObjectV8Internal::attr
ibuteImplementedInCPPForPrivateScriptOnlyAttributeGetterCallback, TestObjectV8In
ternal::attributeImplementedInCPPForPrivateScriptOnlyAttributeSetterCallback, 0,
0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigura
tion::OnlyExposedToPrivateScript, V8DOMConfiguration::OnPrototype, V8DOMConfigur
ation::CheckHolder}, | 11553 {"attributeImplementedInCPPForPrivateScriptOnly", TestObjectV8Internal::attr
ibuteImplementedInCPPForPrivateScriptOnlyAttributeGetterCallback, TestObjectV8In
ternal::attributeImplementedInCPPForPrivateScriptOnlyAttributeSetterCallback, 0,
0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigura
tion::OnlyExposedToPrivateScript, V8DOMConfiguration::OnPrototype, V8DOMConfigur
ation::CheckHolder}, |
| 11664 {"enumForPrivateScript", TestObjectV8Internal::enumForPrivateScriptAttribute
GetterCallback, TestObjectV8Internal::enumForPrivateScriptAttributeSetterCallbac
k, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConf
iguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfigurat
ion::CheckHolder}, | 11554 {"enumForPrivateScript", TestObjectV8Internal::enumForPrivateScriptAttribute
GetterCallback, TestObjectV8Internal::enumForPrivateScriptAttributeSetterCallbac
k, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConf
iguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfigurat
ion::CheckHolder}, |
| 11665 }; | 11555 }; |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12035 V8DOMConfiguration::installMethod(isolate, world, instanceTemplate, prot
otypeTemplate, interfaceTemplate, signature, perWorldBindingsRuntimeEnabledVoidM
ethodMethodConfiguration); | 11925 V8DOMConfiguration::installMethod(isolate, world, instanceTemplate, prot
otypeTemplate, interfaceTemplate, signature, perWorldBindingsRuntimeEnabledVoidM
ethodMethodConfiguration); |
| 12036 } | 11926 } |
| 12037 if (RuntimeEnabledFeatures::featureNameEnabled()) { | 11927 if (RuntimeEnabledFeatures::featureNameEnabled()) { |
| 12038 const V8DOMConfiguration::MethodConfiguration runtimeEnabledOverloadedVo
idMethodMethodConfiguration = {"runtimeEnabledOverloadedVoidMethod", TestObjectV
8Internal::runtimeEnabledOverloadedVoidMethodMethodCallback, 0, 1, v8::None, V8D
OMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}; | 11928 const V8DOMConfiguration::MethodConfiguration runtimeEnabledOverloadedVo
idMethodMethodConfiguration = {"runtimeEnabledOverloadedVoidMethod", TestObjectV
8Internal::runtimeEnabledOverloadedVoidMethodMethodCallback, 0, 1, v8::None, V8D
OMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}; |
| 12039 V8DOMConfiguration::installMethod(isolate, world, instanceTemplate, prot
otypeTemplate, interfaceTemplate, signature, runtimeEnabledOverloadedVoidMethodM
ethodConfiguration); | 11929 V8DOMConfiguration::installMethod(isolate, world, instanceTemplate, prot
otypeTemplate, interfaceTemplate, signature, runtimeEnabledOverloadedVoidMethodM
ethodConfiguration); |
| 12040 } | 11930 } |
| 12041 const V8DOMConfiguration::MethodConfiguration partiallyRuntimeEnabledOverloa
dedVoidMethodMethodConfiguration = {"partiallyRuntimeEnabledOverloadedVoidMethod
", TestObjectV8Internal::partiallyRuntimeEnabledOverloadedVoidMethodMethodCallba
ck, 0, TestObjectV8Internal::partiallyRuntimeEnabledOverloadedVoidMethodMethodLe
ngth(), v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::O
nPrototype}; | 11931 const V8DOMConfiguration::MethodConfiguration partiallyRuntimeEnabledOverloa
dedVoidMethodMethodConfiguration = {"partiallyRuntimeEnabledOverloadedVoidMethod
", TestObjectV8Internal::partiallyRuntimeEnabledOverloadedVoidMethodMethodCallba
ck, 0, TestObjectV8Internal::partiallyRuntimeEnabledOverloadedVoidMethodMethodLe
ngth(), v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::O
nPrototype}; |
| 12042 V8DOMConfiguration::installMethod(isolate, world, instanceTemplate, prototyp
eTemplate, interfaceTemplate, signature, partiallyRuntimeEnabledOverloadedVoidMe
thodMethodConfiguration); | 11932 V8DOMConfiguration::installMethod(isolate, world, instanceTemplate, prototyp
eTemplate, interfaceTemplate, signature, partiallyRuntimeEnabledOverloadedVoidMe
thodMethodConfiguration); |
| 12043 } | 11933 } |
| 12044 | 11934 |
| 11935 |
| 11936 void V8TestObject::installFeatureName(ScriptState* scriptState, v8::Local<v8::Ob
ject> instance) |
| 11937 { |
| 11938 v8::Local<v8::Object> prototype = instance->GetPrototype()->ToObject(scriptS
tate->isolate()); |
| 11939 v8::Local<v8::Signature> signature; |
| 11940 ALLOW_UNUSED_LOCAL(signature); |
| 11941 const V8DOMConfiguration::AccessorConfiguration accessororiginTrialEnabledLo
ngAttributeConfiguration = \ |
| 11942 {"originTrialEnabledLongAttribute", TestObjectV8Internal::originTrialEna
bledLongAttributeAttributeGetterCallback, TestObjectV8Internal::originTrialEnabl
edLongAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::Pr
opertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfig
uration::OnPrototype, V8DOMConfiguration::CheckHolder}; |
| 11943 V8DOMConfiguration::installAccessor(scriptState->isolate(), scriptState->wor
ld(), instance, prototype, v8::Local<v8::Function>(), signature, accessororiginT
rialEnabledLongAttributeConfiguration); |
| 11944 const V8DOMConfiguration::AccessorConfiguration accessorunscopeableOriginTri
alEnabledLongAttributeConfiguration = \ |
| 11945 {"unscopeableOriginTrialEnabledLongAttribute", TestObjectV8Internal::uns
copeableOriginTrialEnabledLongAttributeAttributeGetterCallback, TestObjectV8Inte
rnal::unscopeableOriginTrialEnabledLongAttributeAttributeSetterCallback, 0, 0, 0
, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration:
:ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::Check
Holder}; |
| 11946 V8DOMConfiguration::installAccessor(scriptState->isolate(), scriptState->wor
ld(), instance, prototype, v8::Local<v8::Function>(), signature, accessorunscope
ableOriginTrialEnabledLongAttributeConfiguration); |
| 11947 } |
| 12045 v8::Local<v8::FunctionTemplate> V8TestObject::domTemplate(v8::Isolate* isolate,
const DOMWrapperWorld& world) | 11948 v8::Local<v8::FunctionTemplate> V8TestObject::domTemplate(v8::Isolate* isolate,
const DOMWrapperWorld& world) |
| 12046 { | 11949 { |
| 12047 return V8DOMConfiguration::domClassTemplate(isolate, world, const_cast<Wrapp
erTypeInfo*>(&wrapperTypeInfo), installV8TestObjectTemplate); | 11950 return V8DOMConfiguration::domClassTemplate(isolate, world, const_cast<Wrapp
erTypeInfo*>(&wrapperTypeInfo), installV8TestObjectTemplate); |
| 12048 } | 11951 } |
| 12049 | 11952 |
| 12050 | 11953 |
| 12051 bool V8TestObject::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* isolat
e) | 11954 bool V8TestObject::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* isolat
e) |
| 12052 { | 11955 { |
| 12053 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu
e); | 11956 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu
e); |
| 12054 } | 11957 } |
| (...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12591 ScriptState::Scope scope(scriptState); | 12494 ScriptState::Scope scope(scriptState); |
| 12592 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); | 12495 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); |
| 12593 if (holder.IsEmpty()) | 12496 if (holder.IsEmpty()) |
| 12594 return false; | 12497 return false; |
| 12595 | 12498 |
| 12596 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate
Script", "TestObject", scriptState->context()->Global(), scriptState->isolate())
; | 12499 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate
Script", "TestObject", scriptState->context()->Global(), scriptState->isolate())
; |
| 12597 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn
UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState->
isolate(), cppValue)); | 12500 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn
UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState->
isolate(), cppValue)); |
| 12598 } | 12501 } |
| 12599 | 12502 |
| 12600 } // namespace blink | 12503 } // namespace blink |
| OLD | NEW |