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 "config.h" | 7 #include "config.h" |
8 #include "V8TestObject.h" | 8 #include "V8TestObject.h" |
9 | 9 |
10 #include "bindings/core/v8/BindingSecurity.h" | 10 #include "bindings/core/v8/BindingSecurity.h" |
(...skipping 2627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2638 impl->setEnforceRangeLongAttribute(cppValue); | 2638 impl->setEnforceRangeLongAttribute(cppValue); |
2639 } | 2639 } |
2640 | 2640 |
2641 static void enforceRangeLongAttributeAttributeSetterCallback(v8::Local<v8::Strin
g>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) | 2641 static void enforceRangeLongAttributeAttributeSetterCallback(v8::Local<v8::Strin
g>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
2642 { | 2642 { |
2643 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); | 2643 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); |
2644 TestObjectV8Internal::enforceRangeLongAttributeAttributeSetter(v8Value, info
); | 2644 TestObjectV8Internal::enforceRangeLongAttributeAttributeSetter(v8Value, info
); |
2645 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 2645 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
2646 } | 2646 } |
2647 | 2647 |
2648 static void exposeJSAccessorsLongAttributeAttributeGetter(const v8::FunctionCall
backInfo<v8::Value>& info) | 2648 static void exposeJSAccessorsLongAttributeAttributeGetter(const v8::PropertyCall
backInfo<v8::Value>& info) |
2649 { | 2649 { |
2650 v8::Local<v8::Object> holder = info.Holder(); | 2650 v8::Local<v8::Object> holder = info.Holder(); |
2651 TestObject* impl = V8TestObject::toImpl(holder); | 2651 TestObject* impl = V8TestObject::toImpl(holder); |
2652 v8SetReturnValueInt(info, impl->exposeJSAccessorsLongAttribute()); | 2652 v8SetReturnValueInt(info, impl->exposeJSAccessorsLongAttribute()); |
2653 } | 2653 } |
2654 | 2654 |
2655 static void exposeJSAccessorsLongAttributeAttributeGetterCallback(const v8::Func
tionCallbackInfo<v8::Value>& info) | 2655 static void exposeJSAccessorsLongAttributeAttributeGetterCallback(v8::Local<v8::
String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
2656 { | 2656 { |
2657 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); | 2657 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); |
2658 TestObjectV8Internal::exposeJSAccessorsLongAttributeAttributeGetter(info); | 2658 TestObjectV8Internal::exposeJSAccessorsLongAttributeAttributeGetter(info); |
2659 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 2659 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
2660 } | 2660 } |
2661 | 2661 |
2662 static void exposeJSAccessorsLongAttributeAttributeSetter(v8::Local<v8::Value> v
8Value, const v8::FunctionCallbackInfo<v8::Value>& info) | 2662 static void exposeJSAccessorsLongAttributeAttributeSetter(v8::Local<v8::Value> v
8Value, const v8::PropertyCallbackInfo<void>& info) |
2663 { | 2663 { |
2664 v8::Local<v8::Object> holder = info.Holder(); | 2664 v8::Local<v8::Object> holder = info.Holder(); |
2665 ExceptionState exceptionState(ExceptionState::SetterContext, "exposeJSAccess
orsLongAttribute", "TestObject", holder, info.GetIsolate()); | 2665 ExceptionState exceptionState(ExceptionState::SetterContext, "exposeJSAccess
orsLongAttribute", "TestObject", holder, info.GetIsolate()); |
2666 TestObject* impl = V8TestObject::toImpl(holder); | 2666 TestObject* impl = V8TestObject::toImpl(holder); |
2667 int cppValue = toInt32(v8Value, exceptionState); | 2667 int cppValue = toInt32(v8Value, exceptionState); |
2668 if (exceptionState.throwIfNeeded()) | 2668 if (exceptionState.throwIfNeeded()) |
2669 return; | 2669 return; |
2670 impl->setExposeJSAccessorsLongAttribute(cppValue); | 2670 impl->setExposeJSAccessorsLongAttribute(cppValue); |
2671 } | 2671 } |
2672 | 2672 |
2673 static void exposeJSAccessorsLongAttributeAttributeSetterCallback(const v8::Func
tionCallbackInfo<v8::Value>& info) | 2673 static void exposeJSAccessorsLongAttributeAttributeSetterCallback(v8::Local<v8::
String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& inf
o) |
2674 { | 2674 { |
2675 v8::Local<v8::Value> v8Value = info[0]; | |
2676 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); | 2675 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); |
2677 TestObjectV8Internal::exposeJSAccessorsLongAttributeAttributeSetter(v8Value,
info); | 2676 TestObjectV8Internal::exposeJSAccessorsLongAttributeAttributeSetter(v8Value,
info); |
2678 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 2677 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
2679 } | 2678 } |
2680 | 2679 |
2681 static void implementedAsLongAttributeAttributeGetter(const v8::PropertyCallback
Info<v8::Value>& info) | 2680 static void implementedAsLongAttributeAttributeGetter(const v8::PropertyCallback
Info<v8::Value>& info) |
2682 { | 2681 { |
2683 v8::Local<v8::Object> holder = info.Holder(); | 2682 v8::Local<v8::Object> holder = info.Holder(); |
2684 TestObject* impl = V8TestObject::toImpl(holder); | 2683 TestObject* impl = V8TestObject::toImpl(holder); |
2685 v8SetReturnValueInt(info, impl->implementedAsName()); | 2684 v8SetReturnValueInt(info, impl->implementedAsName()); |
(...skipping 1711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4397 TestObjectForceSetAttributeOnThis(propertyName, v8Value, info); | 4396 TestObjectForceSetAttributeOnThis(propertyName, v8Value, info); |
4398 } | 4397 } |
4399 | 4398 |
4400 static void replaceableReadonlyLongAttributeAttributeSetterCallback(v8::Local<v8
::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& i
nfo) | 4399 static void replaceableReadonlyLongAttributeAttributeSetterCallback(v8::Local<v8
::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& i
nfo) |
4401 { | 4400 { |
4402 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); | 4401 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); |
4403 TestObjectV8Internal::replaceableReadonlyLongAttributeAttributeSetter(v8Valu
e, info); | 4402 TestObjectV8Internal::replaceableReadonlyLongAttributeAttributeSetter(v8Valu
e, info); |
4404 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 4403 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
4405 } | 4404 } |
4406 | 4405 |
4407 static void replaceableReadonlyLongAccessorAttributeGetter(const v8::FunctionCal
lbackInfo<v8::Value>& info) | 4406 static void replaceableReadonlyLongAccessorAttributeGetter(const v8::PropertyCal
lbackInfo<v8::Value>& info) |
4408 { | 4407 { |
4409 v8::Local<v8::Object> holder = info.Holder(); | 4408 v8::Local<v8::Object> holder = info.Holder(); |
4410 TestObject* impl = V8TestObject::toImpl(holder); | 4409 TestObject* impl = V8TestObject::toImpl(holder); |
4411 v8SetReturnValueInt(info, impl->replaceableReadonlyLongAccessor()); | 4410 v8SetReturnValueInt(info, impl->replaceableReadonlyLongAccessor()); |
4412 } | 4411 } |
4413 | 4412 |
4414 static void replaceableReadonlyLongAccessorAttributeGetterCallback(const v8::Fun
ctionCallbackInfo<v8::Value>& info) | 4413 static void replaceableReadonlyLongAccessorAttributeGetterCallback(v8::Local<v8:
:String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
4415 { | 4414 { |
4416 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); | 4415 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); |
4417 TestObjectV8Internal::replaceableReadonlyLongAccessorAttributeGetter(info); | 4416 TestObjectV8Internal::replaceableReadonlyLongAccessorAttributeGetter(info); |
4418 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 4417 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
4419 } | 4418 } |
4420 | 4419 |
4421 static void replaceableReadonlyLongAccessorAttributeSetter(v8::Local<v8::Value>
v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) | 4420 static void replaceableReadonlyLongAccessorAttributeSetter(v8::Local<v8::Value>
v8Value, const v8::PropertyCallbackInfo<void>& info) |
4422 { | 4421 { |
4423 v8::Local<v8::String> propertyName = v8AtomicString(info.GetIsolate(), "repl
aceableReadonlyLongAccessor"); | 4422 v8::Local<v8::String> propertyName = v8AtomicString(info.GetIsolate(), "repl
aceableReadonlyLongAccessor"); |
4424 TestObjectForceSetAttributeOnThis(propertyName, v8Value, info); | 4423 TestObjectForceSetAttributeOnThis(propertyName, v8Value, info); |
4425 } | 4424 } |
4426 | 4425 |
4427 static void replaceableReadonlyLongAccessorAttributeSetterCallback(const v8::Fun
ctionCallbackInfo<v8::Value>& info) | 4426 static void replaceableReadonlyLongAccessorAttributeSetterCallback(v8::Local<v8:
:String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& in
fo) |
4428 { | 4427 { |
4429 v8::Local<v8::Value> v8Value = info[0]; | |
4430 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); | 4428 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); |
4431 TestObjectV8Internal::replaceableReadonlyLongAccessorAttributeSetter(v8Value
, info); | 4429 TestObjectV8Internal::replaceableReadonlyLongAccessorAttributeSetter(v8Value
, info); |
4432 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 4430 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
4433 } | 4431 } |
4434 | 4432 |
4435 static void locationPutForwardsAttributeGetter(const v8::PropertyCallbackInfo<v8
::Value>& info) | 4433 static void locationPutForwardsAttributeGetter(const v8::PropertyCallbackInfo<v8
::Value>& info) |
4436 { | 4434 { |
4437 v8::Local<v8::Object> holder = info.Holder(); | 4435 v8::Local<v8::Object> holder = info.Holder(); |
4438 TestObject* impl = V8TestObject::toImpl(holder); | 4436 TestObject* impl = V8TestObject::toImpl(holder); |
4439 v8SetReturnValueFast(info, WTF::getPtr(impl->locationPutForwards()), impl); | 4437 v8SetReturnValueFast(info, WTF::getPtr(impl->locationPutForwards()), impl); |
(...skipping 7705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12145 {"customObjectAttribute", TestObjectV8Internal::customObjectAttributeAttribu
teGetterCallback, TestObjectV8Internal::customObjectAttributeAttributeSetterCall
back, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prop
ertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigur
ation::OnInstance}, | 12143 {"customObjectAttribute", TestObjectV8Internal::customObjectAttributeAttribu
teGetterCallback, TestObjectV8Internal::customObjectAttributeAttributeSetterCall
back, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prop
ertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigur
ation::OnInstance}, |
12146 {"customGetterLongAttribute", TestObjectV8Internal::customGetterLongAttribut
eAttributeGetterCallback, TestObjectV8Internal::customGetterLongAttributeAttribu
teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c
ast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V
8DOMConfiguration::OnInstance}, | 12144 {"customGetterLongAttribute", TestObjectV8Internal::customGetterLongAttribut
eAttributeGetterCallback, TestObjectV8Internal::customGetterLongAttributeAttribu
teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c
ast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V
8DOMConfiguration::OnInstance}, |
12147 {"customGetterReadonlyObjectAttribute", TestObjectV8Internal::customGetterRe
adonlyObjectAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::Access
Control>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfig
uration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 12145 {"customGetterReadonlyObjectAttribute", TestObjectV8Internal::customGetterRe
adonlyObjectAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::Access
Control>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfig
uration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
12148 {"customSetterLongAttribute", TestObjectV8Internal::customSetterLongAttribut
eAttributeGetterCallback, TestObjectV8Internal::customSetterLongAttributeAttribu
teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c
ast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V
8DOMConfiguration::OnInstance}, | 12146 {"customSetterLongAttribute", TestObjectV8Internal::customSetterLongAttribut
eAttributeGetterCallback, TestObjectV8Internal::customSetterLongAttributeAttribu
teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c
ast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V
8DOMConfiguration::OnInstance}, |
12149 #if ENABLE(CONDITION) | 12147 #if ENABLE(CONDITION) |
12150 {"customLongAttribute", TestObjectV8Internal::customLongAttributeAttributeGe
tterCallback, TestObjectV8Internal::customLongAttributeAttributeSetterCallback,
0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAt
tribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration:
:OnInstance}, | 12148 {"customLongAttribute", TestObjectV8Internal::customLongAttributeAttributeGe
tterCallback, TestObjectV8Internal::customLongAttributeAttributeSetterCallback,
0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAt
tribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration:
:OnInstance}, |
12151 #endif // ENABLE(CONDITION) | 12149 #endif // ENABLE(CONDITION) |
12152 {"customElementsCallbacksReadonlyLongAttribute", TestObjectV8Internal::custo
mElementsCallbacksReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0, stat
ic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::
None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 12150 {"customElementsCallbacksReadonlyLongAttribute", TestObjectV8Internal::custo
mElementsCallbacksReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0, stat
ic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::
None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
12153 {"deprecatedLongAttribute", TestObjectV8Internal::deprecatedLongAttributeAtt
ributeGetterCallback, TestObjectV8Internal::deprecatedLongAttributeAttributeSett
erCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8
::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMCo
nfiguration::OnInstance}, | 12151 {"deprecatedLongAttribute", TestObjectV8Internal::deprecatedLongAttributeAtt
ributeGetterCallback, TestObjectV8Internal::deprecatedLongAttributeAttributeSett
erCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8
::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMCo
nfiguration::OnInstance}, |
12154 {"enforceRangeLongAttribute", TestObjectV8Internal::enforceRangeLongAttribut
eAttributeGetterCallback, TestObjectV8Internal::enforceRangeLongAttributeAttribu
teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c
ast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V
8DOMConfiguration::OnInstance}, | 12152 {"enforceRangeLongAttribute", TestObjectV8Internal::enforceRangeLongAttribut
eAttributeGetterCallback, TestObjectV8Internal::enforceRangeLongAttributeAttribu
teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c
ast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V
8DOMConfiguration::OnInstance}, |
| 12153 {"exposeJSAccessorsLongAttribute", TestObjectV8Internal::exposeJSAccessorsLo
ngAttributeAttributeGetterCallback, TestObjectV8Internal::exposeJSAccessorsLongA
ttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEF
AULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Exposed
ToAllScripts, V8DOMConfiguration::OnInstance}, |
12155 {"implementedAsLongAttribute", TestObjectV8Internal::implementedAsLongAttrib
uteAttributeGetterCallback, TestObjectV8Internal::implementedAsLongAttributeAttr
ibuteSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stati
c_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts
, V8DOMConfiguration::OnInstance}, | 12154 {"implementedAsLongAttribute", TestObjectV8Internal::implementedAsLongAttrib
uteAttributeGetterCallback, TestObjectV8Internal::implementedAsLongAttributeAttr
ibuteSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stati
c_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts
, V8DOMConfiguration::OnInstance}, |
12156 {"customImplementedAsLongAttribute", TestObjectV8Internal::customImplemented
AsLongAttributeAttributeGetterCallback, TestObjectV8Internal::customImplementedA
sLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v
8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::E
xposedToAllScripts, V8DOMConfiguration::OnInstance}, | 12155 {"customImplementedAsLongAttribute", TestObjectV8Internal::customImplemented
AsLongAttributeAttributeGetterCallback, TestObjectV8Internal::customImplementedA
sLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v
8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::E
xposedToAllScripts, V8DOMConfiguration::OnInstance}, |
12157 {"customGetterImplementedAsLongAttribute", TestObjectV8Internal::customGette
rImplementedAsLongAttributeAttributeGetterCallback, TestObjectV8Internal::custom
GetterImplementedAsLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8
::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8D
OMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 12156 {"customGetterImplementedAsLongAttribute", TestObjectV8Internal::customGette
rImplementedAsLongAttributeAttributeGetterCallback, TestObjectV8Internal::custom
GetterImplementedAsLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8
::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8D
OMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
12158 {"customSetterImplementedAsLongAttribute", TestObjectV8Internal::customSette
rImplementedAsLongAttributeAttributeGetterCallback, TestObjectV8Internal::custom
SetterImplementedAsLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8
::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8D
OMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 12157 {"customSetterImplementedAsLongAttribute", TestObjectV8Internal::customSette
rImplementedAsLongAttributeAttributeGetterCallback, TestObjectV8Internal::custom
SetterImplementedAsLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8
::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8D
OMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
12159 {"measureAsLongAttribute", TestObjectV8Internal::measureAsLongAttributeAttri
buteGetterCallback, TestObjectV8Internal::measureAsLongAttributeAttributeSetterC
allback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::P
ropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfi
guration::OnInstance}, | 12158 {"measureAsLongAttribute", TestObjectV8Internal::measureAsLongAttributeAttri
buteGetterCallback, TestObjectV8Internal::measureAsLongAttributeAttributeSetterC
allback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::P
ropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfi
guration::OnInstance}, |
12160 {"notEnumerableLongAttribute", TestObjectV8Internal::notEnumerableLongAttrib
uteAttributeGetterCallback, TestObjectV8Internal::notEnumerableLongAttributeAttr
ibuteSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stati
c_cast<v8::PropertyAttribute>(v8::DontEnum), V8DOMConfiguration::ExposedToAllScr
ipts, V8DOMConfiguration::OnInstance}, | 12159 {"notEnumerableLongAttribute", TestObjectV8Internal::notEnumerableLongAttrib
uteAttributeGetterCallback, TestObjectV8Internal::notEnumerableLongAttributeAttr
ibuteSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stati
c_cast<v8::PropertyAttribute>(v8::DontEnum), V8DOMConfiguration::ExposedToAllScr
ipts, V8DOMConfiguration::OnInstance}, |
12161 {"perWorldBindingsReadonlyTestInterfaceEmptyAttribute", TestObjectV8Internal
::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetterCallback, 0,
TestObjectV8Internal::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttrib
uteGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT)
, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAll
Scripts, V8DOMConfiguration::OnInstance}, | 12160 {"perWorldBindingsReadonlyTestInterfaceEmptyAttribute", TestObjectV8Internal
::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetterCallback, 0,
TestObjectV8Internal::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttrib
uteGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT)
, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAll
Scripts, V8DOMConfiguration::OnInstance}, |
12162 {"activityLoggingAccessPerWorldBindingsLongAttribute", TestObjectV8Internal:
:activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterCallback, Test
ObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttributeAttributeSet
terCallback, TestObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttr
ibuteAttributeGetterCallbackForMainWorld, TestObjectV8Internal::activityLoggingA
ccessPerWorldBindingsLongAttributeAttributeSetterCallbackForMainWorld, 0, static
_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No
ne), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 12161 {"activityLoggingAccessPerWorldBindingsLongAttribute", TestObjectV8Internal:
:activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterCallback, Test
ObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttributeAttributeSet
terCallback, TestObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttr
ibuteAttributeGetterCallbackForMainWorld, TestObjectV8Internal::activityLoggingA
ccessPerWorldBindingsLongAttributeAttributeSetterCallbackForMainWorld, 0, static
_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No
ne), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
12163 {"activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute", Test
ObjectV8Internal::activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttr
ibuteAttributeGetterCallback, TestObjectV8Internal::activityLoggingAccessForIsol
atedWorldsPerWorldBindingsLongAttributeAttributeSetterCallback, TestObjectV8Inte
rnal::activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeAttribu
teGetterCallbackForMainWorld, TestObjectV8Internal::activityLoggingAccessForIsol
atedWorldsPerWorldBindingsLongAttributeAttributeSetterCallbackForMainWorld, 0, s
tatic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v
8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstanc
e}, | 12162 {"activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute", Test
ObjectV8Internal::activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttr
ibuteAttributeGetterCallback, TestObjectV8Internal::activityLoggingAccessForIsol
atedWorldsPerWorldBindingsLongAttributeAttributeSetterCallback, TestObjectV8Inte
rnal::activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeAttribu
teGetterCallbackForMainWorld, TestObjectV8Internal::activityLoggingAccessForIsol
atedWorldsPerWorldBindingsLongAttributeAttributeSetterCallbackForMainWorld, 0, s
tatic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v
8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstanc
e}, |
12164 {"activityLoggingGetterPerWorldBindingsLongAttribute", TestObjectV8Internal:
:activityLoggingGetterPerWorldBindingsLongAttributeAttributeGetterCallback, Test
ObjectV8Internal::activityLoggingGetterPerWorldBindingsLongAttributeAttributeSet
terCallback, TestObjectV8Internal::activityLoggingGetterPerWorldBindingsLongAttr
ibuteAttributeGetterCallbackForMainWorld, TestObjectV8Internal::activityLoggingG
etterPerWorldBindingsLongAttributeAttributeSetterCallbackForMainWorld, 0, static
_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No
ne), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 12163 {"activityLoggingGetterPerWorldBindingsLongAttribute", TestObjectV8Internal:
:activityLoggingGetterPerWorldBindingsLongAttributeAttributeGetterCallback, Test
ObjectV8Internal::activityLoggingGetterPerWorldBindingsLongAttributeAttributeSet
terCallback, TestObjectV8Internal::activityLoggingGetterPerWorldBindingsLongAttr
ibuteAttributeGetterCallbackForMainWorld, TestObjectV8Internal::activityLoggingG
etterPerWorldBindingsLongAttributeAttributeSetterCallbackForMainWorld, 0, static
_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No
ne), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
(...skipping 24 matching lines...) Expand all Loading... |
12189 {"reflectedName", TestObjectV8Internal::reflectedNameAttributeGetterCallback
, TestObjectV8Internal::reflectedNameAttributeSetterCallback, 0, 0, 0, static_ca
st<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None)
, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 12188 {"reflectedName", TestObjectV8Internal::reflectedNameAttributeGetterCallback
, TestObjectV8Internal::reflectedNameAttributeSetterCallback, 0, 0, 0, static_ca
st<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None)
, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
12190 {"reflectedClass", TestObjectV8Internal::reflectedClassAttributeGetterCallba
ck, TestObjectV8Internal::reflectedClassAttributeSetterCallback, 0, 0, 0, static
_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No
ne), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 12189 {"reflectedClass", TestObjectV8Internal::reflectedClassAttributeGetterCallba
ck, TestObjectV8Internal::reflectedClassAttributeSetterCallback, 0, 0, 0, static
_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No
ne), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
12191 {"limitedToOnlyOneAttribute", TestObjectV8Internal::limitedToOnlyOneAttribut
eAttributeGetterCallback, TestObjectV8Internal::limitedToOnlyOneAttributeAttribu
teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c
ast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V
8DOMConfiguration::OnInstance}, | 12190 {"limitedToOnlyOneAttribute", TestObjectV8Internal::limitedToOnlyOneAttribut
eAttributeGetterCallback, TestObjectV8Internal::limitedToOnlyOneAttributeAttribu
teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c
ast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V
8DOMConfiguration::OnInstance}, |
12192 {"limitedToOnlyAttribute", TestObjectV8Internal::limitedToOnlyAttributeAttri
buteGetterCallback, TestObjectV8Internal::limitedToOnlyAttributeAttributeSetterC
allback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::P
ropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfi
guration::OnInstance}, | 12191 {"limitedToOnlyAttribute", TestObjectV8Internal::limitedToOnlyAttributeAttri
buteGetterCallback, TestObjectV8Internal::limitedToOnlyAttributeAttributeSetterC
allback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::P
ropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfi
guration::OnInstance}, |
12193 {"limitedToOnlyOtherAttribute", TestObjectV8Internal::limitedToOnlyOtherAttr
ibuteAttributeGetterCallback, TestObjectV8Internal::limitedToOnlyOtherAttributeA
ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st
atic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScri
pts, V8DOMConfiguration::OnInstance}, | 12192 {"limitedToOnlyOtherAttribute", TestObjectV8Internal::limitedToOnlyOtherAttr
ibuteAttributeGetterCallback, TestObjectV8Internal::limitedToOnlyOtherAttributeA
ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st
atic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScri
pts, V8DOMConfiguration::OnInstance}, |
12194 {"limitedWithMissingDefaultAttribute", TestObjectV8Internal::limitedWithMiss
ingDefaultAttributeAttributeGetterCallback, TestObjectV8Internal::limitedWithMis
singDefaultAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCont
rol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigurat
ion::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 12193 {"limitedWithMissingDefaultAttribute", TestObjectV8Internal::limitedWithMiss
ingDefaultAttributeAttributeGetterCallback, TestObjectV8Internal::limitedWithMis
singDefaultAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCont
rol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigurat
ion::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
12195 {"limitedWithInvalidMissingDefaultAttribute", TestObjectV8Internal::limitedW
ithInvalidMissingDefaultAttributeAttributeGetterCallback, TestObjectV8Internal::
limitedWithInvalidMissingDefaultAttributeAttributeSetterCallback, 0, 0, 0, stati
c_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::N
one), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 12194 {"limitedWithInvalidMissingDefaultAttribute", TestObjectV8Internal::limitedW
ithInvalidMissingDefaultAttributeAttributeGetterCallback, TestObjectV8Internal::
limitedWithInvalidMissingDefaultAttributeAttributeSetterCallback, 0, 0, 0, stati
c_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::N
one), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
12196 {"corsSettingAttribute", TestObjectV8Internal::corsSettingAttributeAttribute
GetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_
cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts,
V8DOMConfiguration::OnInstance}, | 12195 {"corsSettingAttribute", TestObjectV8Internal::corsSettingAttributeAttribute
GetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_
cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts,
V8DOMConfiguration::OnInstance}, |
12197 {"limitedWithEmptyMissingInvalidAttribute", TestObjectV8Internal::limitedWit
hEmptyMissingInvalidAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8
::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8D
OMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 12196 {"limitedWithEmptyMissingInvalidAttribute", TestObjectV8Internal::limitedWit
hEmptyMissingInvalidAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8
::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8D
OMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
12198 {"replaceableReadonlyLongAttribute", TestObjectV8Internal::replaceableReadon
lyLongAttributeAttributeGetterCallback, TestObjectV8Internal::replaceableReadonl
yLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v
8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::E
xposedToAllScripts, V8DOMConfiguration::OnInstance}, | 12197 {"replaceableReadonlyLongAttribute", TestObjectV8Internal::replaceableReadon
lyLongAttributeAttributeGetterCallback, TestObjectV8Internal::replaceableReadonl
yLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v
8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::E
xposedToAllScripts, V8DOMConfiguration::OnInstance}, |
| 12198 {"replaceableReadonlyLongAccessor", TestObjectV8Internal::replaceableReadonl
yLongAccessorAttributeGetterCallback, TestObjectV8Internal::replaceableReadonlyL
ongAccessorAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::
DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Expo
sedToAllScripts, V8DOMConfiguration::OnInstance}, |
12199 {"locationPutForwards", TestObjectV8Internal::locationPutForwardsAttributeGe
tterCallback, TestObjectV8Internal::locationPutForwardsAttributeSetterCallback,
0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAt
tribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration:
:OnInstance}, | 12199 {"locationPutForwards", TestObjectV8Internal::locationPutForwardsAttributeGe
tterCallback, TestObjectV8Internal::locationPutForwardsAttributeSetterCallback,
0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAt
tribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration:
:OnInstance}, |
12200 {"setterCallWithActiveWindowAndFirstWindowStringAttribute", TestObjectV8Inte
rnal::setterCallWithActiveWindowAndFirstWindowStringAttributeAttributeGetterCall
back, TestObjectV8Internal::setterCallWithActiveWindowAndFirstWindowStringAttrib
uteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT)
, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAll
Scripts, V8DOMConfiguration::OnInstance}, | 12200 {"setterCallWithActiveWindowAndFirstWindowStringAttribute", TestObjectV8Inte
rnal::setterCallWithActiveWindowAndFirstWindowStringAttributeAttributeGetterCall
back, TestObjectV8Internal::setterCallWithActiveWindowAndFirstWindowStringAttrib
uteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT)
, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAll
Scripts, V8DOMConfiguration::OnInstance}, |
12201 {"setterCallWithExecutionContextStringAttribute", TestObjectV8Internal::sett
erCallWithExecutionContextStringAttributeAttributeGetterCallback, TestObjectV8In
ternal::setterCallWithExecutionContextStringAttributeAttributeSetterCallback, 0,
0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttr
ibute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::O
nInstance}, | 12201 {"setterCallWithExecutionContextStringAttribute", TestObjectV8Internal::sett
erCallWithExecutionContextStringAttributeAttributeGetterCallback, TestObjectV8In
ternal::setterCallWithExecutionContextStringAttributeAttributeSetterCallback, 0,
0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttr
ibute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::O
nInstance}, |
12202 {"treatNullAsEmptyStringStringAttribute", TestObjectV8Internal::treatNullAsE
mptyStringStringAttributeAttributeGetterCallback, TestObjectV8Internal::treatNul
lAsEmptyStringStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::A
ccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMC
onfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 12202 {"treatNullAsEmptyStringStringAttribute", TestObjectV8Internal::treatNullAsE
mptyStringStringAttributeAttributeGetterCallback, TestObjectV8Internal::treatNul
lAsEmptyStringStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::A
ccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMC
onfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
12203 {"treatNullAsNullStringStringAttribute", TestObjectV8Internal::treatNullAsNu
llStringStringAttributeAttributeGetterCallback, TestObjectV8Internal::treatNullA
sNullStringStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce
ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConf
iguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 12203 {"treatNullAsNullStringStringAttribute", TestObjectV8Internal::treatNullAsNu
llStringStringAttributeAttributeGetterCallback, TestObjectV8Internal::treatNullA
sNullStringStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce
ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConf
iguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
12204 {"treatReturnedNullStringAsNullStringAttribute", TestObjectV8Internal::treat
ReturnedNullStringAsNullStringAttributeAttributeGetterCallback, TestObjectV8Inte
rnal::treatReturnedNullStringAsNullStringAttributeAttributeSetterCallback, 0, 0,
0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu
te>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnIn
stance}, | 12204 {"treatReturnedNullStringAsNullStringAttribute", TestObjectV8Internal::treat
ReturnedNullStringAsNullStringAttributeAttributeGetterCallback, TestObjectV8Inte
rnal::treatReturnedNullStringAsNullStringAttributeAttributeSetterCallback, 0, 0,
0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu
te>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnIn
stance}, |
12205 {"treatReturnedNullStringAsUndefinedStringAttribute", TestObjectV8Internal::
treatReturnedNullStringAsUndefinedStringAttributeAttributeGetterCallback, TestOb
jectV8Internal::treatReturnedNullStringAsUndefinedStringAttributeAttributeSetter
Callback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::
PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConf
iguration::OnInstance}, | 12205 {"treatReturnedNullStringAsUndefinedStringAttribute", TestObjectV8Internal::
treatReturnedNullStringAsUndefinedStringAttributeAttributeGetterCallback, TestOb
jectV8Internal::treatReturnedNullStringAsUndefinedStringAttributeAttributeSetter
Callback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::
PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConf
iguration::OnInstance}, |
12206 {"cachedTreatReturnedNullStringAsUndefinedStringAttribute", TestObjectV8Inte
rnal::cachedTreatReturnedNullStringAsUndefinedStringAttributeAttributeGetterCall
back, TestObjectV8Internal::cachedTreatReturnedNullStringAsUndefinedStringAttrib
uteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT)
, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAll
Scripts, V8DOMConfiguration::OnInstance}, | 12206 {"cachedTreatReturnedNullStringAsUndefinedStringAttribute", TestObjectV8Inte
rnal::cachedTreatReturnedNullStringAsUndefinedStringAttributeAttributeGetterCall
back, TestObjectV8Internal::cachedTreatReturnedNullStringAsUndefinedStringAttrib
uteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT)
, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAll
Scripts, V8DOMConfiguration::OnInstance}, |
12207 {"treatReturnedNullStringAsNullByteStringAttribute", TestObjectV8Internal::t
reatReturnedNullStringAsNullByteStringAttributeAttributeGetterCallback, TestObje
ctV8Internal::treatReturnedNullStringAsNullByteStringAttributeAttributeSetterCal
lback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Pro
pertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigu
ration::OnInstance}, | 12207 {"treatReturnedNullStringAsNullByteStringAttribute", TestObjectV8Internal::t
reatReturnedNullStringAsNullByteStringAttributeAttributeGetterCallback, TestObje
ctV8Internal::treatReturnedNullStringAsNullByteStringAttributeAttributeSetterCal
lback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Pro
pertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigu
ration::OnInstance}, |
12208 {"treatReturnedNullStringAsUndefinedByteStringAttribute", TestObjectV8Intern
al::treatReturnedNullStringAsUndefinedByteStringAttributeAttributeGetterCallback
, TestObjectV8Internal::treatReturnedNullStringAsUndefinedByteStringAttributeAtt
ributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stat
ic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScript
s, V8DOMConfiguration::OnInstance}, | 12208 {"treatReturnedNullStringAsUndefinedByteStringAttribute", TestObjectV8Intern
al::treatReturnedNullStringAsUndefinedByteStringAttributeAttributeGetterCallback
, TestObjectV8Internal::treatReturnedNullStringAsUndefinedByteStringAttributeAtt
ributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stat
ic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScript
s, V8DOMConfiguration::OnInstance}, |
(...skipping 13 matching lines...) Expand all Loading... |
12222 {"testInterfaceWillBeGarbageCollectedAttribute", TestObjectV8Internal::testI
nterfaceWillBeGarbageCollectedAttributeAttributeGetterCallback, TestObjectV8Inte
rnal::testInterfaceWillBeGarbageCollectedAttributeAttributeSetterCallback, 0, 0,
0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu
te>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnIn
stance}, | 12222 {"testInterfaceWillBeGarbageCollectedAttribute", TestObjectV8Internal::testI
nterfaceWillBeGarbageCollectedAttributeAttributeGetterCallback, TestObjectV8Inte
rnal::testInterfaceWillBeGarbageCollectedAttributeAttributeSetterCallback, 0, 0,
0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu
te>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnIn
stance}, |
12223 {"testInterfaceWillBeGarbageCollectedOrNullAttribute", TestObjectV8Internal:
:testInterfaceWillBeGarbageCollectedOrNullAttributeAttributeGetterCallback, Test
ObjectV8Internal::testInterfaceWillBeGarbageCollectedOrNullAttributeAttributeSet
terCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v
8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMC
onfiguration::OnInstance}, | 12223 {"testInterfaceWillBeGarbageCollectedOrNullAttribute", TestObjectV8Internal:
:testInterfaceWillBeGarbageCollectedOrNullAttributeAttributeGetterCallback, Test
ObjectV8Internal::testInterfaceWillBeGarbageCollectedOrNullAttributeAttributeSet
terCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v
8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMC
onfiguration::OnInstance}, |
12224 {"readonlyShortAttribute", TestObjectV8Internal::readonlyShortAttributeAttri
buteGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), sta
tic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScrip
ts, V8DOMConfiguration::OnInstance}, | 12224 {"readonlyShortAttribute", TestObjectV8Internal::readonlyShortAttributeAttri
buteGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), sta
tic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScrip
ts, V8DOMConfiguration::OnInstance}, |
12225 {"shortAttribute", TestObjectV8Internal::shortAttributeAttributeGetterCallba
ck, TestObjectV8Internal::shortAttributeAttributeSetterCallback, 0, 0, 0, static
_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No
ne), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 12225 {"shortAttribute", TestObjectV8Internal::shortAttributeAttributeGetterCallba
ck, TestObjectV8Internal::shortAttributeAttributeSetterCallback, 0, 0, 0, static
_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No
ne), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
12226 {"stringAttribute", TestObjectV8Internal::stringAttributeAttributeGetterCall
back, TestObjectV8Internal::stringAttributeAttributeSetterCallback, 0, 0, 0, sta
tic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8:
:None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}
, | 12226 {"stringAttribute", TestObjectV8Internal::stringAttributeAttributeGetterCall
back, TestObjectV8Internal::stringAttributeAttributeSetterCallback, 0, 0, 0, sta
tic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8:
:None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}
, |
12227 {"nodeAttribute", TestObjectV8Internal::nodeAttributeAttributeGetterCallback
, TestObjectV8Internal::nodeAttributeAttributeSetterCallback, 0, 0, 0, static_ca
st<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None)
, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 12227 {"nodeAttribute", TestObjectV8Internal::nodeAttributeAttributeGetterCallback
, TestObjectV8Internal::nodeAttributeAttributeSetterCallback, 0, 0, 0, static_ca
st<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None)
, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
12228 {"attributeImplementedInCPPForPrivateScriptOnly", TestObjectV8Internal::attr
ibuteImplementedInCPPForPrivateScriptOnlyAttributeGetterCallback, TestObjectV8In
ternal::attributeImplementedInCPPForPrivateScriptOnlyAttributeSetterCallback, 0,
0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttr
ibute>(v8::None), V8DOMConfiguration::OnlyExposedToPrivateScript, V8DOMConfigura
tion::OnInstance}, | 12228 {"attributeImplementedInCPPForPrivateScriptOnly", TestObjectV8Internal::attr
ibuteImplementedInCPPForPrivateScriptOnlyAttributeGetterCallback, TestObjectV8In
ternal::attributeImplementedInCPPForPrivateScriptOnlyAttributeSetterCallback, 0,
0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttr
ibute>(v8::None), V8DOMConfiguration::OnlyExposedToPrivateScript, V8DOMConfigura
tion::OnInstance}, |
12229 {"enumForPrivateScript", TestObjectV8Internal::enumForPrivateScriptAttribute
GetterCallback, TestObjectV8Internal::enumForPrivateScriptAttributeSetterCallbac
k, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Propert
yAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigurati
on::OnInstance}, | 12229 {"enumForPrivateScript", TestObjectV8Internal::enumForPrivateScriptAttribute
GetterCallback, TestObjectV8Internal::enumForPrivateScriptAttributeSetterCallbac
k, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Propert
yAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigurati
on::OnInstance}, |
12230 }; | 12230 }; |
12231 | 12231 |
12232 static const V8DOMConfiguration::AccessorConfiguration V8TestObjectAccessors[] =
{ | |
12233 {"exposeJSAccessorsLongAttribute", TestObjectV8Internal::exposeJSAccessorsLo
ngAttributeAttributeGetterCallback, TestObjectV8Internal::exposeJSAccessorsLongA
ttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEF
AULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Exposed
ToAllScripts}, | |
12234 {"replaceableReadonlyLongAccessor", TestObjectV8Internal::replaceableReadonl
yLongAccessorAttributeGetterCallback, TestObjectV8Internal::replaceableReadonlyL
ongAccessorAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::
DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Expo
sedToAllScripts}, | |
12235 }; | |
12236 | |
12237 static const V8DOMConfiguration::MethodConfiguration V8TestObjectMethods[] = { | 12232 static const V8DOMConfiguration::MethodConfiguration V8TestObjectMethods[] = { |
12238 {"voidMethod", TestObjectV8Internal::voidMethodMethodCallback, 0, 0, V8DOMCo
nfiguration::ExposedToAllScripts}, | 12233 {"voidMethod", TestObjectV8Internal::voidMethodMethodCallback, 0, 0, V8DOMCo
nfiguration::ExposedToAllScripts}, |
12239 {"dateMethod", TestObjectV8Internal::dateMethodMethodCallback, 0, 0, V8DOMCo
nfiguration::ExposedToAllScripts}, | 12234 {"dateMethod", TestObjectV8Internal::dateMethodMethodCallback, 0, 0, V8DOMCo
nfiguration::ExposedToAllScripts}, |
12240 {"stringMethod", TestObjectV8Internal::stringMethodMethodCallback, 0, 0, V8D
OMConfiguration::ExposedToAllScripts}, | 12235 {"stringMethod", TestObjectV8Internal::stringMethodMethodCallback, 0, 0, V8D
OMConfiguration::ExposedToAllScripts}, |
12241 {"byteStringMethod", TestObjectV8Internal::byteStringMethodMethodCallback, 0
, 0, V8DOMConfiguration::ExposedToAllScripts}, | 12236 {"byteStringMethod", TestObjectV8Internal::byteStringMethodMethodCallback, 0
, 0, V8DOMConfiguration::ExposedToAllScripts}, |
12242 {"usvStringMethod", TestObjectV8Internal::usvStringMethodMethodCallback, 0,
0, V8DOMConfiguration::ExposedToAllScripts}, | 12237 {"usvStringMethod", TestObjectV8Internal::usvStringMethodMethodCallback, 0,
0, V8DOMConfiguration::ExposedToAllScripts}, |
12243 {"readonlyDOMTimeStampMethod", TestObjectV8Internal::readonlyDOMTimeStampMet
hodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, | 12238 {"readonlyDOMTimeStampMethod", TestObjectV8Internal::readonlyDOMTimeStampMet
hodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, |
12244 {"booleanMethod", TestObjectV8Internal::booleanMethodMethodCallback, 0, 0, V
8DOMConfiguration::ExposedToAllScripts}, | 12239 {"booleanMethod", TestObjectV8Internal::booleanMethodMethodCallback, 0, 0, V
8DOMConfiguration::ExposedToAllScripts}, |
12245 {"byteMethod", TestObjectV8Internal::byteMethodMethodCallback, 0, 0, V8DOMCo
nfiguration::ExposedToAllScripts}, | 12240 {"byteMethod", TestObjectV8Internal::byteMethodMethodCallback, 0, 0, V8DOMCo
nfiguration::ExposedToAllScripts}, |
12246 {"doubleMethod", TestObjectV8Internal::doubleMethodMethodCallback, 0, 0, V8D
OMConfiguration::ExposedToAllScripts}, | 12241 {"doubleMethod", TestObjectV8Internal::doubleMethodMethodCallback, 0, 0, V8D
OMConfiguration::ExposedToAllScripts}, |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12476 {"toString", TestObjectV8Internal::toStringMethodCallback, 0, 0, V8DOMConfig
uration::ExposedToAllScripts}, | 12471 {"toString", TestObjectV8Internal::toStringMethodCallback, 0, 0, V8DOMConfig
uration::ExposedToAllScripts}, |
12477 }; | 12472 }; |
12478 | 12473 |
12479 static void installV8TestObjectTemplate(v8::Local<v8::FunctionTemplate> function
Template, v8::Isolate* isolate) | 12474 static void installV8TestObjectTemplate(v8::Local<v8::FunctionTemplate> function
Template, v8::Isolate* isolate) |
12480 { | 12475 { |
12481 functionTemplate->ReadOnlyPrototype(); | 12476 functionTemplate->ReadOnlyPrototype(); |
12482 | 12477 |
12483 v8::Local<v8::Signature> defaultSignature; | 12478 v8::Local<v8::Signature> defaultSignature; |
12484 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestObject", v8::Local<v8::FunctionTemplate>(), V8TestObject::int
ernalFieldCount, | 12479 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestObject", v8::Local<v8::FunctionTemplate>(), V8TestObject::int
ernalFieldCount, |
12485 V8TestObjectAttributes, WTF_ARRAY_LENGTH(V8TestObjectAttributes), | 12480 V8TestObjectAttributes, WTF_ARRAY_LENGTH(V8TestObjectAttributes), |
12486 V8TestObjectAccessors, WTF_ARRAY_LENGTH(V8TestObjectAccessors), | 12481 0, 0, |
12487 V8TestObjectMethods, WTF_ARRAY_LENGTH(V8TestObjectMethods)); | 12482 V8TestObjectMethods, WTF_ARRAY_LENGTH(V8TestObjectMethods)); |
12488 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); | 12483 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); |
12489 ALLOW_UNUSED_LOCAL(instanceTemplate); | 12484 ALLOW_UNUSED_LOCAL(instanceTemplate); |
12490 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
eTemplate(); | 12485 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
eTemplate(); |
12491 ALLOW_UNUSED_LOCAL(prototypeTemplate); | 12486 ALLOW_UNUSED_LOCAL(prototypeTemplate); |
12492 if (RuntimeEnabledFeatures::featureNameEnabled()) { | 12487 if (RuntimeEnabledFeatures::featureNameEnabled()) { |
12493 static const V8DOMConfiguration::AttributeConfiguration attributeConfigu
ration =\ | 12488 static const V8DOMConfiguration::AttributeConfiguration attributeConfigu
ration =\ |
12494 {"runtimeEnabledLongAttribute", TestObjectV8Internal::runtimeEnabledLong
AttributeAttributeGetterCallback, TestObjectV8Internal::runtimeEnabledLongAttrib
uteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT)
, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAll
Scripts, V8DOMConfiguration::OnInstance}; | 12489 {"runtimeEnabledLongAttribute", TestObjectV8Internal::runtimeEnabledLong
AttributeAttributeGetterCallback, TestObjectV8Internal::runtimeEnabledLongAttrib
uteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT)
, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAll
Scripts, V8DOMConfiguration::OnInstance}; |
12495 V8DOMConfiguration::installAttribute(isolate, instanceTemplate, prototyp
eTemplate, attributeConfiguration); | 12490 V8DOMConfiguration::installAttribute(isolate, instanceTemplate, prototyp
eTemplate, attributeConfiguration); |
12496 } | 12491 } |
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13156 return false; | 13151 return false; |
13157 | 13152 |
13158 ScriptState::Scope scope(scriptState); | 13153 ScriptState::Scope scope(scriptState); |
13159 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); | 13154 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); |
13160 | 13155 |
13161 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate
Script", "TestObject", scriptState->context()->Global(), scriptState->isolate())
; | 13156 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate
Script", "TestObject", scriptState->context()->Global(), scriptState->isolate())
; |
13162 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn
UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState->
isolate(), cppValue)); | 13157 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn
UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState->
isolate(), cppValue)); |
13163 } | 13158 } |
13164 | 13159 |
13165 } // namespace blink | 13160 } // namespace blink |
OLD | NEW |