Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp

Issue 2005433002: [Origin Trials] Install origin trial bindings on V8 context conditionally (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@track-ef-install
Patch Set: Clean up Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 1836 matching lines...) Expand 10 before | Expand all | Expand 10 after
4573 } 4510 }
4574 4511
4575 static void unscopeableLongAttributeAttributeSetterCallback(const v8::FunctionCa llbackInfo<v8::Value>& info) 4512 static void unscopeableLongAttributeAttributeSetterCallback(const v8::FunctionCa llbackInfo<v8::Value>& info)
4576 { 4513 {
4577 v8::Local<v8::Value> v8Value = info[0]; 4514 v8::Local<v8::Value> v8Value = info[0];
4578 TestObjectV8Internal::unscopeableLongAttributeAttributeSetter(v8Value, info) ; 4515 TestObjectV8Internal::unscopeableLongAttributeAttributeSetter(v8Value, info) ;
4579 } 4516 }
4580 4517
4581 static void unscopeableOriginTrialEnabledLongAttributeAttributeGetter(const v8:: FunctionCallbackInfo<v8::Value>& info) 4518 static void unscopeableOriginTrialEnabledLongAttributeAttributeGetter(const v8:: FunctionCallbackInfo<v8::Value>& info)
4582 { 4519 {
4583 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate ());
4584 String errorMessage;
4585 if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) {
4586 v8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
4587 if (!errorMessage.isEmpty()) {
4588 executionContext->addConsoleMessage(ConsoleMessage::create(JSMessage Source, ErrorMessageLevel, errorMessage));
4589 }
4590 return;
4591 }
4592 v8::Local<v8::Object> holder = info.Holder(); 4520 v8::Local<v8::Object> holder = info.Holder();
4593 TestObject* impl = V8TestObject::toImpl(holder); 4521 TestObject* impl = V8TestObject::toImpl(holder);
4594 v8SetReturnValueInt(info, impl->unscopeableOriginTrialEnabledLongAttribute() ); 4522 v8SetReturnValueInt(info, impl->unscopeableOriginTrialEnabledLongAttribute() );
4595 } 4523 }
4596 4524
4597 static void unscopeableOriginTrialEnabledLongAttributeAttributeGetterCallback(co nst v8::FunctionCallbackInfo<v8::Value>& info) 4525 static void unscopeableOriginTrialEnabledLongAttributeAttributeGetterCallback(co nst v8::FunctionCallbackInfo<v8::Value>& info)
4598 { 4526 {
4599 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate ());
4600 String errorMessage;
4601 if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) {
4602 v8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
4603 if (!errorMessage.isEmpty()) {
4604 executionContext->addConsoleMessage(ConsoleMessage::create(JSMessage Source, ErrorMessageLevel, errorMessage));
4605 }
4606 return;
4607 }
4608 TestObjectV8Internal::unscopeableOriginTrialEnabledLongAttributeAttributeGet ter(info); 4527 TestObjectV8Internal::unscopeableOriginTrialEnabledLongAttributeAttributeGet ter(info);
4609 } 4528 }
4610 4529
4611 static void unscopeableOriginTrialEnabledLongAttributeAttributeSetter(v8::Local< v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) 4530 static void unscopeableOriginTrialEnabledLongAttributeAttributeSetter(v8::Local< v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info)
4612 { 4531 {
4613 v8::Local<v8::Object> holder = info.Holder(); 4532 v8::Local<v8::Object> holder = info.Holder();
4614 ExceptionState exceptionState(ExceptionState::SetterContext, "unscopeableOri ginTrialEnabledLongAttribute", "TestObject", holder, info.GetIsolate()); 4533 ExceptionState exceptionState(ExceptionState::SetterContext, "unscopeableOri ginTrialEnabledLongAttribute", "TestObject", holder, info.GetIsolate());
4615 TestObject* impl = V8TestObject::toImpl(holder); 4534 TestObject* impl = V8TestObject::toImpl(holder);
4616 int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, excepti onState); 4535 int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, excepti onState);
4617 if (exceptionState.throwIfNeeded()) 4536 if (exceptionState.throwIfNeeded())
(...skipping 5227 matching lines...) Expand 10 before | Expand all | Expand 10 after
9845 } 9764 }
9846 9765
9847 static void originTrialEnabledVoidMethodMethod(const v8::FunctionCallbackInfo<v8 ::Value>& info) 9766 static void originTrialEnabledVoidMethodMethod(const v8::FunctionCallbackInfo<v8 ::Value>& info)
9848 { 9767 {
9849 TestObject* impl = V8TestObject::toImpl(info.Holder()); 9768 TestObject* impl = V8TestObject::toImpl(info.Holder());
9850 impl->originTrialEnabledVoidMethod(); 9769 impl->originTrialEnabledVoidMethod();
9851 } 9770 }
9852 9771
9853 static void originTrialEnabledVoidMethodMethodCallback(const v8::FunctionCallbac kInfo<v8::Value>& info) 9772 static void originTrialEnabledVoidMethodMethodCallback(const v8::FunctionCallbac kInfo<v8::Value>& info)
9854 { 9773 {
9855 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate ());
9856 String errorMessage;
9857 if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) {
9858 v8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
9859 if (!errorMessage.isEmpty()) {
9860 executionContext->addConsoleMessage(ConsoleMessage::create(JSMessage Source, ErrorMessageLevel, errorMessage));
9861 }
9862 return;
9863 }
9864 TestObjectV8Internal::originTrialEnabledVoidMethodMethod(info); 9774 TestObjectV8Internal::originTrialEnabledVoidMethodMethod(info);
9865 } 9775 }
9866 9776
9867 static void perWorldBindingsOriginTrialEnabledVoidMethodMethod(const v8::Functio nCallbackInfo<v8::Value>& info) 9777 static void perWorldBindingsOriginTrialEnabledVoidMethodMethod(const v8::Functio nCallbackInfo<v8::Value>& info)
9868 { 9778 {
9869 TestObject* impl = V8TestObject::toImpl(info.Holder()); 9779 TestObject* impl = V8TestObject::toImpl(info.Holder());
9870 impl->perWorldBindingsOriginTrialEnabledVoidMethod(); 9780 impl->perWorldBindingsOriginTrialEnabledVoidMethod();
9871 } 9781 }
9872 9782
9873 static void perWorldBindingsOriginTrialEnabledVoidMethodMethodCallback(const v8: :FunctionCallbackInfo<v8::Value>& info) 9783 static void perWorldBindingsOriginTrialEnabledVoidMethodMethodCallback(const v8: :FunctionCallbackInfo<v8::Value>& info)
9874 { 9784 {
9875 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate ());
9876 String errorMessage;
9877 if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) {
9878 v8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
9879 if (!errorMessage.isEmpty()) {
9880 executionContext->addConsoleMessage(ConsoleMessage::create(JSMessage Source, ErrorMessageLevel, errorMessage));
9881 }
9882 return;
9883 }
9884 TestObjectV8Internal::perWorldBindingsOriginTrialEnabledVoidMethodMethod(inf o); 9785 TestObjectV8Internal::perWorldBindingsOriginTrialEnabledVoidMethodMethod(inf o);
9885 } 9786 }
9886 9787
9887 static void perWorldBindingsOriginTrialEnabledVoidMethodMethodForMainWorld(const v8::FunctionCallbackInfo<v8::Value>& info) 9788 static void perWorldBindingsOriginTrialEnabledVoidMethodMethodForMainWorld(const v8::FunctionCallbackInfo<v8::Value>& info)
9888 { 9789 {
9889 TestObject* impl = V8TestObject::toImpl(info.Holder()); 9790 TestObject* impl = V8TestObject::toImpl(info.Holder());
9890 impl->perWorldBindingsOriginTrialEnabledVoidMethod(); 9791 impl->perWorldBindingsOriginTrialEnabledVoidMethod();
9891 } 9792 }
9892 9793
9893 static void perWorldBindingsOriginTrialEnabledVoidMethodMethodCallbackForMainWor ld(const v8::FunctionCallbackInfo<v8::Value>& info) 9794 static void perWorldBindingsOriginTrialEnabledVoidMethodMethodCallbackForMainWor ld(const v8::FunctionCallbackInfo<v8::Value>& info)
9894 { 9795 {
9895 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate ());
9896 String errorMessage;
9897 if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) {
9898 v8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
9899 if (!errorMessage.isEmpty()) {
9900 executionContext->addConsoleMessage(ConsoleMessage::create(JSMessage Source, ErrorMessageLevel, errorMessage));
9901 }
9902 return;
9903 }
9904 TestObjectV8Internal::perWorldBindingsOriginTrialEnabledVoidMethodMethodForM ainWorld(info); 9796 TestObjectV8Internal::perWorldBindingsOriginTrialEnabledVoidMethodMethodForM ainWorld(info);
9905 } 9797 }
9906 9798
9907 static void originTrialEnabledOverloadedVoidMethod1Method(const v8::FunctionCall backInfo<v8::Value>& info) 9799 static void originTrialEnabledOverloadedVoidMethod1Method(const v8::FunctionCall backInfo<v8::Value>& info)
9908 { 9800 {
9909 TestObject* impl = V8TestObject::toImpl(info.Holder()); 9801 TestObject* impl = V8TestObject::toImpl(info.Holder());
9910 V8StringResource<> stringArg; 9802 V8StringResource<> stringArg;
9911 { 9803 {
9912 stringArg = info[0]; 9804 stringArg = info[0];
9913 if (!stringArg.prepare()) 9805 if (!stringArg.prepare())
(...skipping 1663 matching lines...) Expand 10 before | Expand all | Expand 10 after
11577 {"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}, 11469 {"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},
11578 {"customElementsCallbacksReadonlyLongAttribute", TestObjectV8Internal::custo mElementsCallbacksReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0, v8:: DEFAULT, static_cast<v8::PropertyAttribute>(v8::ReadOnly), V8DOMConfiguration::E xposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHo lder}, 11470 {"customElementsCallbacksReadonlyLongAttribute", TestObjectV8Internal::custo mElementsCallbacksReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0, v8:: DEFAULT, static_cast<v8::PropertyAttribute>(v8::ReadOnly), V8DOMConfiguration::E xposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHo lder},
11579 {"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}, 11471 {"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},
11580 {"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}, 11472 {"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},
11581 {"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}, 11473 {"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},
11582 {"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}, 11474 {"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},
11583 {"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}, 11475 {"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},
11584 {"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}, 11476 {"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},
11585 {"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}, 11477 {"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},
11586 {"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}, 11478 {"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},
11587 {"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},
11588 {"perWorldBindingsReadonlyTestInterfaceEmptyAttribute", TestObjectV8Internal ::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetterCallback, 0, TestObjectV8Internal::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttrib uteGetterCallbackForMainWorld, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttrib ute>(v8::ReadOnly), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration: :OnPrototype, V8DOMConfiguration::CheckHolder}, 11479 {"perWorldBindingsReadonlyTestInterfaceEmptyAttribute", TestObjectV8Internal ::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetterCallback, 0, TestObjectV8Internal::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttrib uteGetterCallbackForMainWorld, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttrib ute>(v8::ReadOnly), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration: :OnPrototype, V8DOMConfiguration::CheckHolder},
11589 {"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}, 11480 {"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},
11590 {"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}, 11481 {"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},
11591 {"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}, 11482 {"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},
11592 {"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}, 11483 {"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},
11593 {"location", TestObjectV8Internal::locationAttributeGetterCallback, TestObje ctV8Internal::locationAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast <v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DO MConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, 11484 {"location", TestObjectV8Internal::locationAttributeGetterCallback, TestObje ctV8Internal::locationAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast <v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DO MConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
11594 {"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}, 11485 {"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},
11595 {"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}, 11486 {"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},
11596 {"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}, 11487 {"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},
11597 {"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}, 11488 {"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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
11629 {"treatNullAsNullStringStringAttribute", TestObjectV8Internal::treatNullAsNu llStringStringAttributeAttributeGetterCallback, TestObjectV8Internal::treatNullA sNullStringStringAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_ cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, 11520 {"treatNullAsNullStringStringAttribute", TestObjectV8Internal::treatNullAsNu llStringStringAttributeAttributeGetterCallback, TestObjectV8Internal::treatNullA sNullStringStringAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_ cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
11630 {"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} , 11521 {"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} ,
11631 {"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}, 11522 {"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},
11632 {"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}, 11523 {"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},
11633 {"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}, 11524 {"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},
11634 {"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}, 11525 {"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},
11635 {"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}, 11526 {"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},
11636 {"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}, 11527 {"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},
11637 {"sameObjectAttribute", TestObjectV8Internal::sameObjectAttributeAttributeGe tterCallback, TestObjectV8Internal::sameObjectAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigu ration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration ::CheckHolder}, 11528 {"sameObjectAttribute", TestObjectV8Internal::sameObjectAttributeAttributeGe tterCallback, TestObjectV8Internal::sameObjectAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigu ration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration ::CheckHolder},
11638 {"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}, 11529 {"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},
11639 {"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},
11640 {"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}, 11530 {"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},
11641 {"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}, 11531 {"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},
11642 {"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}, 11532 {"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},
11643 {"readonlyShortAttribute", TestObjectV8Internal::readonlyShortAttributeAttri buteGetterCallback, 0, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>( v8::ReadOnly), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPr ototype, V8DOMConfiguration::CheckHolder}, 11533 {"readonlyShortAttribute", TestObjectV8Internal::readonlyShortAttributeAttri buteGetterCallback, 0, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>( v8::ReadOnly), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPr ototype, V8DOMConfiguration::CheckHolder},
11644 {"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}, 11534 {"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},
11645 {"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}, 11535 {"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},
11646 {"nodeAttribute", TestObjectV8Internal::nodeAttributeAttributeGetterCallback , TestObjectV8Internal::nodeAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAU LT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToA llScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, 11536 {"nodeAttribute", TestObjectV8Internal::nodeAttributeAttributeGetterCallback , TestObjectV8Internal::nodeAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAU LT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToA llScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
11647 {"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}, 11537 {"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},
11648 {"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}, 11538 {"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},
11649 }; 11539 };
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
12019 V8DOMConfiguration::installMethod(isolate, world, instanceTemplate, prot otypeTemplate, interfaceTemplate, signature, perWorldBindingsRuntimeEnabledVoidM ethodMethodConfiguration); 11909 V8DOMConfiguration::installMethod(isolate, world, instanceTemplate, prot otypeTemplate, interfaceTemplate, signature, perWorldBindingsRuntimeEnabledVoidM ethodMethodConfiguration);
12020 } 11910 }
12021 if (RuntimeEnabledFeatures::featureNameEnabled()) { 11911 if (RuntimeEnabledFeatures::featureNameEnabled()) {
12022 const V8DOMConfiguration::MethodConfiguration runtimeEnabledOverloadedVo idMethodMethodConfiguration = {"runtimeEnabledOverloadedVoidMethod", TestObjectV 8Internal::runtimeEnabledOverloadedVoidMethodMethodCallback, 0, 1, v8::None, V8D OMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}; 11912 const V8DOMConfiguration::MethodConfiguration runtimeEnabledOverloadedVo idMethodMethodConfiguration = {"runtimeEnabledOverloadedVoidMethod", TestObjectV 8Internal::runtimeEnabledOverloadedVoidMethodMethodCallback, 0, 1, v8::None, V8D OMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype};
12023 V8DOMConfiguration::installMethod(isolate, world, instanceTemplate, prot otypeTemplate, interfaceTemplate, signature, runtimeEnabledOverloadedVoidMethodM ethodConfiguration); 11913 V8DOMConfiguration::installMethod(isolate, world, instanceTemplate, prot otypeTemplate, interfaceTemplate, signature, runtimeEnabledOverloadedVoidMethodM ethodConfiguration);
12024 } 11914 }
12025 const V8DOMConfiguration::MethodConfiguration partiallyRuntimeEnabledOverloa dedVoidMethodMethodConfiguration = {"partiallyRuntimeEnabledOverloadedVoidMethod ", TestObjectV8Internal::partiallyRuntimeEnabledOverloadedVoidMethodMethodCallba ck, 0, TestObjectV8Internal::partiallyRuntimeEnabledOverloadedVoidMethodMethodLe ngth(), v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::O nPrototype}; 11915 const V8DOMConfiguration::MethodConfiguration partiallyRuntimeEnabledOverloa dedVoidMethodMethodConfiguration = {"partiallyRuntimeEnabledOverloadedVoidMethod ", TestObjectV8Internal::partiallyRuntimeEnabledOverloadedVoidMethodMethodCallba ck, 0, TestObjectV8Internal::partiallyRuntimeEnabledOverloadedVoidMethodMethodLe ngth(), v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::O nPrototype};
12026 V8DOMConfiguration::installMethod(isolate, world, instanceTemplate, prototyp eTemplate, interfaceTemplate, signature, partiallyRuntimeEnabledOverloadedVoidMe thodMethodConfiguration); 11916 V8DOMConfiguration::installMethod(isolate, world, instanceTemplate, prototyp eTemplate, interfaceTemplate, signature, partiallyRuntimeEnabledOverloadedVoidMe thodMethodConfiguration);
12027 } 11917 }
12028 11918
11919
11920 void V8TestObject::installFeatureName(v8::Isolate* isolate, const DOMWrapperWorl d& world, v8::Local<v8::Object> instance, v8::Local<v8::Function> interface)
11921 {
11922 v8::Local<v8::Signature> signature;
11923 v8::Local<v8::Object> prototype = instance->GetPrototype()->ToObject(isolate );
11924 const V8DOMConfiguration::AccessorConfiguration accessororiginTrialEnabledLo ngAttributeConfiguration = \
11925 {"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};
11926 V8DOMConfiguration::installAccessor(isolate, world, instance, prototype, int erface, signature, accessororiginTrialEnabledLongAttributeConfiguration);
11927 const V8DOMConfiguration::AccessorConfiguration accessorunscopeableOriginTri alEnabledLongAttributeConfiguration = \
11928 {"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};
11929 V8DOMConfiguration::installAccessor(isolate, world, instance, prototype, int erface, signature, accessorunscopeableOriginTrialEnabledLongAttributeConfigurati on);
11930 }
12029 v8::Local<v8::FunctionTemplate> V8TestObject::domTemplate(v8::Isolate* isolate, const DOMWrapperWorld& world) 11931 v8::Local<v8::FunctionTemplate> V8TestObject::domTemplate(v8::Isolate* isolate, const DOMWrapperWorld& world)
12030 { 11932 {
12031 return V8DOMConfiguration::domClassTemplate(isolate, world, const_cast<Wrapp erTypeInfo*>(&wrapperTypeInfo), installV8TestObjectTemplate); 11933 return V8DOMConfiguration::domClassTemplate(isolate, world, const_cast<Wrapp erTypeInfo*>(&wrapperTypeInfo), installV8TestObjectTemplate);
12032 } 11934 }
12033 11935
12034 11936
12035 bool V8TestObject::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* isolat e) 11937 bool V8TestObject::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* isolat e)
12036 { 11938 {
12037 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu e); 11939 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu e);
12038 } 11940 }
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
12575 ScriptState::Scope scope(scriptState); 12477 ScriptState::Scope scope(scriptState);
12576 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa l(), scriptState->isolate()); 12478 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa l(), scriptState->isolate());
12577 if (holder.IsEmpty()) 12479 if (holder.IsEmpty())
12578 return false; 12480 return false;
12579 12481
12580 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate Script", "TestObject", scriptState->context()->Global(), scriptState->isolate()) ; 12482 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate Script", "TestObject", scriptState->context()->Global(), scriptState->isolate()) ;
12581 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState-> isolate(), cppValue)); 12483 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState-> isolate(), cppValue));
12582 } 12484 }
12583 12485
12584 } // namespace blink 12486 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698