OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! | 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! |
6 | 6 |
7 #include "V8TestObject.h" | 7 #include "V8TestObject.h" |
8 | 8 |
9 #include "bindings/core/v8/BindingSecurity.h" | 9 #include "bindings/core/v8/BindingSecurity.h" |
10 #include "bindings/core/v8/Dictionary.h" | 10 #include "bindings/core/v8/Dictionary.h" |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 #include "bindings/core/v8/V8XPathNSResolver.h" | 53 #include "bindings/core/v8/V8XPathNSResolver.h" |
54 #include "core/HTMLNames.h" | 54 #include "core/HTMLNames.h" |
55 #include "core/dom/ClassCollection.h" | 55 #include "core/dom/ClassCollection.h" |
56 #include "core/dom/ContextFeatures.h" | 56 #include "core/dom/ContextFeatures.h" |
57 #include "core/dom/DOMArrayBuffer.h" | 57 #include "core/dom/DOMArrayBuffer.h" |
58 #include "core/dom/Document.h" | 58 #include "core/dom/Document.h" |
59 #include "core/dom/FlexibleArrayBufferView.h" | 59 #include "core/dom/FlexibleArrayBufferView.h" |
60 #include "core/dom/MessagePort.h" | 60 #include "core/dom/MessagePort.h" |
61 #include "core/dom/TagCollection.h" | 61 #include "core/dom/TagCollection.h" |
62 #include "core/dom/custom/CustomElementProcessingStack.h" | 62 #include "core/dom/custom/CustomElementProcessingStack.h" |
| 63 #include "core/experiments/ExperimentalFeatures.h" |
63 #include "core/frame/ImageBitmap.h" | 64 #include "core/frame/ImageBitmap.h" |
64 #include "core/frame/LocalFrame.h" | 65 #include "core/frame/LocalFrame.h" |
65 #include "core/frame/UseCounter.h" | 66 #include "core/frame/UseCounter.h" |
66 #include "core/html/HTMLCollection.h" | 67 #include "core/html/HTMLCollection.h" |
67 #include "core/html/HTMLDataListOptionsCollection.h" | 68 #include "core/html/HTMLDataListOptionsCollection.h" |
68 #include "core/html/HTMLFormControlsCollection.h" | 69 #include "core/html/HTMLFormControlsCollection.h" |
69 #include "core/html/HTMLTableRowsCollection.h" | 70 #include "core/html/HTMLTableRowsCollection.h" |
70 #include "core/inspector/ConsoleMessage.h" | 71 #include "core/inspector/ConsoleMessage.h" |
71 #include "core/inspector/ScriptArguments.h" | 72 #include "core/inspector/ScriptArguments.h" |
72 #include "platform/RuntimeEnabledFeatures.h" | 73 #include "platform/RuntimeEnabledFeatures.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 } | 106 } |
106 | 107 |
107 static void MEASURED_CONSTANTConstantGetterCallback(v8::Local<v8::Name>, const v
8::PropertyCallbackInfo<v8::Value>& info) | 108 static void MEASURED_CONSTANTConstantGetterCallback(v8::Local<v8::Name>, const v
8::PropertyCallbackInfo<v8::Value>& info) |
108 { | 109 { |
109 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); | 110 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); |
110 UseCounter::countIfNotPrivateScript(info.GetIsolate(), callingExecutionConte
xt(info.GetIsolate()), UseCounter::Constant); | 111 UseCounter::countIfNotPrivateScript(info.GetIsolate(), callingExecutionConte
xt(info.GetIsolate()), UseCounter::Constant); |
111 v8SetReturnValueInt(info, 1); | 112 v8SetReturnValueInt(info, 1); |
112 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 113 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
113 } | 114 } |
114 | 115 |
| 116 static void FEATURE1_RUNTIME_AND_EXPERIMENT_ENABLED_CONST1ConstantGetterCallback
(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 117 { |
| 118 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); |
| 119 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); |
| 120 String memberErrorMessage; |
| 121 if (!ExperimentalFeatures::featureName1Enabled(executionContext, memberError
Message)) { |
| 122 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
| 123 toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(
JSMessageSource, ErrorMessageLevel, memberErrorMessage)); |
| 124 return; |
| 125 } |
| 126 v8SetReturnValueInt(info, 1); |
| 127 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 128 } |
| 129 |
| 130 static void FEATURE1_RUNTIME_AND_EXPERIMENT_ENABLED_CONST2ConstantGetterCallback
(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 131 { |
| 132 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); |
| 133 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); |
| 134 String memberErrorMessage; |
| 135 if (!ExperimentalFeatures::featureName1Enabled(executionContext, memberError
Message)) { |
| 136 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
| 137 toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(
JSMessageSource, ErrorMessageLevel, memberErrorMessage)); |
| 138 return; |
| 139 } |
| 140 v8SetReturnValueInt(info, 2); |
| 141 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 142 } |
| 143 |
| 144 static void FEATURE2_RUNTIME_AND_EXPERIMENT_ENABLED_CONST1ConstantGetterCallback
(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 145 { |
| 146 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); |
| 147 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); |
| 148 String memberErrorMessage; |
| 149 if (!ExperimentalFeatures::featureName2Enabled(executionContext, memberError
Message)) { |
| 150 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
| 151 toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(
JSMessageSource, ErrorMessageLevel, memberErrorMessage)); |
| 152 return; |
| 153 } |
| 154 v8SetReturnValueInt(info, 3); |
| 155 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 156 } |
| 157 |
| 158 static void FEATURE2_RUNTIME_AND_EXPERIMENT_ENABLED_CONST2ConstantGetterCallback
(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 159 { |
| 160 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); |
| 161 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); |
| 162 String memberErrorMessage; |
| 163 if (!ExperimentalFeatures::featureName2Enabled(executionContext, memberError
Message)) { |
| 164 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
| 165 toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(
JSMessageSource, ErrorMessageLevel, memberErrorMessage)); |
| 166 return; |
| 167 } |
| 168 v8SetReturnValueInt(info, 4); |
| 169 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 170 } |
| 171 |
| 172 static void FEATURE3_RUNTIME_AND_EXPERIMENT_ENABLED_CONST1ConstantGetterCallback
(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 173 { |
| 174 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); |
| 175 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); |
| 176 String memberErrorMessage; |
| 177 if (!ExperimentalFeatures::featureName3Enabled(executionContext, memberError
Message)) { |
| 178 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
| 179 toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(
JSMessageSource, ErrorMessageLevel, memberErrorMessage)); |
| 180 return; |
| 181 } |
| 182 v8SetReturnValueInt(info, 5); |
| 183 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 184 } |
| 185 |
115 template<class CallbackInfo> | 186 template<class CallbackInfo> |
116 static bool TestObjectCreateDataProperty(v8::Local<v8::Name> name, v8::Local<v8:
:Value> v8Value, const CallbackInfo& info) | 187 static bool TestObjectCreateDataProperty(v8::Local<v8::Name> name, v8::Local<v8:
:Value> v8Value, const CallbackInfo& info) |
117 { | 188 { |
118 ASSERT(info.This()->IsObject()); | 189 ASSERT(info.This()->IsObject()); |
119 return v8CallBoolean(v8::Local<v8::Object>::Cast(info.This())->CreateDataPro
perty(info.GetIsolate()->GetCurrentContext(), name, v8Value)); | 190 return v8CallBoolean(v8::Local<v8::Object>::Cast(info.This())->CreateDataPro
perty(info.GetIsolate()->GetCurrentContext(), name, v8Value)); |
120 } | 191 } |
121 | 192 |
122 static void TestObjectConstructorAttributeSetterCallback(v8::Local<v8::Name>, v8
::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) | 193 static void TestObjectConstructorAttributeSetterCallback(v8::Local<v8::Name>, v8
::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
123 { | 194 { |
124 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); | 195 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); |
(...skipping 2722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2847 } | 2918 } |
2848 | 2919 |
2849 static void enforceRangeLongAttributeAttributeSetterCallback(const v8::FunctionC
allbackInfo<v8::Value>& info) | 2920 static void enforceRangeLongAttributeAttributeSetterCallback(const v8::FunctionC
allbackInfo<v8::Value>& info) |
2850 { | 2921 { |
2851 v8::Local<v8::Value> v8Value = info[0]; | 2922 v8::Local<v8::Value> v8Value = info[0]; |
2852 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); | 2923 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); |
2853 TestObjectV8Internal::enforceRangeLongAttributeAttributeSetter(v8Value, info
); | 2924 TestObjectV8Internal::enforceRangeLongAttributeAttributeSetter(v8Value, info
); |
2854 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 2925 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
2855 } | 2926 } |
2856 | 2927 |
| 2928 static void experimentRuntimeEnabledLongAttributeAttributeGetter(const v8::Funct
ionCallbackInfo<v8::Value>& info) |
| 2929 { |
| 2930 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); |
| 2931 String memberErrorMessage; |
| 2932 if (!ExperimentalFeatures::featureNameEnabled(executionContext, memberErrorM
essage)) { |
| 2933 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
| 2934 toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(
JSMessageSource, ErrorMessageLevel, memberErrorMessage)); |
| 2935 return; |
| 2936 } |
| 2937 v8::Local<v8::Object> holder = info.Holder(); |
| 2938 TestObject* impl = V8TestObject::toImpl(holder); |
| 2939 v8SetReturnValueInt(info, impl->experimentRuntimeEnabledLongAttribute()); |
| 2940 } |
| 2941 |
| 2942 static void experimentRuntimeEnabledLongAttributeAttributeGetterCallback(const v
8::FunctionCallbackInfo<v8::Value>& info) |
| 2943 { |
| 2944 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); |
| 2945 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); |
| 2946 String memberErrorMessage; |
| 2947 if (!ExperimentalFeatures::featureNameEnabled(executionContext, memberErrorM
essage)) { |
| 2948 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
| 2949 toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(
JSMessageSource, ErrorMessageLevel, memberErrorMessage)); |
| 2950 return; |
| 2951 } |
| 2952 TestObjectV8Internal::experimentRuntimeEnabledLongAttributeAttributeGetter(i
nfo); |
| 2953 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 2954 } |
| 2955 |
| 2956 static void experimentRuntimeEnabledLongAttributeAttributeSetter(v8::Local<v8::V
alue> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) |
| 2957 { |
| 2958 v8::Local<v8::Object> holder = info.Holder(); |
| 2959 ExceptionState exceptionState(ExceptionState::SetterContext, "experimentRunt
imeEnabledLongAttribute", "TestObject", holder, info.GetIsolate()); |
| 2960 TestObject* impl = V8TestObject::toImpl(holder); |
| 2961 int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, excepti
onState); |
| 2962 if (exceptionState.throwIfNeeded()) |
| 2963 return; |
| 2964 impl->setExperimentRuntimeEnabledLongAttribute(cppValue); |
| 2965 } |
| 2966 |
| 2967 static void experimentRuntimeEnabledLongAttributeAttributeSetterCallback(const v
8::FunctionCallbackInfo<v8::Value>& info) |
| 2968 { |
| 2969 v8::Local<v8::Value> v8Value = info[0]; |
| 2970 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); |
| 2971 TestObjectV8Internal::experimentRuntimeEnabledLongAttributeAttributeSetter(v
8Value, info); |
| 2972 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 2973 } |
| 2974 |
| 2975 #if ENABLE(CONDITION) |
| 2976 static void experimentConditionalRuntimeEnabledLongAttributeAttributeGetter(cons
t v8::FunctionCallbackInfo<v8::Value>& info) |
| 2977 { |
| 2978 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); |
| 2979 String memberErrorMessage; |
| 2980 if (!ExperimentalFeatures::featureNameEnabled(executionContext, memberErrorM
essage)) { |
| 2981 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
| 2982 toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(
JSMessageSource, ErrorMessageLevel, memberErrorMessage)); |
| 2983 return; |
| 2984 } |
| 2985 v8::Local<v8::Object> holder = info.Holder(); |
| 2986 TestObject* impl = V8TestObject::toImpl(holder); |
| 2987 v8SetReturnValueInt(info, impl->experimentConditionalRuntimeEnabledLongAttri
bute()); |
| 2988 } |
| 2989 #endif // ENABLE(CONDITION) |
| 2990 |
| 2991 #if ENABLE(CONDITION) |
| 2992 static void experimentConditionalRuntimeEnabledLongAttributeAttributeGetterCallb
ack(const v8::FunctionCallbackInfo<v8::Value>& info) |
| 2993 { |
| 2994 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); |
| 2995 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); |
| 2996 String memberErrorMessage; |
| 2997 if (!ExperimentalFeatures::featureNameEnabled(executionContext, memberErrorM
essage)) { |
| 2998 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
| 2999 toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(
JSMessageSource, ErrorMessageLevel, memberErrorMessage)); |
| 3000 return; |
| 3001 } |
| 3002 TestObjectV8Internal::experimentConditionalRuntimeEnabledLongAttributeAttrib
uteGetter(info); |
| 3003 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 3004 } |
| 3005 #endif // ENABLE(CONDITION) |
| 3006 |
| 3007 #if ENABLE(CONDITION) |
| 3008 static void experimentConditionalRuntimeEnabledLongAttributeAttributeSetter(v8::
Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) |
| 3009 { |
| 3010 v8::Local<v8::Object> holder = info.Holder(); |
| 3011 ExceptionState exceptionState(ExceptionState::SetterContext, "experimentCond
itionalRuntimeEnabledLongAttribute", "TestObject", holder, info.GetIsolate()); |
| 3012 TestObject* impl = V8TestObject::toImpl(holder); |
| 3013 int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, excepti
onState); |
| 3014 if (exceptionState.throwIfNeeded()) |
| 3015 return; |
| 3016 impl->setExperimentConditionalRuntimeEnabledLongAttribute(cppValue); |
| 3017 } |
| 3018 #endif // ENABLE(CONDITION) |
| 3019 |
| 3020 #if ENABLE(CONDITION) |
| 3021 static void experimentConditionalRuntimeEnabledLongAttributeAttributeSetterCallb
ack(const v8::FunctionCallbackInfo<v8::Value>& info) |
| 3022 { |
| 3023 v8::Local<v8::Value> v8Value = info[0]; |
| 3024 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); |
| 3025 TestObjectV8Internal::experimentConditionalRuntimeEnabledLongAttributeAttrib
uteSetter(v8Value, info); |
| 3026 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 3027 } |
| 3028 #endif // ENABLE(CONDITION) |
| 3029 |
2857 static void implementedAsLongAttributeAttributeGetter(const v8::FunctionCallback
Info<v8::Value>& info) | 3030 static void implementedAsLongAttributeAttributeGetter(const v8::FunctionCallback
Info<v8::Value>& info) |
2858 { | 3031 { |
2859 v8::Local<v8::Object> holder = info.Holder(); | 3032 v8::Local<v8::Object> holder = info.Holder(); |
2860 TestObject* impl = V8TestObject::toImpl(holder); | 3033 TestObject* impl = V8TestObject::toImpl(holder); |
2861 v8SetReturnValueInt(info, impl->implementedAsName()); | 3034 v8SetReturnValueInt(info, impl->implementedAsName()); |
2862 } | 3035 } |
2863 | 3036 |
2864 static void implementedAsLongAttributeAttributeGetterCallback(const v8::Function
CallbackInfo<v8::Value>& info) | 3037 static void implementedAsLongAttributeAttributeGetterCallback(const v8::Function
CallbackInfo<v8::Value>& info) |
2865 { | 3038 { |
2866 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); | 3039 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); |
(...skipping 2529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5396 } | 5569 } |
5397 | 5570 |
5398 static void unscopeableLongAttributeAttributeSetterCallback(const v8::FunctionCa
llbackInfo<v8::Value>& info) | 5571 static void unscopeableLongAttributeAttributeSetterCallback(const v8::FunctionCa
llbackInfo<v8::Value>& info) |
5399 { | 5572 { |
5400 v8::Local<v8::Value> v8Value = info[0]; | 5573 v8::Local<v8::Value> v8Value = info[0]; |
5401 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); | 5574 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); |
5402 TestObjectV8Internal::unscopeableLongAttributeAttributeSetter(v8Value, info)
; | 5575 TestObjectV8Internal::unscopeableLongAttributeAttributeSetter(v8Value, info)
; |
5403 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 5576 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
5404 } | 5577 } |
5405 | 5578 |
| 5579 static void unscopeableExperimentEnabledLongAttributeAttributeGetter(const v8::F
unctionCallbackInfo<v8::Value>& info) |
| 5580 { |
| 5581 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); |
| 5582 String memberErrorMessage; |
| 5583 if (!ExperimentalFeatures::featureNameEnabled(executionContext, memberErrorM
essage)) { |
| 5584 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
| 5585 toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(
JSMessageSource, ErrorMessageLevel, memberErrorMessage)); |
| 5586 return; |
| 5587 } |
| 5588 v8::Local<v8::Object> holder = info.Holder(); |
| 5589 TestObject* impl = V8TestObject::toImpl(holder); |
| 5590 v8SetReturnValueInt(info, impl->unscopeableExperimentEnabledLongAttribute())
; |
| 5591 } |
| 5592 |
| 5593 static void unscopeableExperimentEnabledLongAttributeAttributeGetterCallback(con
st v8::FunctionCallbackInfo<v8::Value>& info) |
| 5594 { |
| 5595 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); |
| 5596 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); |
| 5597 String memberErrorMessage; |
| 5598 if (!ExperimentalFeatures::featureNameEnabled(executionContext, memberErrorM
essage)) { |
| 5599 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
| 5600 toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(
JSMessageSource, ErrorMessageLevel, memberErrorMessage)); |
| 5601 return; |
| 5602 } |
| 5603 TestObjectV8Internal::unscopeableExperimentEnabledLongAttributeAttributeGett
er(info); |
| 5604 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 5605 } |
| 5606 |
| 5607 static void unscopeableExperimentEnabledLongAttributeAttributeSetter(v8::Local<v
8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) |
| 5608 { |
| 5609 v8::Local<v8::Object> holder = info.Holder(); |
| 5610 ExceptionState exceptionState(ExceptionState::SetterContext, "unscopeableExp
erimentEnabledLongAttribute", "TestObject", holder, info.GetIsolate()); |
| 5611 TestObject* impl = V8TestObject::toImpl(holder); |
| 5612 int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, excepti
onState); |
| 5613 if (exceptionState.throwIfNeeded()) |
| 5614 return; |
| 5615 impl->setUnscopeableExperimentEnabledLongAttribute(cppValue); |
| 5616 } |
| 5617 |
| 5618 static void unscopeableExperimentEnabledLongAttributeAttributeSetterCallback(con
st v8::FunctionCallbackInfo<v8::Value>& info) |
| 5619 { |
| 5620 v8::Local<v8::Value> v8Value = info[0]; |
| 5621 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); |
| 5622 TestObjectV8Internal::unscopeableExperimentEnabledLongAttributeAttributeSett
er(v8Value, info); |
| 5623 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 5624 } |
| 5625 |
5406 static void unscopeableRuntimeEnabledLongAttributeAttributeGetter(const v8::Func
tionCallbackInfo<v8::Value>& info) | 5626 static void unscopeableRuntimeEnabledLongAttributeAttributeGetter(const v8::Func
tionCallbackInfo<v8::Value>& info) |
5407 { | 5627 { |
5408 v8::Local<v8::Object> holder = info.Holder(); | 5628 v8::Local<v8::Object> holder = info.Holder(); |
5409 TestObject* impl = V8TestObject::toImpl(holder); | 5629 TestObject* impl = V8TestObject::toImpl(holder); |
5410 v8SetReturnValueInt(info, impl->unscopeableRuntimeEnabledLongAttribute()); | 5630 v8SetReturnValueInt(info, impl->unscopeableRuntimeEnabledLongAttribute()); |
5411 } | 5631 } |
5412 | 5632 |
5413 static void unscopeableRuntimeEnabledLongAttributeAttributeGetterCallback(const
v8::FunctionCallbackInfo<v8::Value>& info) | 5633 static void unscopeableRuntimeEnabledLongAttributeAttributeGetterCallback(const
v8::FunctionCallbackInfo<v8::Value>& info) |
5414 { | 5634 { |
5415 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); | 5635 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); |
(...skipping 5286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10702 impl->doNotCheckSignatureVoidMethod(); | 10922 impl->doNotCheckSignatureVoidMethod(); |
10703 } | 10923 } |
10704 | 10924 |
10705 static void doNotCheckSignatureVoidMethodMethodCallback(const v8::FunctionCallba
ckInfo<v8::Value>& info) | 10925 static void doNotCheckSignatureVoidMethodMethodCallback(const v8::FunctionCallba
ckInfo<v8::Value>& info) |
10706 { | 10926 { |
10707 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); | 10927 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); |
10708 TestObjectV8Internal::doNotCheckSignatureVoidMethodMethod(info); | 10928 TestObjectV8Internal::doNotCheckSignatureVoidMethodMethod(info); |
10709 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 10929 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
10710 } | 10930 } |
10711 | 10931 |
| 10932 static void experimentEnabledVoidMethodMethod(const v8::FunctionCallbackInfo<v8:
:Value>& info) |
| 10933 { |
| 10934 TestObject* impl = V8TestObject::toImpl(info.Holder()); |
| 10935 impl->experimentEnabledVoidMethod(); |
| 10936 } |
| 10937 |
| 10938 static void experimentEnabledVoidMethodMethodCallback(const v8::FunctionCallback
Info<v8::Value>& info) |
| 10939 { |
| 10940 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); |
| 10941 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); |
| 10942 String memberErrorMessage; |
| 10943 if (!ExperimentalFeatures::featureName1Enabled(executionContext, memberError
Message)) { |
| 10944 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
| 10945 toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(
JSMessageSource, ErrorMessageLevel, memberErrorMessage)); |
| 10946 return; |
| 10947 } |
| 10948 TestObjectV8Internal::experimentEnabledVoidMethodMethod(info); |
| 10949 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 10950 } |
| 10951 |
| 10952 static void perWorldBindingsExperimentEnabledVoidMethodMethod(const v8::Function
CallbackInfo<v8::Value>& info) |
| 10953 { |
| 10954 TestObject* impl = V8TestObject::toImpl(info.Holder()); |
| 10955 impl->perWorldBindingsExperimentEnabledVoidMethod(); |
| 10956 } |
| 10957 |
| 10958 static void perWorldBindingsExperimentEnabledVoidMethodMethodCallback(const v8::
FunctionCallbackInfo<v8::Value>& info) |
| 10959 { |
| 10960 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); |
| 10961 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); |
| 10962 String memberErrorMessage; |
| 10963 if (!ExperimentalFeatures::featureName1Enabled(executionContext, memberError
Message)) { |
| 10964 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
| 10965 toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(
JSMessageSource, ErrorMessageLevel, memberErrorMessage)); |
| 10966 return; |
| 10967 } |
| 10968 TestObjectV8Internal::perWorldBindingsExperimentEnabledVoidMethodMethod(info
); |
| 10969 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 10970 } |
| 10971 |
| 10972 static void perWorldBindingsExperimentEnabledVoidMethodMethodForMainWorld(const
v8::FunctionCallbackInfo<v8::Value>& info) |
| 10973 { |
| 10974 TestObject* impl = V8TestObject::toImpl(info.Holder()); |
| 10975 impl->perWorldBindingsExperimentEnabledVoidMethod(); |
| 10976 } |
| 10977 |
| 10978 static void perWorldBindingsExperimentEnabledVoidMethodMethodCallbackForMainWorl
d(const v8::FunctionCallbackInfo<v8::Value>& info) |
| 10979 { |
| 10980 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); |
| 10981 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); |
| 10982 String memberErrorMessage; |
| 10983 if (!ExperimentalFeatures::featureName1Enabled(executionContext, memberError
Message)) { |
| 10984 v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
| 10985 toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(
JSMessageSource, ErrorMessageLevel, memberErrorMessage)); |
| 10986 return; |
| 10987 } |
| 10988 TestObjectV8Internal::perWorldBindingsExperimentEnabledVoidMethodMethodForMa
inWorld(info); |
| 10989 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 10990 } |
| 10991 |
| 10992 static void experimentEnabledOverloadedVoidMethod1Method(const v8::FunctionCallb
ackInfo<v8::Value>& info) |
| 10993 { |
| 10994 TestObject* impl = V8TestObject::toImpl(info.Holder()); |
| 10995 V8StringResource<> stringArg; |
| 10996 { |
| 10997 stringArg = info[0]; |
| 10998 if (!stringArg.prepare()) |
| 10999 return; |
| 11000 } |
| 11001 impl->experimentEnabledOverloadedVoidMethod(stringArg); |
| 11002 } |
| 11003 |
| 11004 static void experimentEnabledOverloadedVoidMethod2Method(const v8::FunctionCallb
ackInfo<v8::Value>& info) |
| 11005 { |
| 11006 ExceptionState exceptionState(ExceptionState::ExecutionContext, "experimentE
nabledOverloadedVoidMethod", "TestObject", info.Holder(), info.GetIsolate()); |
| 11007 TestObject* impl = V8TestObject::toImpl(info.Holder()); |
| 11008 int longArg; |
| 11009 { |
| 11010 longArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptio
nState); |
| 11011 if (exceptionState.throwIfNeeded()) |
| 11012 return; |
| 11013 } |
| 11014 impl->experimentEnabledOverloadedVoidMethod(longArg); |
| 11015 } |
| 11016 |
| 11017 static void experimentEnabledOverloadedVoidMethodMethod(const v8::FunctionCallba
ckInfo<v8::Value>& info) |
| 11018 { |
| 11019 ExceptionState exceptionState(ExceptionState::ExecutionContext, "experimentE
nabledOverloadedVoidMethod", "TestObject", info.Holder(), info.GetIsolate()); |
| 11020 switch (std::min(1, info.Length())) { |
| 11021 case 1: |
| 11022 if (info[0]->IsNumber()) { |
| 11023 experimentEnabledOverloadedVoidMethod2Method(info); |
| 11024 return; |
| 11025 } |
| 11026 if (true) { |
| 11027 experimentEnabledOverloadedVoidMethod1Method(info); |
| 11028 return; |
| 11029 } |
| 11030 if (true) { |
| 11031 experimentEnabledOverloadedVoidMethod2Method(info); |
| 11032 return; |
| 11033 } |
| 11034 break; |
| 11035 default: |
| 11036 break; |
| 11037 } |
| 11038 if (info.Length() < 1) { |
| 11039 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i
nfo.Length())); |
| 11040 exceptionState.throwIfNeeded(); |
| 11041 return; |
| 11042 } |
| 11043 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); |
| 11044 exceptionState.throwIfNeeded(); |
| 11045 return; |
| 11046 } |
| 11047 |
| 11048 static void experimentEnabledOverloadedVoidMethodMethodCallback(const v8::Functi
onCallbackInfo<v8::Value>& info) |
| 11049 { |
| 11050 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); |
| 11051 TestObjectV8Internal::experimentEnabledOverloadedVoidMethodMethod(info); |
| 11052 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 11053 } |
| 11054 |
| 11055 static void partiallyExperimentEnabledOverloadedVoidMethod1Method(const v8::Func
tionCallbackInfo<v8::Value>& info) |
| 11056 { |
| 11057 TestObject* impl = V8TestObject::toImpl(info.Holder()); |
| 11058 V8StringResource<> stringArg; |
| 11059 { |
| 11060 stringArg = info[0]; |
| 11061 if (!stringArg.prepare()) |
| 11062 return; |
| 11063 } |
| 11064 impl->partiallyExperimentEnabledOverloadedVoidMethod(stringArg); |
| 11065 } |
| 11066 |
| 11067 static void partiallyExperimentEnabledOverloadedVoidMethod2Method(const v8::Func
tionCallbackInfo<v8::Value>& info) |
| 11068 { |
| 11069 TestObject* impl = V8TestObject::toImpl(info.Holder()); |
| 11070 TestInterfaceImplementation* testInterfaceArg; |
| 11071 { |
| 11072 testInterfaceArg = V8TestInterface::toImplWithTypeCheck(info.GetIsolate(
), info[0]); |
| 11073 if (!testInterfaceArg) { |
| 11074 V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessage
s::failedToExecute("partiallyExperimentEnabledOverloadedVoidMethod", "TestObject
", "parameter 1 is not of type 'TestInterface'.")); |
| 11075 return; |
| 11076 } |
| 11077 } |
| 11078 impl->partiallyExperimentEnabledOverloadedVoidMethod(testInterfaceArg); |
| 11079 } |
| 11080 |
| 11081 static void partiallyExperimentEnabledOverloadedVoidMethod3Method(const v8::Func
tionCallbackInfo<v8::Value>& info) |
| 11082 { |
| 11083 ExceptionState exceptionState(ExceptionState::ExecutionContext, "partiallyEx
perimentEnabledOverloadedVoidMethod", "TestObject", info.Holder(), info.GetIsola
te()); |
| 11084 TestObject* impl = V8TestObject::toImpl(info.Holder()); |
| 11085 int longArg; |
| 11086 V8StringResource<> stringArg; |
| 11087 { |
| 11088 longArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptio
nState); |
| 11089 if (exceptionState.throwIfNeeded()) |
| 11090 return; |
| 11091 stringArg = info[1]; |
| 11092 if (!stringArg.prepare()) |
| 11093 return; |
| 11094 } |
| 11095 impl->partiallyExperimentEnabledOverloadedVoidMethod(longArg, stringArg); |
| 11096 } |
| 11097 |
| 11098 static void partiallyExperimentEnabledOverloadedVoidMethod4Method(const v8::Func
tionCallbackInfo<v8::Value>& info) |
| 11099 { |
| 11100 ExceptionState exceptionState(ExceptionState::ExecutionContext, "partiallyEx
perimentEnabledOverloadedVoidMethod", "TestObject", info.Holder(), info.GetIsola
te()); |
| 11101 TestObject* impl = V8TestObject::toImpl(info.Holder()); |
| 11102 int longArg; |
| 11103 V8StringResource<> stringArg; |
| 11104 TestInterfaceImplementation* testInterfaceArg; |
| 11105 { |
| 11106 longArg = toInt32(info.GetIsolate(), info[0], NormalConversion, exceptio
nState); |
| 11107 if (exceptionState.throwIfNeeded()) |
| 11108 return; |
| 11109 stringArg = info[1]; |
| 11110 if (!stringArg.prepare()) |
| 11111 return; |
| 11112 testInterfaceArg = V8TestInterface::toImplWithTypeCheck(info.GetIsolate(
), info[2]); |
| 11113 if (!testInterfaceArg) { |
| 11114 exceptionState.throwTypeError("parameter 3 is not of type 'TestInter
face'."); |
| 11115 exceptionState.throwIfNeeded(); |
| 11116 return; |
| 11117 } |
| 11118 } |
| 11119 impl->partiallyExperimentEnabledOverloadedVoidMethod(longArg, stringArg, tes
tInterfaceArg); |
| 11120 } |
| 11121 |
| 11122 static void partiallyExperimentEnabledOverloadedVoidMethodMethod(const v8::Funct
ionCallbackInfo<v8::Value>& info) |
| 11123 { |
| 11124 ExceptionState exceptionState(ExceptionState::ExecutionContext, "partiallyEx
perimentEnabledOverloadedVoidMethod", "TestObject", info.Holder(), info.GetIsola
te()); |
| 11125 switch (std::min(3, info.Length())) { |
| 11126 case 1: |
| 11127 if (V8TestInterface::hasInstance(info[0], info.GetIsolate())) { |
| 11128 partiallyExperimentEnabledOverloadedVoidMethod2Method(info); |
| 11129 return; |
| 11130 } |
| 11131 if (true) { |
| 11132 partiallyExperimentEnabledOverloadedVoidMethod1Method(info); |
| 11133 return; |
| 11134 } |
| 11135 break; |
| 11136 case 2: |
| 11137 if (true) { |
| 11138 partiallyExperimentEnabledOverloadedVoidMethod3Method(info); |
| 11139 return; |
| 11140 } |
| 11141 break; |
| 11142 case 3: |
| 11143 if (true) { |
| 11144 partiallyExperimentEnabledOverloadedVoidMethod4Method(info); |
| 11145 return; |
| 11146 } |
| 11147 break; |
| 11148 default: |
| 11149 break; |
| 11150 } |
| 11151 if (info.Length() < 1) { |
| 11152 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i
nfo.Length())); |
| 11153 exceptionState.throwIfNeeded(); |
| 11154 return; |
| 11155 } |
| 11156 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); |
| 11157 exceptionState.throwIfNeeded(); |
| 11158 return; |
| 11159 } |
| 11160 |
| 11161 static void partiallyExperimentEnabledOverloadedVoidMethodMethodCallback(const v
8::FunctionCallbackInfo<v8::Value>& info) |
| 11162 { |
| 11163 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); |
| 11164 TestObjectV8Internal::partiallyExperimentEnabledOverloadedVoidMethodMethod(i
nfo); |
| 11165 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 11166 } |
| 11167 |
10712 static void implementedAsVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Val
ue>& info) | 11168 static void implementedAsVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Val
ue>& info) |
10713 { | 11169 { |
10714 TestObject* impl = V8TestObject::toImpl(info.Holder()); | 11170 TestObject* impl = V8TestObject::toImpl(info.Holder()); |
10715 impl->implementedAsMethodName(); | 11171 impl->implementedAsMethodName(); |
10716 } | 11172 } |
10717 | 11173 |
10718 static void implementedAsVoidMethodMethodCallback(const v8::FunctionCallbackInfo
<v8::Value>& info) | 11174 static void implementedAsVoidMethodMethodCallback(const v8::FunctionCallbackInfo
<v8::Value>& info) |
10719 { | 11175 { |
10720 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); | 11176 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); |
10721 TestObjectV8Internal::implementedAsVoidMethodMethod(info); | 11177 TestObjectV8Internal::implementedAsVoidMethodMethod(info); |
(...skipping 2195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12917 {"customObjectAttribute", TestObjectV8Internal::customObjectAttributeAttribu
teGetterCallback, TestObjectV8Internal::customObjectAttributeAttributeSetterCall
back, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMC
onfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfigu
ration::CheckHolder}, | 13373 {"customObjectAttribute", TestObjectV8Internal::customObjectAttributeAttribu
teGetterCallback, TestObjectV8Internal::customObjectAttributeAttributeSetterCall
back, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMC
onfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfigu
ration::CheckHolder}, |
12918 {"customGetterLongAttribute", TestObjectV8Internal::customGetterLongAttribut
eAttributeGetterCallback, TestObjectV8Internal::customGetterLongAttributeAttribu
teSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::N
one), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype,
V8DOMConfiguration::CheckHolder}, | 13374 {"customGetterLongAttribute", TestObjectV8Internal::customGetterLongAttribut
eAttributeGetterCallback, TestObjectV8Internal::customGetterLongAttributeAttribu
teSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::N
one), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype,
V8DOMConfiguration::CheckHolder}, |
12919 {"customGetterReadonlyObjectAttribute", TestObjectV8Internal::customGetterRe
adonlyObjectAttributeAttributeGetterCallback, 0, 0, 0, 0, v8::DEFAULT, static_ca
st<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8
DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 13375 {"customGetterReadonlyObjectAttribute", TestObjectV8Internal::customGetterRe
adonlyObjectAttributeAttributeGetterCallback, 0, 0, 0, 0, v8::DEFAULT, static_ca
st<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8
DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, |
12920 {"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}, | 13376 {"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}, |
12921 #if ENABLE(CONDITION) | 13377 #if ENABLE(CONDITION) |
12922 {"customLongAttribute", TestObjectV8Internal::customLongAttributeAttributeGe
tterCallback, TestObjectV8Internal::customLongAttributeAttributeSetterCallback,
0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigu
ration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration
::CheckHolder}, | 13378 {"customLongAttribute", TestObjectV8Internal::customLongAttributeAttributeGe
tterCallback, TestObjectV8Internal::customLongAttributeAttributeSetterCallback,
0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigu
ration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration
::CheckHolder}, |
12923 #endif // ENABLE(CONDITION) | 13379 #endif // ENABLE(CONDITION) |
12924 {"customElementsCallbacksReadonlyLongAttribute", TestObjectV8Internal::custo
mElementsCallbacksReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0, v8::
DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Expos
edToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder
}, | 13380 {"customElementsCallbacksReadonlyLongAttribute", TestObjectV8Internal::custo
mElementsCallbacksReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0, v8::
DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Expos
edToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder
}, |
12925 {"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}, | 13381 {"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}, |
12926 {"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}, | 13382 {"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}, |
| 13383 {"experimentRuntimeEnabledLongAttribute", TestObjectV8Internal::experimentRu
ntimeEnabledLongAttributeAttributeGetterCallback, TestObjectV8Internal::experime
ntRuntimeEnabledLongAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, stat
ic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScript
s, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, |
| 13384 #if ENABLE(CONDITION) |
| 13385 {"experimentConditionalRuntimeEnabledLongAttribute", TestObjectV8Internal::e
xperimentConditionalRuntimeEnabledLongAttributeAttributeGetterCallback, TestObje
ctV8Internal::experimentConditionalRuntimeEnabledLongAttributeAttributeSetterCal
lback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOM
Configuration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfig
uration::CheckHolder}, |
| 13386 #endif // ENABLE(CONDITION) |
12927 {"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}, | 13387 {"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}, |
12928 {"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}, | 13388 {"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}, |
12929 {"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}, | 13389 {"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}, |
12930 {"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}, | 13390 {"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}, |
12931 {"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}, | 13391 {"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}, |
12932 {"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}, | 13392 {"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}, |
12933 {"perWorldBindingsReadonlyTestInterfaceEmptyAttribute", TestObjectV8Internal
::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetterCallback, 0,
TestObjectV8Internal::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttrib
uteGetterCallbackForMainWorld, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttrib
ute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnP
rototype, V8DOMConfiguration::CheckHolder}, | 13393 {"perWorldBindingsReadonlyTestInterfaceEmptyAttribute", TestObjectV8Internal
::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetterCallback, 0,
TestObjectV8Internal::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttrib
uteGetterCallbackForMainWorld, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttrib
ute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnP
rototype, V8DOMConfiguration::CheckHolder}, |
12934 {"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}, | 13394 {"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}, |
12935 {"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}, | 13395 {"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}, |
12936 {"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}, | 13396 {"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}, |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12982 {"treatReturnedNullStringAsUndefinedUSVStringAttribute", TestObjectV8Interna
l::treatReturnedNullStringAsUndefinedUSVStringAttributeAttributeGetterCallback,
TestObjectV8Internal::treatReturnedNullStringAsUndefinedUSVStringAttributeAttrib
uteSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::
None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype,
V8DOMConfiguration::CheckHolder}, | 13442 {"treatReturnedNullStringAsUndefinedUSVStringAttribute", TestObjectV8Interna
l::treatReturnedNullStringAsUndefinedUSVStringAttributeAttributeGetterCallback,
TestObjectV8Internal::treatReturnedNullStringAsUndefinedUSVStringAttributeAttrib
uteSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::
None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype,
V8DOMConfiguration::CheckHolder}, |
12983 {"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}
, | 13443 {"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}
, |
12984 {"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}, | 13444 {"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}, |
12985 {"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}, | 13445 {"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}, |
12986 {"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}, | 13446 {"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}, |
12987 {"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}, | 13447 {"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}, |
12988 {"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}, | 13448 {"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}, |
12989 {"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}, | 13449 {"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}, |
12990 {"sameObjectAttribute", TestObjectV8Internal::sameObjectAttributeAttributeGe
tterCallback, TestObjectV8Internal::sameObjectAttributeAttributeSetterCallback,
0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigu
ration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration
::CheckHolder}, | 13450 {"sameObjectAttribute", TestObjectV8Internal::sameObjectAttributeAttributeGe
tterCallback, TestObjectV8Internal::sameObjectAttributeAttributeSetterCallback,
0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigu
ration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration
::CheckHolder}, |
12991 {"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}, | 13451 {"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}, |
| 13452 {"unscopeableExperimentEnabledLongAttribute", TestObjectV8Internal::unscopea
bleExperimentEnabledLongAttributeAttributeGetterCallback, TestObjectV8Internal::
unscopeableExperimentEnabledLongAttributeAttributeSetterCallback, 0, 0, 0, v8::D
EFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Expose
dToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}
, |
12992 {"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}, | 13453 {"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}, |
12993 {"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}, | 13454 {"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}, |
12994 {"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}, | 13455 {"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}, |
12995 {"testInterfaceWillBeGarbageCollectedAttribute", TestObjectV8Internal::testI
nterfaceWillBeGarbageCollectedAttributeAttributeGetterCallback, TestObjectV8Inte
rnal::testInterfaceWillBeGarbageCollectedAttributeAttributeSetterCallback, 0, 0,
0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguratio
n::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::Che
ckHolder}, | 13456 {"testInterfaceWillBeGarbageCollectedAttribute", TestObjectV8Internal::testI
nterfaceWillBeGarbageCollectedAttributeAttributeGetterCallback, TestObjectV8Inte
rnal::testInterfaceWillBeGarbageCollectedAttributeAttributeSetterCallback, 0, 0,
0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguratio
n::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::Che
ckHolder}, |
12996 {"testInterfaceWillBeGarbageCollectedOrNullAttribute", TestObjectV8Internal:
:testInterfaceWillBeGarbageCollectedOrNullAttributeAttributeGetterCallback, Test
ObjectV8Internal::testInterfaceWillBeGarbageCollectedOrNullAttributeAttributeSet
terCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None),
V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOM
Configuration::CheckHolder}, | 13457 {"testInterfaceWillBeGarbageCollectedOrNullAttribute", TestObjectV8Internal:
:testInterfaceWillBeGarbageCollectedOrNullAttributeAttributeGetterCallback, Test
ObjectV8Internal::testInterfaceWillBeGarbageCollectedOrNullAttributeAttributeSet
terCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None),
V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOM
Configuration::CheckHolder}, |
12997 {"readonlyShortAttribute", TestObjectV8Internal::readonlyShortAttributeAttri
buteGetterCallback, 0, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(
v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnProtot
ype, V8DOMConfiguration::CheckHolder}, | 13458 {"readonlyShortAttribute", TestObjectV8Internal::readonlyShortAttributeAttri
buteGetterCallback, 0, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(
v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnProtot
ype, V8DOMConfiguration::CheckHolder}, |
12998 {"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}, | 13459 {"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}, |
12999 {"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}, | 13460 {"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}, |
13000 {"nodeAttribute", TestObjectV8Internal::nodeAttributeAttributeGetterCallback
, TestObjectV8Internal::nodeAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAU
LT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToA
llScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 13461 {"nodeAttribute", TestObjectV8Internal::nodeAttributeAttributeGetterCallback
, TestObjectV8Internal::nodeAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAU
LT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToA
llScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, |
13001 {"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}, | 13462 {"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}, |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13191 {"conditionalConditionStaticVoidMethod", TestObjectV8Internal::conditionalCo
nditionStaticVoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::Expos
edToAllScripts, V8DOMConfiguration::OnInterface}, | 13652 {"conditionalConditionStaticVoidMethod", TestObjectV8Internal::conditionalCo
nditionStaticVoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::Expos
edToAllScripts, V8DOMConfiguration::OnInterface}, |
13192 #endif // ENABLE(CONDITION) | 13653 #endif // ENABLE(CONDITION) |
13193 {"customVoidMethod", TestObjectV8Internal::customVoidMethodMethodCallback, 0
, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPr
ototype}, | 13654 {"customVoidMethod", TestObjectV8Internal::customVoidMethodMethodCallback, 0
, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPr
ototype}, |
13194 {"customCallPrologueVoidMethod", TestObjectV8Internal::customCallPrologueVoi
dMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts,
V8DOMConfiguration::OnPrototype}, | 13655 {"customCallPrologueVoidMethod", TestObjectV8Internal::customCallPrologueVoi
dMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts,
V8DOMConfiguration::OnPrototype}, |
13195 {"customCallEpilogueVoidMethod", TestObjectV8Internal::customCallEpilogueVoi
dMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts,
V8DOMConfiguration::OnPrototype}, | 13656 {"customCallEpilogueVoidMethod", TestObjectV8Internal::customCallEpilogueVoi
dMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts,
V8DOMConfiguration::OnPrototype}, |
13196 #if ENABLE(CONDITION) | 13657 #if ENABLE(CONDITION) |
13197 {"conditionalConditionCustomVoidMethod", TestObjectV8Internal::conditionalCo
nditionCustomVoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::Expos
edToAllScripts, V8DOMConfiguration::OnPrototype}, | 13658 {"conditionalConditionCustomVoidMethod", TestObjectV8Internal::conditionalCo
nditionCustomVoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::Expos
edToAllScripts, V8DOMConfiguration::OnPrototype}, |
13198 #endif // ENABLE(CONDITION) | 13659 #endif // ENABLE(CONDITION) |
13199 {"customElementCallbacksVoidMethod", TestObjectV8Internal::customElementCall
backsVoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllS
cripts, V8DOMConfiguration::OnPrototype}, | 13660 {"customElementCallbacksVoidMethod", TestObjectV8Internal::customElementCall
backsVoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllS
cripts, V8DOMConfiguration::OnPrototype}, |
13200 {"deprecatedVoidMethod", TestObjectV8Internal::deprecatedVoidMethodMethodCal
lback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigurati
on::OnPrototype}, | 13661 {"deprecatedVoidMethod", TestObjectV8Internal::deprecatedVoidMethodMethodCal
lback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigurati
on::OnPrototype}, |
| 13662 {"experimentEnabledVoidMethod", TestObjectV8Internal::experimentEnabledVoidM
ethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8
DOMConfiguration::OnPrototype}, |
| 13663 {"perWorldBindingsExperimentEnabledVoidMethod", TestObjectV8Internal::perWor
ldBindingsExperimentEnabledVoidMethodMethodCallback, TestObjectV8Internal::perWo
rldBindingsExperimentEnabledVoidMethodMethodCallbackForMainWorld, 0, v8::None, V
8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, |
| 13664 {"experimentEnabledOverloadedVoidMethod", TestObjectV8Internal::experimentEn
abledOverloadedVoidMethodMethodCallback, 0, 1, v8::None, V8DOMConfiguration::Exp
osedToAllScripts, V8DOMConfiguration::OnPrototype}, |
| 13665 {"partiallyExperimentEnabledOverloadedVoidMethod", TestObjectV8Internal::par
tiallyExperimentEnabledOverloadedVoidMethodMethodCallback, 0, 1, v8::None, V8DOM
Configuration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, |
13201 {"implementedAsVoidMethod", TestObjectV8Internal::implementedAsVoidMethodMet
hodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfi
guration::OnPrototype}, | 13666 {"implementedAsVoidMethod", TestObjectV8Internal::implementedAsVoidMethodMet
hodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfi
guration::OnPrototype}, |
13202 {"measureAsVoidMethod", TestObjectV8Internal::measureAsVoidMethodMethodCallb
ack, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration
::OnPrototype}, | 13667 {"measureAsVoidMethod", TestObjectV8Internal::measureAsVoidMethodMethodCallb
ack, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration
::OnPrototype}, |
13203 {"measureMethod", TestObjectV8Internal::measureMethodMethodCallback, 0, 0, v
8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototyp
e}, | 13668 {"measureMethod", TestObjectV8Internal::measureMethodMethodCallback, 0, 0, v
8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototyp
e}, |
13204 {"measureOverloadedMethod", TestObjectV8Internal::measureOverloadedMethodMet
hodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfi
guration::OnPrototype}, | 13669 {"measureOverloadedMethod", TestObjectV8Internal::measureOverloadedMethodMet
hodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfi
guration::OnPrototype}, |
13205 {"DeprecateAsOverloadedMethod", TestObjectV8Internal::DeprecateAsOverloadedM
ethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8
DOMConfiguration::OnPrototype}, | 13670 {"DeprecateAsOverloadedMethod", TestObjectV8Internal::DeprecateAsOverloadedM
ethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8
DOMConfiguration::OnPrototype}, |
13206 {"DeprecateAsSameValueOverloadedMethod", TestObjectV8Internal::DeprecateAsSa
meValueOverloadedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::Expos
edToAllScripts, V8DOMConfiguration::OnPrototype}, | 13671 {"DeprecateAsSameValueOverloadedMethod", TestObjectV8Internal::DeprecateAsSa
meValueOverloadedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::Expos
edToAllScripts, V8DOMConfiguration::OnPrototype}, |
13207 {"measureAsOverloadedMethod", TestObjectV8Internal::measureAsOverloadedMetho
dMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMC
onfiguration::OnPrototype}, | 13672 {"measureAsOverloadedMethod", TestObjectV8Internal::measureAsOverloadedMetho
dMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMC
onfiguration::OnPrototype}, |
13208 {"measureAsSameValueOverloadedMethod", TestObjectV8Internal::measureAsSameVa
lueOverloadedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedTo
AllScripts, V8DOMConfiguration::OnPrototype}, | 13673 {"measureAsSameValueOverloadedMethod", TestObjectV8Internal::measureAsSameVa
lueOverloadedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedTo
AllScripts, V8DOMConfiguration::OnPrototype}, |
13209 {"deprecateAsMeasureAsSameValueOverloadedMethod", TestObjectV8Internal::depr
ecateAsMeasureAsSameValueOverloadedMethodMethodCallback, 0, 0, v8::None, V8DOMCo
nfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, | 13674 {"deprecateAsMeasureAsSameValueOverloadedMethod", TestObjectV8Internal::depr
ecateAsMeasureAsSameValueOverloadedMethodMethodCallback, 0, 0, v8::None, V8DOMCo
nfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, |
13210 {"deprecateAsSameValueMeasureAsOverloadedMethod", TestObjectV8Internal::depr
ecateAsSameValueMeasureAsOverloadedMethodMethodCallback, 0, 0, v8::None, V8DOMCo
nfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, | 13675 {"deprecateAsSameValueMeasureAsOverloadedMethod", TestObjectV8Internal::depr
ecateAsSameValueMeasureAsOverloadedMethodMethodCallback, 0, 0, v8::None, V8DOMCo
nfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13326 V8DOMConfiguration::installConstant(isolate, functionTemplate, prototype
Template, constantFeature2EnabledConst1Configuration); | 13791 V8DOMConfiguration::installConstant(isolate, functionTemplate, prototype
Template, constantFeature2EnabledConst1Configuration); |
13327 const V8DOMConfiguration::ConstantConfiguration constantFeature2EnabledC
onst2Configuration = {"FEATURE2_ENABLED_CONST2", 4, 0, V8DOMConfiguration::Const
antTypeShort}; | 13792 const V8DOMConfiguration::ConstantConfiguration constantFeature2EnabledC
onst2Configuration = {"FEATURE2_ENABLED_CONST2", 4, 0, V8DOMConfiguration::Const
antTypeShort}; |
13328 V8DOMConfiguration::installConstant(isolate, functionTemplate, prototype
Template, constantFeature2EnabledConst2Configuration); | 13793 V8DOMConfiguration::installConstant(isolate, functionTemplate, prototype
Template, constantFeature2EnabledConst2Configuration); |
13329 } | 13794 } |
13330 if (RuntimeEnabledFeatures::featureName3Enabled()) { | 13795 if (RuntimeEnabledFeatures::featureName3Enabled()) { |
13331 const V8DOMConfiguration::ConstantConfiguration constantFeature3EnabledC
onst1Configuration = {"FEATURE3_ENABLED_CONST1", 5, 0, V8DOMConfiguration::Const
antTypeShort}; | 13796 const V8DOMConfiguration::ConstantConfiguration constantFeature3EnabledC
onst1Configuration = {"FEATURE3_ENABLED_CONST1", 5, 0, V8DOMConfiguration::Const
antTypeShort}; |
13332 V8DOMConfiguration::installConstant(isolate, functionTemplate, prototype
Template, constantFeature3EnabledConst1Configuration); | 13797 V8DOMConfiguration::installConstant(isolate, functionTemplate, prototype
Template, constantFeature3EnabledConst1Configuration); |
13333 } | 13798 } |
13334 V8DOMConfiguration::installConstantWithGetter(isolate, functionTemplate, pro
totypeTemplate, "DEPRECATED_CONSTANT", TestObjectV8Internal::DEPRECATED_CONSTANT
ConstantGetterCallback); | 13799 V8DOMConfiguration::installConstantWithGetter(isolate, functionTemplate, pro
totypeTemplate, "DEPRECATED_CONSTANT", TestObjectV8Internal::DEPRECATED_CONSTANT
ConstantGetterCallback); |
13335 V8DOMConfiguration::installConstantWithGetter(isolate, functionTemplate, pro
totypeTemplate, "MEASURED_CONSTANT", TestObjectV8Internal::MEASURED_CONSTANTCons
tantGetterCallback); | 13800 V8DOMConfiguration::installConstantWithGetter(isolate, functionTemplate, pro
totypeTemplate, "MEASURED_CONSTANT", TestObjectV8Internal::MEASURED_CONSTANTCons
tantGetterCallback); |
| 13801 V8DOMConfiguration::installConstantWithGetter(isolate, functionTemplate, pro
totypeTemplate, "FEATURE1_RUNTIME_AND_EXPERIMENT_ENABLED_CONST1", TestObjectV8In
ternal::FEATURE1_RUNTIME_AND_EXPERIMENT_ENABLED_CONST1ConstantGetterCallback); |
| 13802 V8DOMConfiguration::installConstantWithGetter(isolate, functionTemplate, pro
totypeTemplate, "FEATURE1_RUNTIME_AND_EXPERIMENT_ENABLED_CONST2", TestObjectV8In
ternal::FEATURE1_RUNTIME_AND_EXPERIMENT_ENABLED_CONST2ConstantGetterCallback); |
| 13803 V8DOMConfiguration::installConstantWithGetter(isolate, functionTemplate, pro
totypeTemplate, "FEATURE2_RUNTIME_AND_EXPERIMENT_ENABLED_CONST1", TestObjectV8In
ternal::FEATURE2_RUNTIME_AND_EXPERIMENT_ENABLED_CONST1ConstantGetterCallback); |
| 13804 V8DOMConfiguration::installConstantWithGetter(isolate, functionTemplate, pro
totypeTemplate, "FEATURE2_RUNTIME_AND_EXPERIMENT_ENABLED_CONST2", TestObjectV8In
ternal::FEATURE2_RUNTIME_AND_EXPERIMENT_ENABLED_CONST2ConstantGetterCallback); |
| 13805 V8DOMConfiguration::installConstantWithGetter(isolate, functionTemplate, pro
totypeTemplate, "FEATURE3_RUNTIME_AND_EXPERIMENT_ENABLED_CONST1", TestObjectV8In
ternal::FEATURE3_RUNTIME_AND_EXPERIMENT_ENABLED_CONST1ConstantGetterCallback); |
13336 static_assert(0 == TestObject::CONST_VALUE_0, "the value of TestObject_CONST
_VALUE_0 does not match with implementation"); | 13806 static_assert(0 == TestObject::CONST_VALUE_0, "the value of TestObject_CONST
_VALUE_0 does not match with implementation"); |
13337 static_assert(1 == TestObject::CONST_VALUE_1, "the value of TestObject_CONST
_VALUE_1 does not match with implementation"); | 13807 static_assert(1 == TestObject::CONST_VALUE_1, "the value of TestObject_CONST
_VALUE_1 does not match with implementation"); |
13338 static_assert(2 == TestObject::CONST_VALUE_2, "the value of TestObject_CONST
_VALUE_2 does not match with implementation"); | 13808 static_assert(2 == TestObject::CONST_VALUE_2, "the value of TestObject_CONST
_VALUE_2 does not match with implementation"); |
13339 static_assert(4 == TestObject::CONST_VALUE_4, "the value of TestObject_CONST
_VALUE_4 does not match with implementation"); | 13809 static_assert(4 == TestObject::CONST_VALUE_4, "the value of TestObject_CONST
_VALUE_4 does not match with implementation"); |
13340 static_assert(8 == TestObject::CONST_VALUE_8, "the value of TestObject_CONST
_VALUE_8 does not match with implementation"); | 13810 static_assert(8 == TestObject::CONST_VALUE_8, "the value of TestObject_CONST
_VALUE_8 does not match with implementation"); |
13341 static_assert(-1 == TestObject::CONST_VALUE_9, "the value of TestObject_CONS
T_VALUE_9 does not match with implementation"); | 13811 static_assert(-1 == TestObject::CONST_VALUE_9, "the value of TestObject_CONS
T_VALUE_9 does not match with implementation"); |
13342 static_assert(0xffffffff == TestObject::CONST_VALUE_11, "the value of TestOb
ject_CONST_VALUE_11 does not match with implementation"); | 13812 static_assert(0xffffffff == TestObject::CONST_VALUE_11, "the value of TestOb
ject_CONST_VALUE_11 does not match with implementation"); |
13343 static_assert(0x01 == TestObject::CONST_VALUE_12, "the value of TestObject_C
ONST_VALUE_12 does not match with implementation"); | 13813 static_assert(0x01 == TestObject::CONST_VALUE_12, "the value of TestObject_C
ONST_VALUE_12 does not match with implementation"); |
13344 static_assert(0X20 == TestObject::CONST_VALUE_13, "the value of TestObject_C
ONST_VALUE_13 does not match with implementation"); | 13814 static_assert(0X20 == TestObject::CONST_VALUE_13, "the value of TestObject_C
ONST_VALUE_13 does not match with implementation"); |
13345 static_assert(0x1abc == TestObject::CONST_VALUE_14, "the value of TestObject
_CONST_VALUE_14 does not match with implementation"); | 13815 static_assert(0x1abc == TestObject::CONST_VALUE_14, "the value of TestObject
_CONST_VALUE_14 does not match with implementation"); |
13346 static_assert(010 == TestObject::CONST_VALUE_15, "the value of TestObject_CO
NST_VALUE_15 does not match with implementation"); | 13816 static_assert(010 == TestObject::CONST_VALUE_15, "the value of TestObject_CO
NST_VALUE_15 does not match with implementation"); |
13347 static_assert(-010 == TestObject::CONST_VALUE_16, "the value of TestObject_C
ONST_VALUE_16 does not match with implementation"); | 13817 static_assert(-010 == TestObject::CONST_VALUE_16, "the value of TestObject_C
ONST_VALUE_16 does not match with implementation"); |
13348 static_assert(-0x1A == TestObject::CONST_VALUE_16, "the value of TestObject_
CONST_VALUE_16 does not match with implementation"); | 13818 static_assert(-0x1A == TestObject::CONST_VALUE_16, "the value of TestObject_
CONST_VALUE_16 does not match with implementation"); |
13349 static_assert(-0X1a == TestObject::CONST_VALUE_17, "the value of TestObject_
CONST_VALUE_17 does not match with implementation"); | 13819 static_assert(-0X1a == TestObject::CONST_VALUE_17, "the value of TestObject_
CONST_VALUE_17 does not match with implementation"); |
13350 static_assert(1 == TestObject::DEPRECATED_CONSTANT, "the value of TestObject
_DEPRECATED_CONSTANT does not match with implementation"); | 13820 static_assert(1 == TestObject::DEPRECATED_CONSTANT, "the value of TestObject
_DEPRECATED_CONSTANT does not match with implementation"); |
13351 static_assert(1 == TestObject::MEASURED_CONSTANT, "the value of TestObject_M
EASURED_CONSTANT does not match with implementation"); | 13821 static_assert(1 == TestObject::MEASURED_CONSTANT, "the value of TestObject_M
EASURED_CONSTANT does not match with implementation"); |
13352 static_assert(1 == TestObject::FEATURE1_ENABLED_CONST1, "the value of TestOb
ject_FEATURE1_ENABLED_CONST1 does not match with implementation"); | 13822 static_assert(1 == TestObject::FEATURE1_ENABLED_CONST1, "the value of TestOb
ject_FEATURE1_ENABLED_CONST1 does not match with implementation"); |
13353 static_assert(2 == TestObject::FEATURE1_ENABLED_CONST2, "the value of TestOb
ject_FEATURE1_ENABLED_CONST2 does not match with implementation"); | 13823 static_assert(2 == TestObject::FEATURE1_ENABLED_CONST2, "the value of TestOb
ject_FEATURE1_ENABLED_CONST2 does not match with implementation"); |
13354 static_assert(3 == TestObject::FEATURE2_ENABLED_CONST1, "the value of TestOb
ject_FEATURE2_ENABLED_CONST1 does not match with implementation"); | 13824 static_assert(3 == TestObject::FEATURE2_ENABLED_CONST1, "the value of TestOb
ject_FEATURE2_ENABLED_CONST1 does not match with implementation"); |
13355 static_assert(4 == TestObject::FEATURE2_ENABLED_CONST2, "the value of TestOb
ject_FEATURE2_ENABLED_CONST2 does not match with implementation"); | 13825 static_assert(4 == TestObject::FEATURE2_ENABLED_CONST2, "the value of TestOb
ject_FEATURE2_ENABLED_CONST2 does not match with implementation"); |
13356 static_assert(5 == TestObject::FEATURE3_ENABLED_CONST1, "the value of TestOb
ject_FEATURE3_ENABLED_CONST1 does not match with implementation"); | 13826 static_assert(5 == TestObject::FEATURE3_ENABLED_CONST1, "the value of TestOb
ject_FEATURE3_ENABLED_CONST1 does not match with implementation"); |
| 13827 static_assert(1 == TestObject::FEATURE1_RUNTIME_AND_EXPERIMENT_ENABLED_CONST
1, "the value of TestObject_FEATURE1_RUNTIME_AND_EXPERIMENT_ENABLED_CONST1 does
not match with implementation"); |
| 13828 static_assert(2 == TestObject::FEATURE1_RUNTIME_AND_EXPERIMENT_ENABLED_CONST
2, "the value of TestObject_FEATURE1_RUNTIME_AND_EXPERIMENT_ENABLED_CONST2 does
not match with implementation"); |
| 13829 static_assert(3 == TestObject::FEATURE2_RUNTIME_AND_EXPERIMENT_ENABLED_CONST
1, "the value of TestObject_FEATURE2_RUNTIME_AND_EXPERIMENT_ENABLED_CONST1 does
not match with implementation"); |
| 13830 static_assert(4 == TestObject::FEATURE2_RUNTIME_AND_EXPERIMENT_ENABLED_CONST
2, "the value of TestObject_FEATURE2_RUNTIME_AND_EXPERIMENT_ENABLED_CONST2 does
not match with implementation"); |
| 13831 static_assert(5 == TestObject::FEATURE3_RUNTIME_AND_EXPERIMENT_ENABLED_CONST
1, "the value of TestObject_FEATURE3_RUNTIME_AND_EXPERIMENT_ENABLED_CONST1 does
not match with implementation"); |
13357 static_assert(1 == TestObject::CONST_IMPL, "the value of TestObject_CONST_IM
PL does not match with implementation"); | 13832 static_assert(1 == TestObject::CONST_IMPL, "the value of TestObject_CONST_IM
PL does not match with implementation"); |
13358 v8::IndexedPropertyHandlerConfiguration indexedPropertyHandlerConfig(TestObj
ectV8Internal::indexedPropertyGetterCallback, TestObjectV8Internal::indexedPrope
rtySetterCallback, 0, TestObjectV8Internal::indexedPropertyDeleterCallback, inde
xedPropertyEnumerator<TestObject>, v8::Local<v8::Value>(), v8::PropertyHandlerFl
ags::kNone); | 13833 v8::IndexedPropertyHandlerConfiguration indexedPropertyHandlerConfig(TestObj
ectV8Internal::indexedPropertyGetterCallback, TestObjectV8Internal::indexedPrope
rtySetterCallback, 0, TestObjectV8Internal::indexedPropertyDeleterCallback, inde
xedPropertyEnumerator<TestObject>, v8::Local<v8::Value>(), v8::PropertyHandlerFl
ags::kNone); |
13359 instanceTemplate->SetHandler(indexedPropertyHandlerConfig); | 13834 instanceTemplate->SetHandler(indexedPropertyHandlerConfig); |
13360 v8::NamedPropertyHandlerConfiguration namedPropertyHandlerConfig(TestObjectV
8Internal::namedPropertyGetterCallback, TestObjectV8Internal::namedPropertySette
rCallback, TestObjectV8Internal::namedPropertyQueryCallback, TestObjectV8Interna
l::namedPropertyDeleterCallback, TestObjectV8Internal::namedPropertyEnumeratorCa
llback, v8::Local<v8::Value>(), static_cast<v8::PropertyHandlerFlags>(int(v8::Pr
opertyHandlerFlags::kOnlyInterceptStrings) | int(v8::PropertyHandlerFlags::kNonM
asking))); | 13835 v8::NamedPropertyHandlerConfiguration namedPropertyHandlerConfig(TestObjectV
8Internal::namedPropertyGetterCallback, TestObjectV8Internal::namedPropertySette
rCallback, TestObjectV8Internal::namedPropertyQueryCallback, TestObjectV8Interna
l::namedPropertyDeleterCallback, TestObjectV8Internal::namedPropertyEnumeratorCa
llback, v8::Local<v8::Value>(), static_cast<v8::PropertyHandlerFlags>(int(v8::Pr
opertyHandlerFlags::kOnlyInterceptStrings) | int(v8::PropertyHandlerFlags::kNonM
asking))); |
13361 instanceTemplate->SetHandler(namedPropertyHandlerConfig); | 13836 instanceTemplate->SetHandler(namedPropertyHandlerConfig); |
13362 const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKeyedIterator
Configuration = { v8::Symbol::GetIterator, TestObjectV8Internal::iteratorMethodC
allback, 0, v8::DontDelete, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfig
uration::OnPrototype }; | 13837 const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKeyedIterator
Configuration = { v8::Symbol::GetIterator, TestObjectV8Internal::iteratorMethodC
allback, 0, v8::DontDelete, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfig
uration::OnPrototype }; |
13363 V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSignatu
re, symbolKeyedIteratorConfiguration); | 13838 V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSignatu
re, symbolKeyedIteratorConfiguration); |
13364 if (RuntimeEnabledFeatures::featureNameEnabled()) { | 13839 if (RuntimeEnabledFeatures::featureNameEnabled()) { |
13365 const V8DOMConfiguration::MethodConfiguration unscopeableRuntimeEnabledV
oidMethodMethodConfiguration = {"unscopeableRuntimeEnabledVoidMethod", TestObjec
tV8Internal::unscopeableRuntimeEnabledVoidMethodMethodCallback, 0, 0, v8::None,
V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}; | 13840 const V8DOMConfiguration::MethodConfiguration unscopeableRuntimeEnabledV
oidMethodMethodConfiguration = {"unscopeableRuntimeEnabledVoidMethod", TestObjec
tV8Internal::unscopeableRuntimeEnabledVoidMethodMethodCallback, 0, 0, v8::None,
V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}; |
13366 V8DOMConfiguration::installMethod(isolate, instanceTemplate, prototypeTe
mplate, functionTemplate, defaultSignature, unscopeableRuntimeEnabledVoidMethodM
ethodConfiguration); | 13841 V8DOMConfiguration::installMethod(isolate, instanceTemplate, prototypeTe
mplate, functionTemplate, defaultSignature, unscopeableRuntimeEnabledVoidMethodM
ethodConfiguration); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13405 | 13880 |
13406 void V8TestObject::preparePrototypeAndInterfaceObject(v8::Local<v8::Context> con
text, v8::Local<v8::Object> prototypeObject, v8::Local<v8::Function> interfaceOb
ject, v8::Local<v8::FunctionTemplate> interfaceTemplate) | 13881 void V8TestObject::preparePrototypeAndInterfaceObject(v8::Local<v8::Context> con
text, v8::Local<v8::Object> prototypeObject, v8::Local<v8::Function> interfaceOb
ject, v8::Local<v8::FunctionTemplate> interfaceTemplate) |
13407 { | 13882 { |
13408 v8::Isolate* isolate = context->GetIsolate(); | 13883 v8::Isolate* isolate = context->GetIsolate(); |
13409 v8::Local<v8::Name> unscopablesSymbol(v8::Symbol::GetUnscopables(isolate)); | 13884 v8::Local<v8::Name> unscopablesSymbol(v8::Symbol::GetUnscopables(isolate)); |
13410 v8::Local<v8::Object> unscopeables; | 13885 v8::Local<v8::Object> unscopeables; |
13411 if (v8CallBoolean(prototypeObject->HasOwnProperty(context, unscopablesSymbol
))) | 13886 if (v8CallBoolean(prototypeObject->HasOwnProperty(context, unscopablesSymbol
))) |
13412 unscopeables = prototypeObject->Get(context, unscopablesSymbol).ToLocalC
hecked().As<v8::Object>(); | 13887 unscopeables = prototypeObject->Get(context, unscopablesSymbol).ToLocalC
hecked().As<v8::Object>(); |
13413 else | 13888 else |
13414 unscopeables = v8::Object::New(isolate); | 13889 unscopeables = v8::Object::New(isolate); |
| 13890 unscopeables->CreateDataProperty(context, v8AtomicString(isolate, "unscopeab
leExperimentEnabledLongAttribute"), v8::True(isolate)).FromJust(); |
13415 unscopeables->CreateDataProperty(context, v8AtomicString(isolate, "unscopeab
leLongAttribute"), v8::True(isolate)).FromJust(); | 13891 unscopeables->CreateDataProperty(context, v8AtomicString(isolate, "unscopeab
leLongAttribute"), v8::True(isolate)).FromJust(); |
13416 if (RuntimeEnabledFeatures::featureNameEnabled()) { | 13892 if (RuntimeEnabledFeatures::featureNameEnabled()) { |
13417 unscopeables->CreateDataProperty(context, v8AtomicString(isolate, "unsco
peableRuntimeEnabledLongAttribute"), v8::True(isolate)).FromJust(); | 13893 unscopeables->CreateDataProperty(context, v8AtomicString(isolate, "unsco
peableRuntimeEnabledLongAttribute"), v8::True(isolate)).FromJust(); |
13418 } | 13894 } |
13419 if (RuntimeEnabledFeatures::featureNameEnabled()) { | 13895 if (RuntimeEnabledFeatures::featureNameEnabled()) { |
13420 unscopeables->CreateDataProperty(context, v8AtomicString(isolate, "unsco
peableRuntimeEnabledVoidMethod"), v8::True(isolate)).FromJust(); | 13896 unscopeables->CreateDataProperty(context, v8AtomicString(isolate, "unsco
peableRuntimeEnabledVoidMethod"), v8::True(isolate)).FromJust(); |
13421 } | 13897 } |
13422 unscopeables->CreateDataProperty(context, v8AtomicString(isolate, "unscopeab
leVoidMethod"), v8::True(isolate)).FromJust(); | 13898 unscopeables->CreateDataProperty(context, v8AtomicString(isolate, "unscopeab
leVoidMethod"), v8::True(isolate)).FromJust(); |
13423 prototypeObject->CreateDataProperty(context, unscopablesSymbol, unscopeables
).FromJust(); | 13899 prototypeObject->CreateDataProperty(context, unscopablesSymbol, unscopeables
).FromJust(); |
13424 } | 13900 } |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13663 return false; | 14139 return false; |
13664 ScriptState* scriptStateInUserScript = ScriptState::forMainWorld(frame); | 14140 ScriptState* scriptStateInUserScript = ScriptState::forMainWorld(frame); |
13665 if (!scriptState->contextIsValid()) | 14141 if (!scriptState->contextIsValid()) |
13666 return false; | 14142 return false; |
13667 | 14143 |
13668 ScriptState::Scope scope(scriptState); | 14144 ScriptState::Scope scope(scriptState); |
13669 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); | 14145 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); |
13670 if (holder.IsEmpty()) | 14146 if (holder.IsEmpty()) |
13671 return false; | 14147 return false; |
13672 | 14148 |
| 14149 |
13673 ExceptionState exceptionState(ExceptionState::GetterContext, "readonlyShortA
ttribute", "TestObject", scriptState->context()->Global(), scriptState->isolate(
)); | 14150 ExceptionState exceptionState(ExceptionState::GetterContext, "readonlyShortA
ttribute", "TestObject", scriptState->context()->Global(), scriptState->isolate(
)); |
13674 v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(sc
riptState, scriptStateInUserScript, "TestObject", "readonlyShortAttribute", hold
er); | 14151 v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(sc
riptState, scriptStateInUserScript, "TestObject", "readonlyShortAttribute", hold
er); |
13675 if (v8Value.IsEmpty()) | 14152 if (v8Value.IsEmpty()) |
13676 return false; | 14153 return false; |
13677 int cppValue = toInt16(scriptState->isolate(), v8Value, NormalConversion, ex
ceptionState); | 14154 int cppValue = toInt16(scriptState->isolate(), v8Value, NormalConversion, ex
ceptionState); |
13678 if (exceptionState.throwIfNeeded()) | 14155 if (exceptionState.throwIfNeeded()) |
13679 return false; | 14156 return false; |
13680 RELEASE_ASSERT(!exceptionState.hadException()); | 14157 RELEASE_ASSERT(!exceptionState.hadException()); |
13681 *result = cppValue; | 14158 *result = cppValue; |
13682 return true; | 14159 return true; |
(...skipping 10 matching lines...) Expand all Loading... |
13693 return false; | 14170 return false; |
13694 ScriptState* scriptStateInUserScript = ScriptState::forMainWorld(frame); | 14171 ScriptState* scriptStateInUserScript = ScriptState::forMainWorld(frame); |
13695 if (!scriptState->contextIsValid()) | 14172 if (!scriptState->contextIsValid()) |
13696 return false; | 14173 return false; |
13697 | 14174 |
13698 ScriptState::Scope scope(scriptState); | 14175 ScriptState::Scope scope(scriptState); |
13699 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); | 14176 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); |
13700 if (holder.IsEmpty()) | 14177 if (holder.IsEmpty()) |
13701 return false; | 14178 return false; |
13702 | 14179 |
| 14180 |
13703 ExceptionState exceptionState(ExceptionState::GetterContext, "shortAttribute
", "TestObject", scriptState->context()->Global(), scriptState->isolate()); | 14181 ExceptionState exceptionState(ExceptionState::GetterContext, "shortAttribute
", "TestObject", scriptState->context()->Global(), scriptState->isolate()); |
13704 v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(sc
riptState, scriptStateInUserScript, "TestObject", "shortAttribute", holder); | 14182 v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(sc
riptState, scriptStateInUserScript, "TestObject", "shortAttribute", holder); |
13705 if (v8Value.IsEmpty()) | 14183 if (v8Value.IsEmpty()) |
13706 return false; | 14184 return false; |
13707 int cppValue = toInt16(scriptState->isolate(), v8Value, NormalConversion, ex
ceptionState); | 14185 int cppValue = toInt16(scriptState->isolate(), v8Value, NormalConversion, ex
ceptionState); |
13708 if (exceptionState.throwIfNeeded()) | 14186 if (exceptionState.throwIfNeeded()) |
13709 return false; | 14187 return false; |
13710 RELEASE_ASSERT(!exceptionState.hadException()); | 14188 RELEASE_ASSERT(!exceptionState.hadException()); |
13711 *result = cppValue; | 14189 *result = cppValue; |
13712 return true; | 14190 return true; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13745 return false; | 14223 return false; |
13746 ScriptState* scriptStateInUserScript = ScriptState::forMainWorld(frame); | 14224 ScriptState* scriptStateInUserScript = ScriptState::forMainWorld(frame); |
13747 if (!scriptState->contextIsValid()) | 14225 if (!scriptState->contextIsValid()) |
13748 return false; | 14226 return false; |
13749 | 14227 |
13750 ScriptState::Scope scope(scriptState); | 14228 ScriptState::Scope scope(scriptState); |
13751 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); | 14229 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); |
13752 if (holder.IsEmpty()) | 14230 if (holder.IsEmpty()) |
13753 return false; | 14231 return false; |
13754 | 14232 |
| 14233 |
13755 ExceptionState exceptionState(ExceptionState::GetterContext, "stringAttribut
e", "TestObject", scriptState->context()->Global(), scriptState->isolate()); | 14234 ExceptionState exceptionState(ExceptionState::GetterContext, "stringAttribut
e", "TestObject", scriptState->context()->Global(), scriptState->isolate()); |
13756 v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(sc
riptState, scriptStateInUserScript, "TestObject", "stringAttribute", holder); | 14235 v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(sc
riptState, scriptStateInUserScript, "TestObject", "stringAttribute", holder); |
13757 if (v8Value.IsEmpty()) | 14236 if (v8Value.IsEmpty()) |
13758 return false; | 14237 return false; |
13759 V8StringResource<> cppValue = v8Value; | 14238 V8StringResource<> cppValue = v8Value; |
13760 if (!cppValue.prepare()) | 14239 if (!cppValue.prepare()) |
13761 return false; | 14240 return false; |
13762 RELEASE_ASSERT(!exceptionState.hadException()); | 14241 RELEASE_ASSERT(!exceptionState.hadException()); |
13763 *result = cppValue; | 14242 *result = cppValue; |
13764 return true; | 14243 return true; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13797 return false; | 14276 return false; |
13798 ScriptState* scriptStateInUserScript = ScriptState::forMainWorld(frame); | 14277 ScriptState* scriptStateInUserScript = ScriptState::forMainWorld(frame); |
13799 if (!scriptState->contextIsValid()) | 14278 if (!scriptState->contextIsValid()) |
13800 return false; | 14279 return false; |
13801 | 14280 |
13802 ScriptState::Scope scope(scriptState); | 14281 ScriptState::Scope scope(scriptState); |
13803 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); | 14282 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); |
13804 if (holder.IsEmpty()) | 14283 if (holder.IsEmpty()) |
13805 return false; | 14284 return false; |
13806 | 14285 |
| 14286 |
13807 ExceptionState exceptionState(ExceptionState::GetterContext, "nodeAttribute"
, "TestObject", scriptState->context()->Global(), scriptState->isolate()); | 14287 ExceptionState exceptionState(ExceptionState::GetterContext, "nodeAttribute"
, "TestObject", scriptState->context()->Global(), scriptState->isolate()); |
13808 v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(sc
riptState, scriptStateInUserScript, "TestObject", "nodeAttribute", holder); | 14288 v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(sc
riptState, scriptStateInUserScript, "TestObject", "nodeAttribute", holder); |
13809 if (v8Value.IsEmpty()) | 14289 if (v8Value.IsEmpty()) |
13810 return false; | 14290 return false; |
13811 Node* cppValue = V8Node::toImplWithTypeCheck(scriptState->isolate(), v8Value
); | 14291 Node* cppValue = V8Node::toImplWithTypeCheck(scriptState->isolate(), v8Value
); |
13812 RELEASE_ASSERT(!exceptionState.hadException()); | 14292 RELEASE_ASSERT(!exceptionState.hadException()); |
13813 *result = cppValue; | 14293 *result = cppValue; |
13814 return true; | 14294 return true; |
13815 } | 14295 } |
13816 | 14296 |
(...skipping 30 matching lines...) Expand all Loading... |
13847 return false; | 14327 return false; |
13848 ScriptState* scriptStateInUserScript = ScriptState::forMainWorld(frame); | 14328 ScriptState* scriptStateInUserScript = ScriptState::forMainWorld(frame); |
13849 if (!scriptState->contextIsValid()) | 14329 if (!scriptState->contextIsValid()) |
13850 return false; | 14330 return false; |
13851 | 14331 |
13852 ScriptState::Scope scope(scriptState); | 14332 ScriptState::Scope scope(scriptState); |
13853 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); | 14333 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); |
13854 if (holder.IsEmpty()) | 14334 if (holder.IsEmpty()) |
13855 return false; | 14335 return false; |
13856 | 14336 |
| 14337 |
13857 ExceptionState exceptionState(ExceptionState::GetterContext, "attributeForPr
ivateScriptOnly", "TestObject", scriptState->context()->Global(), scriptState->i
solate()); | 14338 ExceptionState exceptionState(ExceptionState::GetterContext, "attributeForPr
ivateScriptOnly", "TestObject", scriptState->context()->Global(), scriptState->i
solate()); |
13858 v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(sc
riptState, scriptStateInUserScript, "TestObject", "attributeForPrivateScriptOnly
", holder); | 14339 v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(sc
riptState, scriptStateInUserScript, "TestObject", "attributeForPrivateScriptOnly
", holder); |
13859 if (v8Value.IsEmpty()) | 14340 if (v8Value.IsEmpty()) |
13860 return false; | 14341 return false; |
13861 V8StringResource<> cppValue = v8Value; | 14342 V8StringResource<> cppValue = v8Value; |
13862 if (!cppValue.prepare()) | 14343 if (!cppValue.prepare()) |
13863 return false; | 14344 return false; |
13864 RELEASE_ASSERT(!exceptionState.hadException()); | 14345 RELEASE_ASSERT(!exceptionState.hadException()); |
13865 *result = cppValue; | 14346 *result = cppValue; |
13866 return true; | 14347 return true; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13899 return false; | 14380 return false; |
13900 ScriptState* scriptStateInUserScript = ScriptState::forMainWorld(frame); | 14381 ScriptState* scriptStateInUserScript = ScriptState::forMainWorld(frame); |
13901 if (!scriptState->contextIsValid()) | 14382 if (!scriptState->contextIsValid()) |
13902 return false; | 14383 return false; |
13903 | 14384 |
13904 ScriptState::Scope scope(scriptState); | 14385 ScriptState::Scope scope(scriptState); |
13905 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); | 14386 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); |
13906 if (holder.IsEmpty()) | 14387 if (holder.IsEmpty()) |
13907 return false; | 14388 return false; |
13908 | 14389 |
| 14390 |
13909 ExceptionState exceptionState(ExceptionState::GetterContext, "enumForPrivate
Script", "TestObject", scriptState->context()->Global(), scriptState->isolate())
; | 14391 ExceptionState exceptionState(ExceptionState::GetterContext, "enumForPrivate
Script", "TestObject", scriptState->context()->Global(), scriptState->isolate())
; |
13910 v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(sc
riptState, scriptStateInUserScript, "TestObject", "enumForPrivateScript", holder
); | 14392 v8::Local<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(sc
riptState, scriptStateInUserScript, "TestObject", "enumForPrivateScript", holder
); |
13911 if (v8Value.IsEmpty()) | 14393 if (v8Value.IsEmpty()) |
13912 return false; | 14394 return false; |
13913 V8StringResource<> cppValue = v8Value; | 14395 V8StringResource<> cppValue = v8Value; |
13914 if (!cppValue.prepare()) | 14396 if (!cppValue.prepare()) |
13915 return false; | 14397 return false; |
13916 RELEASE_ASSERT(!exceptionState.hadException()); | 14398 RELEASE_ASSERT(!exceptionState.hadException()); |
13917 *result = cppValue; | 14399 *result = cppValue; |
13918 return true; | 14400 return true; |
(...skipping 15 matching lines...) Expand all Loading... |
13934 ScriptState::Scope scope(scriptState); | 14416 ScriptState::Scope scope(scriptState); |
13935 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); | 14417 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); |
13936 if (holder.IsEmpty()) | 14418 if (holder.IsEmpty()) |
13937 return false; | 14419 return false; |
13938 | 14420 |
13939 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate
Script", "TestObject", scriptState->context()->Global(), scriptState->isolate())
; | 14421 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate
Script", "TestObject", scriptState->context()->Global(), scriptState->isolate())
; |
13940 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn
UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState->
isolate(), cppValue)); | 14422 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn
UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState->
isolate(), cppValue)); |
13941 } | 14423 } |
13942 | 14424 |
13943 } // namespace blink | 14425 } // namespace blink |
OLD | NEW |