| 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 "HTMLNames.h" | 10 #include "HTMLNames.h" |
| (...skipping 6830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6841 switch (std::min(2, info.Length())) { | 6841 switch (std::min(2, info.Length())) { |
| 6842 case 1: | 6842 case 1: |
| 6843 if (info[0]->IsNumber()) { | 6843 if (info[0]->IsNumber()) { |
| 6844 overloadedMethodB1Method(info); | 6844 overloadedMethodB1Method(info); |
| 6845 return; | 6845 return; |
| 6846 } | 6846 } |
| 6847 if (true) { | 6847 if (true) { |
| 6848 overloadedMethodB2Method(info); | 6848 overloadedMethodB2Method(info); |
| 6849 return; | 6849 return; |
| 6850 } | 6850 } |
| 6851 if (true) { |
| 6852 overloadedMethodB1Method(info); |
| 6853 return; |
| 6854 } |
| 6851 break; | 6855 break; |
| 6852 case 2: | 6856 case 2: |
| 6853 if (true) { | 6857 if (true) { |
| 6854 overloadedMethodB2Method(info); | 6858 overloadedMethodB2Method(info); |
| 6855 return; | 6859 return; |
| 6856 } | 6860 } |
| 6857 break; | 6861 break; |
| 6858 default: | 6862 default: |
| 6859 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i
nfo.Length())); | 6863 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i
nfo.Length())); |
| 6860 exceptionState.throwIfNeeded(); | 6864 exceptionState.throwIfNeeded(); |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7086 return; | 7090 return; |
| 7087 } | 7091 } |
| 7088 if (info[0]->IsNumber()) { | 7092 if (info[0]->IsNumber()) { |
| 7089 overloadedMethodF2Method(info); | 7093 overloadedMethodF2Method(info); |
| 7090 return; | 7094 return; |
| 7091 } | 7095 } |
| 7092 if (true) { | 7096 if (true) { |
| 7093 overloadedMethodF1Method(info); | 7097 overloadedMethodF1Method(info); |
| 7094 return; | 7098 return; |
| 7095 } | 7099 } |
| 7100 if (true) { |
| 7101 overloadedMethodF2Method(info); |
| 7102 return; |
| 7103 } |
| 7096 break; | 7104 break; |
| 7097 default: | 7105 default: |
| 7098 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i
nfo.Length())); | 7106 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i
nfo.Length())); |
| 7099 exceptionState.throwIfNeeded(); | 7107 exceptionState.throwIfNeeded(); |
| 7100 return; | 7108 return; |
| 7101 } | 7109 } |
| 7102 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); | 7110 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); |
| 7103 exceptionState.throwIfNeeded(); | 7111 exceptionState.throwIfNeeded(); |
| 7104 } | 7112 } |
| 7105 | 7113 |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7254 switch (std::min(1, info.Length())) { | 7262 switch (std::min(1, info.Length())) { |
| 7255 case 1: | 7263 case 1: |
| 7256 if (info[0]->IsNumber()) { | 7264 if (info[0]->IsNumber()) { |
| 7257 overloadedMethodI2Method(info); | 7265 overloadedMethodI2Method(info); |
| 7258 return; | 7266 return; |
| 7259 } | 7267 } |
| 7260 if (true) { | 7268 if (true) { |
| 7261 overloadedMethodI1Method(info); | 7269 overloadedMethodI1Method(info); |
| 7262 return; | 7270 return; |
| 7263 } | 7271 } |
| 7272 if (true) { |
| 7273 overloadedMethodI2Method(info); |
| 7274 return; |
| 7275 } |
| 7264 break; | 7276 break; |
| 7265 default: | 7277 default: |
| 7266 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i
nfo.Length())); | 7278 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i
nfo.Length())); |
| 7267 exceptionState.throwIfNeeded(); | 7279 exceptionState.throwIfNeeded(); |
| 7268 return; | 7280 return; |
| 7269 } | 7281 } |
| 7270 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); | 7282 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); |
| 7271 exceptionState.throwIfNeeded(); | 7283 exceptionState.throwIfNeeded(); |
| 7272 } | 7284 } |
| 7273 | 7285 |
| (...skipping 1434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8708 impl->perWorldBindingsRuntimeEnabledVoidMethod(); | 8720 impl->perWorldBindingsRuntimeEnabledVoidMethod(); |
| 8709 } | 8721 } |
| 8710 | 8722 |
| 8711 static void perWorldBindingsRuntimeEnabledVoidMethodMethodCallbackForMainWorld(c
onst v8::FunctionCallbackInfo<v8::Value>& info) | 8723 static void perWorldBindingsRuntimeEnabledVoidMethodMethodCallbackForMainWorld(c
onst v8::FunctionCallbackInfo<v8::Value>& info) |
| 8712 { | 8724 { |
| 8713 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 8725 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 8714 TestObjectV8Internal::perWorldBindingsRuntimeEnabledVoidMethodMethodForMainW
orld(info); | 8726 TestObjectV8Internal::perWorldBindingsRuntimeEnabledVoidMethodMethodForMainW
orld(info); |
| 8715 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 8727 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 8716 } | 8728 } |
| 8717 | 8729 |
| 8730 static void runtimeEnabledOverloadedVoidMethod1Method(const v8::FunctionCallback
Info<v8::Value>& info) |
| 8731 { |
| 8732 TestObject* impl = V8TestObject::toNative(info.Holder()); |
| 8733 V8StringResource<> stringArg; |
| 8734 { |
| 8735 TOSTRING_VOID_INTERNAL(stringArg, info[0]); |
| 8736 } |
| 8737 impl->runtimeEnabledOverloadedVoidMethod(stringArg); |
| 8738 } |
| 8739 |
| 8740 static void runtimeEnabledOverloadedVoidMethod2Method(const v8::FunctionCallback
Info<v8::Value>& info) |
| 8741 { |
| 8742 ExceptionState exceptionState(ExceptionState::ExecutionContext, "runtimeEnab
ledOverloadedVoidMethod", "TestObject", info.Holder(), info.GetIsolate()); |
| 8743 TestObject* impl = V8TestObject::toNative(info.Holder()); |
| 8744 int longArg; |
| 8745 { |
| 8746 v8::TryCatch block; |
| 8747 V8RethrowTryCatchScope rethrow(block); |
| 8748 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(longArg, toInt32(info[0], exceptio
nState), exceptionState); |
| 8749 } |
| 8750 impl->runtimeEnabledOverloadedVoidMethod(longArg); |
| 8751 } |
| 8752 |
| 8753 static void runtimeEnabledOverloadedVoidMethodMethod(const v8::FunctionCallbackI
nfo<v8::Value>& info) |
| 8754 { |
| 8755 v8::Isolate* isolate = info.GetIsolate(); |
| 8756 ExceptionState exceptionState(ExceptionState::ExecutionContext, "runtimeEnab
ledOverloadedVoidMethod", "TestObject", info.Holder(), isolate); |
| 8757 switch (std::min(1, info.Length())) { |
| 8758 case 1: |
| 8759 if (info[0]->IsNumber()) { |
| 8760 runtimeEnabledOverloadedVoidMethod2Method(info); |
| 8761 return; |
| 8762 } |
| 8763 if (true) { |
| 8764 runtimeEnabledOverloadedVoidMethod1Method(info); |
| 8765 return; |
| 8766 } |
| 8767 if (true) { |
| 8768 runtimeEnabledOverloadedVoidMethod2Method(info); |
| 8769 return; |
| 8770 } |
| 8771 break; |
| 8772 default: |
| 8773 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i
nfo.Length())); |
| 8774 exceptionState.throwIfNeeded(); |
| 8775 return; |
| 8776 } |
| 8777 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); |
| 8778 exceptionState.throwIfNeeded(); |
| 8779 } |
| 8780 |
| 8781 static void runtimeEnabledOverloadedVoidMethodMethodCallback(const v8::FunctionC
allbackInfo<v8::Value>& info) |
| 8782 { |
| 8783 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 8784 TestObjectV8Internal::runtimeEnabledOverloadedVoidMethodMethod(info); |
| 8785 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 8786 } |
| 8787 |
| 8788 static void partiallyRuntimeEnabledOverloadedVoidMethod1Method(const v8::Functio
nCallbackInfo<v8::Value>& info) |
| 8789 { |
| 8790 TestObject* impl = V8TestObject::toNative(info.Holder()); |
| 8791 V8StringResource<> stringArg; |
| 8792 { |
| 8793 TOSTRING_VOID_INTERNAL(stringArg, info[0]); |
| 8794 } |
| 8795 impl->partiallyRuntimeEnabledOverloadedVoidMethod(stringArg); |
| 8796 } |
| 8797 |
| 8798 static void partiallyRuntimeEnabledOverloadedVoidMethod2Method(const v8::Functio
nCallbackInfo<v8::Value>& info) |
| 8799 { |
| 8800 ExceptionState exceptionState(ExceptionState::ExecutionContext, "partiallyRu
ntimeEnabledOverloadedVoidMethod", "TestObject", info.Holder(), info.GetIsolate(
)); |
| 8801 TestObject* impl = V8TestObject::toNative(info.Holder()); |
| 8802 int longArg; |
| 8803 { |
| 8804 v8::TryCatch block; |
| 8805 V8RethrowTryCatchScope rethrow(block); |
| 8806 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(longArg, toInt32(info[0], exceptio
nState), exceptionState); |
| 8807 } |
| 8808 impl->partiallyRuntimeEnabledOverloadedVoidMethod(longArg); |
| 8809 } |
| 8810 |
| 8811 static void partiallyRuntimeEnabledOverloadedVoidMethodMethod(const v8::Function
CallbackInfo<v8::Value>& info) |
| 8812 { |
| 8813 v8::Isolate* isolate = info.GetIsolate(); |
| 8814 ExceptionState exceptionState(ExceptionState::ExecutionContext, "partiallyRu
ntimeEnabledOverloadedVoidMethod", "TestObject", info.Holder(), isolate); |
| 8815 switch (std::min(1, info.Length())) { |
| 8816 case 1: |
| 8817 if (info[0]->IsNumber()) { |
| 8818 partiallyRuntimeEnabledOverloadedVoidMethod2Method(info); |
| 8819 return; |
| 8820 } |
| 8821 if (RuntimeEnabledFeatures::featureNameEnabled()) { |
| 8822 if (true) { |
| 8823 partiallyRuntimeEnabledOverloadedVoidMethod1Method(info); |
| 8824 return; |
| 8825 } |
| 8826 } |
| 8827 if (true) { |
| 8828 partiallyRuntimeEnabledOverloadedVoidMethod2Method(info); |
| 8829 return; |
| 8830 } |
| 8831 break; |
| 8832 default: |
| 8833 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i
nfo.Length())); |
| 8834 exceptionState.throwIfNeeded(); |
| 8835 return; |
| 8836 } |
| 8837 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); |
| 8838 exceptionState.throwIfNeeded(); |
| 8839 } |
| 8840 |
| 8841 static void partiallyRuntimeEnabledOverloadedVoidMethodMethodCallback(const v8::
FunctionCallbackInfo<v8::Value>& info) |
| 8842 { |
| 8843 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 8844 TestObjectV8Internal::partiallyRuntimeEnabledOverloadedVoidMethodMethod(info
); |
| 8845 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 8846 } |
| 8847 |
| 8718 static void treatReturnedNullStringAsNullStringMethodMethod(const v8::FunctionCa
llbackInfo<v8::Value>& info) | 8848 static void treatReturnedNullStringAsNullStringMethodMethod(const v8::FunctionCa
llbackInfo<v8::Value>& info) |
| 8719 { | 8849 { |
| 8720 TestObject* impl = V8TestObject::toNative(info.Holder()); | 8850 TestObject* impl = V8TestObject::toNative(info.Holder()); |
| 8721 v8SetReturnValueStringOrNull(info, impl->treatReturnedNullStringAsNullString
Method(), info.GetIsolate()); | 8851 v8SetReturnValueStringOrNull(info, impl->treatReturnedNullStringAsNullString
Method(), info.GetIsolate()); |
| 8722 } | 8852 } |
| 8723 | 8853 |
| 8724 static void treatReturnedNullStringAsNullStringMethodMethodCallback(const v8::Fu
nctionCallbackInfo<v8::Value>& info) | 8854 static void treatReturnedNullStringAsNullStringMethodMethodCallback(const v8::Fu
nctionCallbackInfo<v8::Value>& info) |
| 8725 { | 8855 { |
| 8726 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 8856 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 8727 TestObjectV8Internal::treatReturnedNullStringAsNullStringMethodMethod(info); | 8857 TestObjectV8Internal::treatReturnedNullStringAsNullStringMethodMethod(info); |
| (...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9213 {"voidMethodLongArgOptionalLongArgOptionalLongArg", TestObjectV8Internal::vo
idMethodLongArgOptionalLongArgOptionalLongArgMethodCallback, 0, 1}, | 9343 {"voidMethodLongArgOptionalLongArgOptionalLongArg", TestObjectV8Internal::vo
idMethodLongArgOptionalLongArgOptionalLongArgMethodCallback, 0, 1}, |
| 9214 {"voidMethodLongArgOptionalTestInterfaceEmptyArg", TestObjectV8Internal::voi
dMethodLongArgOptionalTestInterfaceEmptyArgMethodCallback, 0, 1}, | 9344 {"voidMethodLongArgOptionalTestInterfaceEmptyArg", TestObjectV8Internal::voi
dMethodLongArgOptionalTestInterfaceEmptyArgMethodCallback, 0, 1}, |
| 9215 {"voidMethodTestInterfaceEmptyArgOptionalLongArg", TestObjectV8Internal::voi
dMethodTestInterfaceEmptyArgOptionalLongArgMethodCallback, 0, 1}, | 9345 {"voidMethodTestInterfaceEmptyArgOptionalLongArg", TestObjectV8Internal::voi
dMethodTestInterfaceEmptyArgOptionalLongArgMethodCallback, 0, 1}, |
| 9216 {"voidMethodOptionalDictionaryArg", TestObjectV8Internal::voidMethodOptional
DictionaryArgMethodCallback, 0, 0}, | 9346 {"voidMethodOptionalDictionaryArg", TestObjectV8Internal::voidMethodOptional
DictionaryArgMethodCallback, 0, 0}, |
| 9217 {"voidMethodVariadicStringArg", TestObjectV8Internal::voidMethodVariadicStri
ngArgMethodCallback, 0, 1}, | 9347 {"voidMethodVariadicStringArg", TestObjectV8Internal::voidMethodVariadicStri
ngArgMethodCallback, 0, 1}, |
| 9218 {"voidMethodStringArgVariadicStringArg", TestObjectV8Internal::voidMethodStr
ingArgVariadicStringArgMethodCallback, 0, 2}, | 9348 {"voidMethodStringArgVariadicStringArg", TestObjectV8Internal::voidMethodStr
ingArgVariadicStringArgMethodCallback, 0, 2}, |
| 9219 {"voidMethodVariadicTestInterfaceEmptyArg", TestObjectV8Internal::voidMethod
VariadicTestInterfaceEmptyArgMethodCallback, 0, 1}, | 9349 {"voidMethodVariadicTestInterfaceEmptyArg", TestObjectV8Internal::voidMethod
VariadicTestInterfaceEmptyArgMethodCallback, 0, 1}, |
| 9220 {"voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArg", TestObjectV
8Internal::voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArgMethodCal
lback, 0, 2}, | 9350 {"voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArg", TestObjectV
8Internal::voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArgMethodCal
lback, 0, 2}, |
| 9221 {"voidMethodVariadicTestInterfaceGarbageCollectedArg", TestObjectV8Internal:
:voidMethodVariadicTestInterfaceGarbageCollectedArgMethodCallback, 0, 1}, | 9351 {"voidMethodVariadicTestInterfaceGarbageCollectedArg", TestObjectV8Internal:
:voidMethodVariadicTestInterfaceGarbageCollectedArgMethodCallback, 0, 1}, |
| 9222 {"voidMethodVariadicTestInterfaceWillBeGarbageCollectedArg", TestObjectV8Int
ernal::voidMethodVariadicTestInterfaceWillBeGarbageCollectedArgMethodCallback, 0
, 1}, | 9352 {"voidMethodVariadicTestInterfaceWillBeGarbageCollectedArg", TestObjectV8Int
ernal::voidMethodVariadicTestInterfaceWillBeGarbageCollectedArgMethodCallback, 0
, 1}, |
| 9223 {"overloadedMethodA", TestObjectV8Internal::overloadedMethodAMethodCallback,
0, 1}, | 9353 {"overloadedMethodA", TestObjectV8Internal::overloadedMethodAMethodCallback,
0, 2}, |
| 9224 {"overloadedMethodB", TestObjectV8Internal::overloadedMethodBMethodCallback,
0, 1}, | 9354 {"overloadedMethodB", TestObjectV8Internal::overloadedMethodBMethodCallback,
0, 1}, |
| 9225 {"overloadedMethodC", TestObjectV8Internal::overloadedMethodCMethodCallback,
0, 1}, | 9355 {"overloadedMethodC", TestObjectV8Internal::overloadedMethodCMethodCallback,
0, 1}, |
| 9226 {"overloadedMethodD", TestObjectV8Internal::overloadedMethodDMethodCallback,
0, 1}, | 9356 {"overloadedMethodD", TestObjectV8Internal::overloadedMethodDMethodCallback,
0, 1}, |
| 9227 {"overloadedMethodE", TestObjectV8Internal::overloadedMethodEMethodCallback,
0, 1}, | 9357 {"overloadedMethodE", TestObjectV8Internal::overloadedMethodEMethodCallback,
0, 1}, |
| 9228 {"overloadedMethodF", TestObjectV8Internal::overloadedMethodFMethodCallback,
0, 0}, | 9358 {"overloadedMethodF", TestObjectV8Internal::overloadedMethodFMethodCallback,
0, 1}, |
| 9229 {"overloadedMethodG", TestObjectV8Internal::overloadedMethodGMethodCallback,
0, 1}, | 9359 {"overloadedMethodG", TestObjectV8Internal::overloadedMethodGMethodCallback,
0, 1}, |
| 9230 {"overloadedMethodH", TestObjectV8Internal::overloadedMethodHMethodCallback,
0, 1}, | 9360 {"overloadedMethodH", TestObjectV8Internal::overloadedMethodHMethodCallback,
0, 1}, |
| 9231 {"overloadedMethodI", TestObjectV8Internal::overloadedMethodIMethodCallback,
0, 1}, | 9361 {"overloadedMethodI", TestObjectV8Internal::overloadedMethodIMethodCallback,
0, 1}, |
| 9232 {"overloadedPerWorldBindingsMethod", TestObjectV8Internal::overloadedPerWorl
dBindingsMethodMethodCallback, TestObjectV8Internal::overloadedPerWorldBindingsM
ethodMethodCallbackForMainWorld, 0}, | 9362 {"overloadedPerWorldBindingsMethod", TestObjectV8Internal::overloadedPerWorl
dBindingsMethodMethodCallback, TestObjectV8Internal::overloadedPerWorldBindingsM
ethodMethodCallbackForMainWorld, 1}, |
| 9233 {"voidMethodClampUnsignedShortArg", TestObjectV8Internal::voidMethodClampUns
ignedShortArgMethodCallback, 0, 1}, | 9363 {"voidMethodClampUnsignedShortArg", TestObjectV8Internal::voidMethodClampUns
ignedShortArgMethodCallback, 0, 1}, |
| 9234 {"voidMethodClampUnsignedLongArg", TestObjectV8Internal::voidMethodClampUnsi
gnedLongArgMethodCallback, 0, 1}, | 9364 {"voidMethodClampUnsignedLongArg", TestObjectV8Internal::voidMethodClampUnsi
gnedLongArgMethodCallback, 0, 1}, |
| 9235 {"voidMethodDefaultUndefinedTestInterfaceEmptyArg", TestObjectV8Internal::vo
idMethodDefaultUndefinedTestInterfaceEmptyArgMethodCallback, 0, 0}, | 9365 {"voidMethodDefaultUndefinedTestInterfaceEmptyArg", TestObjectV8Internal::vo
idMethodDefaultUndefinedTestInterfaceEmptyArgMethodCallback, 0, 0}, |
| 9236 {"voidMethodDefaultUndefinedLongArg", TestObjectV8Internal::voidMethodDefaul
tUndefinedLongArgMethodCallback, 0, 0}, | 9366 {"voidMethodDefaultUndefinedLongArg", TestObjectV8Internal::voidMethodDefaul
tUndefinedLongArgMethodCallback, 0, 0}, |
| 9237 {"voidMethodDefaultUndefinedStringArg", TestObjectV8Internal::voidMethodDefa
ultUndefinedStringArgMethodCallback, 0, 0}, | 9367 {"voidMethodDefaultUndefinedStringArg", TestObjectV8Internal::voidMethodDefa
ultUndefinedStringArgMethodCallback, 0, 0}, |
| 9238 {"voidMethodDefaultNullStringStringArg", TestObjectV8Internal::voidMethodDef
aultNullStringStringArgMethodCallback, 0, 0}, | 9368 {"voidMethodDefaultNullStringStringArg", TestObjectV8Internal::voidMethodDef
aultNullStringStringArgMethodCallback, 0, 0}, |
| 9239 {"voidMethodEnforceRangeLongArg", TestObjectV8Internal::voidMethodEnforceRan
geLongArgMethodCallback, 0, 1}, | 9369 {"voidMethodEnforceRangeLongArg", TestObjectV8Internal::voidMethodEnforceRan
geLongArgMethodCallback, 0, 1}, |
| 9240 {"voidMethodTreatNullAsNullStringStringArg", TestObjectV8Internal::voidMetho
dTreatNullAsNullStringStringArgMethodCallback, 0, 1}, | 9370 {"voidMethodTreatNullAsNullStringStringArg", TestObjectV8Internal::voidMetho
dTreatNullAsNullStringStringArgMethodCallback, 0, 1}, |
| 9241 {"voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArg", TestO
bjectV8Internal::voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringString
ArgMethodCallback, 0, 1}, | 9371 {"voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArg", TestO
bjectV8Internal::voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringString
ArgMethodCallback, 0, 1}, |
| 9242 {"activityLoggingAccessForAllWorldsMethod", TestObjectV8Internal::activityLo
ggingAccessForAllWorldsMethodMethodCallback, 0, 0}, | 9372 {"activityLoggingAccessForAllWorldsMethod", TestObjectV8Internal::activityLo
ggingAccessForAllWorldsMethodMethodCallback, 0, 0}, |
| (...skipping 13 matching lines...) Expand all Loading... |
| 9256 {"conditionalCondition1AndCondition2VoidMethod", TestObjectV8Internal::condi
tionalCondition1AndCondition2VoidMethodMethodCallback, 0, 0}, | 9386 {"conditionalCondition1AndCondition2VoidMethod", TestObjectV8Internal::condi
tionalCondition1AndCondition2VoidMethodMethodCallback, 0, 0}, |
| 9257 #endif // ENABLE(CONDITION_1) && ENABLE(CONDITION_2) | 9387 #endif // ENABLE(CONDITION_1) && ENABLE(CONDITION_2) |
| 9258 {"customVoidMethod", TestObjectV8Internal::customVoidMethodMethodCallback, 0
, 0}, | 9388 {"customVoidMethod", TestObjectV8Internal::customVoidMethodMethodCallback, 0
, 0}, |
| 9259 #if ENABLE(CONDITION) | 9389 #if ENABLE(CONDITION) |
| 9260 {"conditionalConditionCustomVoidMethod", TestObjectV8Internal::conditionalCo
nditionCustomVoidMethodMethodCallback, 0, 0}, | 9390 {"conditionalConditionCustomVoidMethod", TestObjectV8Internal::conditionalCo
nditionCustomVoidMethodMethodCallback, 0, 0}, |
| 9261 #endif // ENABLE(CONDITION) | 9391 #endif // ENABLE(CONDITION) |
| 9262 {"customElementCallbacksVoidMethod", TestObjectV8Internal::customElementCall
backsVoidMethodMethodCallback, 0, 0}, | 9392 {"customElementCallbacksVoidMethod", TestObjectV8Internal::customElementCall
backsVoidMethodMethodCallback, 0, 0}, |
| 9263 {"deprecatedVoidMethod", TestObjectV8Internal::deprecatedVoidMethodMethodCal
lback, 0, 0}, | 9393 {"deprecatedVoidMethod", TestObjectV8Internal::deprecatedVoidMethodMethodCal
lback, 0, 0}, |
| 9264 {"implementedAsVoidMethod", TestObjectV8Internal::implementedAsVoidMethodMet
hodCallback, 0, 0}, | 9394 {"implementedAsVoidMethod", TestObjectV8Internal::implementedAsVoidMethodMet
hodCallback, 0, 0}, |
| 9265 {"measureAsVoidMethod", TestObjectV8Internal::measureAsVoidMethodMethodCallb
ack, 0, 0}, | 9395 {"measureAsVoidMethod", TestObjectV8Internal::measureAsVoidMethodMethodCallb
ack, 0, 0}, |
| 9266 {"DeprecateAsOverloadedMethod", TestObjectV8Internal::DeprecateAsOverloadedM
ethodMethodCallback, 0, 0}, | 9396 {"DeprecateAsOverloadedMethod", TestObjectV8Internal::DeprecateAsOverloadedM
ethodMethodCallback, 0, 1}, |
| 9267 {"DeprecateAsSameValueOverloadedMethod", TestObjectV8Internal::DeprecateAsSa
meValueOverloadedMethodMethodCallback, 0, 0}, | 9397 {"DeprecateAsSameValueOverloadedMethod", TestObjectV8Internal::DeprecateAsSa
meValueOverloadedMethodMethodCallback, 0, 1}, |
| 9268 {"measureAsOverloadedMethod", TestObjectV8Internal::measureAsOverloadedMetho
dMethodCallback, 0, 0}, | 9398 {"measureAsOverloadedMethod", TestObjectV8Internal::measureAsOverloadedMetho
dMethodCallback, 0, 1}, |
| 9269 {"measureAsSameValueOverloadedMethod", TestObjectV8Internal::measureAsSameVa
lueOverloadedMethodMethodCallback, 0, 0}, | 9399 {"measureAsSameValueOverloadedMethod", TestObjectV8Internal::measureAsSameVa
lueOverloadedMethodMethodCallback, 0, 1}, |
| 9270 {"deprecateAsMeasureAsSameValueOverloadedMethod", TestObjectV8Internal::depr
ecateAsMeasureAsSameValueOverloadedMethodMethodCallback, 0, 0}, | 9400 {"deprecateAsMeasureAsSameValueOverloadedMethod", TestObjectV8Internal::depr
ecateAsMeasureAsSameValueOverloadedMethodMethodCallback, 0, 1}, |
| 9271 {"deprecateAsSameValueMeasureAsOverloadedMethod", TestObjectV8Internal::depr
ecateAsSameValueMeasureAsOverloadedMethodMethodCallback, 0, 0}, | 9401 {"deprecateAsSameValueMeasureAsOverloadedMethod", TestObjectV8Internal::depr
ecateAsSameValueMeasureAsOverloadedMethodMethodCallback, 0, 1}, |
| 9272 {"deprecateAsSameValueMeasureAsSameValueOverloadedMethod", TestObjectV8Inter
nal::deprecateAsSameValueMeasureAsSameValueOverloadedMethodMethodCallback, 0, 0}
, | 9402 {"deprecateAsSameValueMeasureAsSameValueOverloadedMethod", TestObjectV8Inter
nal::deprecateAsSameValueMeasureAsSameValueOverloadedMethodMethodCallback, 0, 1}
, |
| 9273 {"perWorldBindingsVoidMethod", TestObjectV8Internal::perWorldBindingsVoidMet
hodMethodCallback, TestObjectV8Internal::perWorldBindingsVoidMethodMethodCallbac
kForMainWorld, 0}, | 9403 {"perWorldBindingsVoidMethod", TestObjectV8Internal::perWorldBindingsVoidMet
hodMethodCallback, TestObjectV8Internal::perWorldBindingsVoidMethodMethodCallbac
kForMainWorld, 0}, |
| 9274 {"perWorldBindingsVoidMethodTestInterfaceEmptyArg", TestObjectV8Internal::pe
rWorldBindingsVoidMethodTestInterfaceEmptyArgMethodCallback, TestObjectV8Interna
l::perWorldBindingsVoidMethodTestInterfaceEmptyArgMethodCallbackForMainWorld, 1}
, | 9404 {"perWorldBindingsVoidMethodTestInterfaceEmptyArg", TestObjectV8Internal::pe
rWorldBindingsVoidMethodTestInterfaceEmptyArgMethodCallback, TestObjectV8Interna
l::perWorldBindingsVoidMethodTestInterfaceEmptyArgMethodCallbackForMainWorld, 1}
, |
| 9275 {"activityLoggingForAllWorldsPerWorldBindingsVoidMethod", TestObjectV8Intern
al::activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallback, TestObj
ectV8Internal::activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallba
ckForMainWorld, 0}, | 9405 {"activityLoggingForAllWorldsPerWorldBindingsVoidMethod", TestObjectV8Intern
al::activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallback, TestObj
ectV8Internal::activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallba
ckForMainWorld, 0}, |
| 9276 {"activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethod", TestObjectV8I
nternal::activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethodCallbac
k, TestObjectV8Internal::activityLoggingForIsolatedWorldsPerWorldBindingsVoidMet
hodMethodCallbackForMainWorld, 0}, | 9406 {"activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethod", TestObjectV8I
nternal::activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethodCallbac
k, TestObjectV8Internal::activityLoggingForIsolatedWorldsPerWorldBindingsVoidMet
hodMethodCallbackForMainWorld, 0}, |
| 9277 {"raisesExceptionVoidMethod", TestObjectV8Internal::raisesExceptionVoidMetho
dMethodCallback, 0, 0}, | 9407 {"raisesExceptionVoidMethod", TestObjectV8Internal::raisesExceptionVoidMetho
dMethodCallback, 0, 0}, |
| 9278 {"raisesExceptionStringMethod", TestObjectV8Internal::raisesExceptionStringM
ethodMethodCallback, 0, 0}, | 9408 {"raisesExceptionStringMethod", TestObjectV8Internal::raisesExceptionStringM
ethodMethodCallback, 0, 0}, |
| 9279 {"raisesExceptionVoidMethodOptionalLongArg", TestObjectV8Internal::raisesExc
eptionVoidMethodOptionalLongArgMethodCallback, 0, 0}, | 9409 {"raisesExceptionVoidMethodOptionalLongArg", TestObjectV8Internal::raisesExc
eptionVoidMethodOptionalLongArgMethodCallback, 0, 0}, |
| 9280 {"raisesExceptionVoidMethodTestCallbackInterfaceArg", TestObjectV8Internal::
raisesExceptionVoidMethodTestCallbackInterfaceArgMethodCallback, 0, 1}, | 9410 {"raisesExceptionVoidMethodTestCallbackInterfaceArg", TestObjectV8Internal::
raisesExceptionVoidMethodTestCallbackInterfaceArgMethodCallback, 0, 1}, |
| 9281 {"raisesExceptionVoidMethodOptionalTestCallbackInterfaceArg", TestObjectV8In
ternal::raisesExceptionVoidMethodOptionalTestCallbackInterfaceArgMethodCallback,
0, 0}, | 9411 {"raisesExceptionVoidMethodOptionalTestCallbackInterfaceArg", TestObjectV8In
ternal::raisesExceptionVoidMethodOptionalTestCallbackInterfaceArgMethodCallback,
0, 0}, |
| 9282 {"raisesExceptionTestInterfaceEmptyVoidMethod", TestObjectV8Internal::raises
ExceptionTestInterfaceEmptyVoidMethodMethodCallback, 0, 0}, | 9412 {"raisesExceptionTestInterfaceEmptyVoidMethod", TestObjectV8Internal::raises
ExceptionTestInterfaceEmptyVoidMethodMethodCallback, 0, 0}, |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9353 COMPILE_ASSERT(0X20 == TestObject::CONST_VALUE_13, TheValueOfTestObject_CONS
T_VALUE_13DoesntMatchWithImplementation); | 9483 COMPILE_ASSERT(0X20 == TestObject::CONST_VALUE_13, TheValueOfTestObject_CONS
T_VALUE_13DoesntMatchWithImplementation); |
| 9354 COMPILE_ASSERT(0x1abc == TestObject::CONST_VALUE_14, TheValueOfTestObject_CO
NST_VALUE_14DoesntMatchWithImplementation); | 9484 COMPILE_ASSERT(0x1abc == TestObject::CONST_VALUE_14, TheValueOfTestObject_CO
NST_VALUE_14DoesntMatchWithImplementation); |
| 9355 COMPILE_ASSERT(010 == TestObject::CONST_VALUE_15, TheValueOfTestObject_CONST
_VALUE_15DoesntMatchWithImplementation); | 9485 COMPILE_ASSERT(010 == TestObject::CONST_VALUE_15, TheValueOfTestObject_CONST
_VALUE_15DoesntMatchWithImplementation); |
| 9356 COMPILE_ASSERT(-010 == TestObject::CONST_VALUE_16, TheValueOfTestObject_CONS
T_VALUE_16DoesntMatchWithImplementation); | 9486 COMPILE_ASSERT(-010 == TestObject::CONST_VALUE_16, TheValueOfTestObject_CONS
T_VALUE_16DoesntMatchWithImplementation); |
| 9357 COMPILE_ASSERT(-0x1A == TestObject::CONST_VALUE_16, TheValueOfTestObject_CON
ST_VALUE_16DoesntMatchWithImplementation); | 9487 COMPILE_ASSERT(-0x1A == TestObject::CONST_VALUE_16, TheValueOfTestObject_CON
ST_VALUE_16DoesntMatchWithImplementation); |
| 9358 COMPILE_ASSERT(-0X1a == TestObject::CONST_VALUE_17, TheValueOfTestObject_CON
ST_VALUE_17DoesntMatchWithImplementation); | 9488 COMPILE_ASSERT(-0X1a == TestObject::CONST_VALUE_17, TheValueOfTestObject_CON
ST_VALUE_17DoesntMatchWithImplementation); |
| 9359 COMPILE_ASSERT(1 == TestObject::DEPRECATED_CONSTANT, TheValueOfTestObject_DE
PRECATED_CONSTANTDoesntMatchWithImplementation); | 9489 COMPILE_ASSERT(1 == TestObject::DEPRECATED_CONSTANT, TheValueOfTestObject_DE
PRECATED_CONSTANTDoesntMatchWithImplementation); |
| 9360 COMPILE_ASSERT(1 == TestObject::FEATURE_ENABLED_CONST, TheValueOfTestObject_
FEATURE_ENABLED_CONSTDoesntMatchWithImplementation); | 9490 COMPILE_ASSERT(1 == TestObject::FEATURE_ENABLED_CONST, TheValueOfTestObject_
FEATURE_ENABLED_CONSTDoesntMatchWithImplementation); |
| 9361 COMPILE_ASSERT(1 == TestObject::CONST_IMPL, TheValueOfTestObject_CONST_IMPLD
oesntMatchWithImplementation); | 9491 COMPILE_ASSERT(1 == TestObject::CONST_IMPL, TheValueOfTestObject_CONST_IMPLD
oesntMatchWithImplementation); |
| 9362 functionTemplate->Set(v8AtomicString(isolate, "staticVoidMethod"), v8::Funct
ionTemplate::New(isolate, TestObjectV8Internal::staticVoidMethodMethodCallback,
v8Undefined(), v8::Local<v8::Signature>(), 0)); | 9492 functionTemplate->Set(v8AtomicString(isolate, "staticVoidMethod"), v8::Funct
ionTemplate::New(isolate, TestObjectV8Internal::staticVoidMethodMethodCallback,
v8Undefined(), v8::Local<v8::Signature>(), 0)); |
| 9363 functionTemplate->Set(v8AtomicString(isolate, "overloadedStaticMethod"), v8:
:FunctionTemplate::New(isolate, TestObjectV8Internal::overloadedStaticMethodMeth
odCallback, v8Undefined(), v8::Local<v8::Signature>(), 1)); | 9493 functionTemplate->Set(v8AtomicString(isolate, "overloadedStaticMethod"), v8:
:FunctionTemplate::New(isolate, TestObjectV8Internal::overloadedStaticMethodMeth
odCallback, v8Undefined(), v8::Local<v8::Signature>(), 2)); |
| 9364 #if ENABLE(CONDITION) | 9494 #if ENABLE(CONDITION) |
| 9365 functionTemplate->Set(v8AtomicString(isolate, "conditionalConditionStaticVoi
dMethod"), v8::FunctionTemplate::New(isolate, TestObjectV8Internal::conditionalC
onditionStaticVoidMethodMethodCallback, v8Undefined(), v8::Local<v8::Signature>(
), 0)); | 9495 functionTemplate->Set(v8AtomicString(isolate, "conditionalConditionStaticVoi
dMethod"), v8::FunctionTemplate::New(isolate, TestObjectV8Internal::conditionalC
onditionStaticVoidMethodMethodCallback, v8Undefined(), v8::Local<v8::Signature>(
), 0)); |
| 9366 #endif // ENABLE(CONDITION) | 9496 #endif // ENABLE(CONDITION) |
| 9367 prototypeTemplate->Set(v8AtomicString(isolate, "doNotCheckSignatureVoidMetho
d"), v8::FunctionTemplate::New(isolate, TestObjectV8Internal::doNotCheckSignatur
eVoidMethodMethodCallback, v8Undefined(), v8::Local<v8::Signature>(), 0)); | 9497 prototypeTemplate->Set(v8AtomicString(isolate, "doNotCheckSignatureVoidMetho
d"), v8::FunctionTemplate::New(isolate, TestObjectV8Internal::doNotCheckSignatur
eVoidMethodMethodCallback, v8Undefined(), v8::Local<v8::Signature>(), 0)); |
| 9368 prototypeTemplate->Set(v8AtomicString(isolate, "notEnumerableVoidMethod"), v
8::FunctionTemplate::New(isolate, TestObjectV8Internal::notEnumerableVoidMethodM
ethodCallback, v8Undefined(), defaultSignature, 0), static_cast<v8::PropertyAttr
ibute>(v8::DontDelete | v8::DontEnum)); | 9498 prototypeTemplate->Set(v8AtomicString(isolate, "notEnumerableVoidMethod"), v
8::FunctionTemplate::New(isolate, TestObjectV8Internal::notEnumerableVoidMethodM
ethodCallback, v8Undefined(), defaultSignature, 0), static_cast<v8::PropertyAttr
ibute>(v8::DontDelete | v8::DontEnum)); |
| 9369 prototypeTemplate->Set(v8AtomicString(isolate, "readOnlyVoidMethod"), v8::Fu
nctionTemplate::New(isolate, TestObjectV8Internal::readOnlyVoidMethodMethodCallb
ack, v8Undefined(), defaultSignature, 0), static_cast<v8::PropertyAttribute>(v8:
:DontDelete | v8::ReadOnly)); | 9499 prototypeTemplate->Set(v8AtomicString(isolate, "readOnlyVoidMethod"), v8::Fu
nctionTemplate::New(isolate, TestObjectV8Internal::readOnlyVoidMethodMethodCallb
ack, v8Undefined(), defaultSignature, 0), static_cast<v8::PropertyAttribute>(v8:
:DontDelete | v8::ReadOnly)); |
| 9370 prototypeTemplate->Set(v8AtomicString(isolate, "notEnumerableReadOnlyVoidMet
hod"), v8::FunctionTemplate::New(isolate, TestObjectV8Internal::notEnumerableRea
dOnlyVoidMethodMethodCallback, v8Undefined(), defaultSignature, 0), static_cast<
v8::PropertyAttribute>(v8::DontDelete | v8::DontEnum | v8::ReadOnly)); | 9500 prototypeTemplate->Set(v8AtomicString(isolate, "notEnumerableReadOnlyVoidMet
hod"), v8::FunctionTemplate::New(isolate, TestObjectV8Internal::notEnumerableRea
dOnlyVoidMethodMethodCallback, v8Undefined(), defaultSignature, 0), static_cast<
v8::PropertyAttribute>(v8::DontDelete | v8::DontEnum | v8::ReadOnly)); |
| 9371 if (RuntimeEnabledFeatures::featureNameEnabled()) | 9501 if (RuntimeEnabledFeatures::featureNameEnabled()) { |
| 9372 prototypeTemplate->Set(v8AtomicString(isolate, "runtimeEnabledVoidMethod
"), v8::FunctionTemplate::New(isolate, TestObjectV8Internal::runtimeEnabledVoidM
ethodMethodCallback, v8Undefined(), defaultSignature, 0)); | 9502 prototypeTemplate->Set(v8AtomicString(isolate, "runtimeEnabledVoidMethod
"), v8::FunctionTemplate::New(isolate, TestObjectV8Internal::runtimeEnabledVoidM
ethodMethodCallback, v8Undefined(), defaultSignature, 0)); |
| 9373 if (DOMWrapperWorld::current(isolate).isMainWorld()) { | 9503 } |
| 9374 if (RuntimeEnabledFeatures::featureNameEnabled()) | 9504 if (RuntimeEnabledFeatures::featureNameEnabled()) { |
| 9505 if (DOMWrapperWorld::current(isolate).isMainWorld()) { |
| 9375 prototypeTemplate->Set(v8AtomicString(isolate, "perWorldBindingsRunt
imeEnabledVoidMethod"), v8::FunctionTemplate::New(isolate, TestObjectV8Internal:
:perWorldBindingsRuntimeEnabledVoidMethodMethodCallbackForMainWorld, v8Undefined
(), defaultSignature, 0)); | 9506 prototypeTemplate->Set(v8AtomicString(isolate, "perWorldBindingsRunt
imeEnabledVoidMethod"), v8::FunctionTemplate::New(isolate, TestObjectV8Internal:
:perWorldBindingsRuntimeEnabledVoidMethodMethodCallbackForMainWorld, v8Undefined
(), defaultSignature, 0)); |
| 9376 } else { | 9507 } else { |
| 9377 if (RuntimeEnabledFeatures::featureNameEnabled()) | |
| 9378 prototypeTemplate->Set(v8AtomicString(isolate, "perWorldBindingsRunt
imeEnabledVoidMethod"), v8::FunctionTemplate::New(isolate, TestObjectV8Internal:
:perWorldBindingsRuntimeEnabledVoidMethodMethodCallback, v8Undefined(), defaultS
ignature, 0)); | 9508 prototypeTemplate->Set(v8AtomicString(isolate, "perWorldBindingsRunt
imeEnabledVoidMethod"), v8::FunctionTemplate::New(isolate, TestObjectV8Internal:
:perWorldBindingsRuntimeEnabledVoidMethodMethodCallback, v8Undefined(), defaultS
ignature, 0)); |
| 9509 } |
| 9379 } | 9510 } |
| 9511 if (RuntimeEnabledFeatures::featureNameEnabled()) { |
| 9512 prototypeTemplate->Set(v8AtomicString(isolate, "runtimeEnabledOverloaded
VoidMethod"), v8::FunctionTemplate::New(isolate, TestObjectV8Internal::runtimeEn
abledOverloadedVoidMethodMethodCallback, v8Undefined(), defaultSignature, 1)); |
| 9513 } |
| 9514 prototypeTemplate->Set(v8AtomicString(isolate, "partiallyRuntimeEnabledOverl
oadedVoidMethod"), v8::FunctionTemplate::New(isolate, TestObjectV8Internal::part
iallyRuntimeEnabledOverloadedVoidMethodMethodCallback, v8Undefined(), defaultSig
nature, 1)); |
| 9380 instanceTemplate->Set(v8AtomicString(isolate, "unforgeableVoidMethod"), v8::
FunctionTemplate::New(isolate, TestObjectV8Internal::unforgeableVoidMethodMethod
Callback, v8Undefined(), defaultSignature, 0)); | 9515 instanceTemplate->Set(v8AtomicString(isolate, "unforgeableVoidMethod"), v8::
FunctionTemplate::New(isolate, TestObjectV8Internal::unforgeableVoidMethodMethod
Callback, v8Undefined(), defaultSignature, 0)); |
| 9381 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "staticStrin
gAttribute"), TestObjectV8Internal::staticStringAttributeAttributeGetterCallback
, TestObjectV8Internal::staticStringAttributeAttributeSetterCallback, v8::Extern
al::New(isolate, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8
::AccessorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); | 9516 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "staticStrin
gAttribute"), TestObjectV8Internal::staticStringAttributeAttributeGetterCallback
, TestObjectV8Internal::staticStringAttributeAttributeSetterCallback, v8::Extern
al::New(isolate, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8
::AccessorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); |
| 9382 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "staticLongA
ttribute"), TestObjectV8Internal::staticLongAttributeAttributeGetterCallback, Te
stObjectV8Internal::staticLongAttributeAttributeSetterCallback, v8::External::Ne
w(isolate, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::Acce
ssorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); | 9517 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "staticLongA
ttribute"), TestObjectV8Internal::staticLongAttributeAttributeGetterCallback, Te
stObjectV8Internal::staticLongAttributeAttributeSetterCallback, v8::External::Ne
w(isolate, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::Acce
ssorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); |
| 9383 | 9518 |
| 9384 // Custom toString template | 9519 // Custom toString template |
| 9385 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); | 9520 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); |
| 9386 } | 9521 } |
| 9387 | 9522 |
| 9388 v8::Handle<v8::FunctionTemplate> V8TestObject::domTemplate(v8::Isolate* isolate) | 9523 v8::Handle<v8::FunctionTemplate> V8TestObject::domTemplate(v8::Isolate* isolate) |
| 9389 { | 9524 { |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9463 fromInternalPointer(object)->deref(); | 9598 fromInternalPointer(object)->deref(); |
| 9464 } | 9599 } |
| 9465 | 9600 |
| 9466 template<> | 9601 template<> |
| 9467 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea
tionContext, v8::Isolate* isolate) | 9602 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea
tionContext, v8::Isolate* isolate) |
| 9468 { | 9603 { |
| 9469 return toV8(impl, creationContext, isolate); | 9604 return toV8(impl, creationContext, isolate); |
| 9470 } | 9605 } |
| 9471 | 9606 |
| 9472 } // namespace WebCore | 9607 } // namespace WebCore |
| OLD | NEW |