| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 6277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6288 {"voidMethodDoubleArg", TestObjectPythonV8Internal::voidMethodDoubleArgMetho
dCallback, 0, 1}, | 6288 {"voidMethodDoubleArg", TestObjectPythonV8Internal::voidMethodDoubleArgMetho
dCallback, 0, 1}, |
| 6289 {"voidMethodFloatArg", TestObjectPythonV8Internal::voidMethodFloatArgMethodC
allback, 0, 1}, | 6289 {"voidMethodFloatArg", TestObjectPythonV8Internal::voidMethodFloatArgMethodC
allback, 0, 1}, |
| 6290 {"voidMethodLongArg", TestObjectPythonV8Internal::voidMethodLongArgMethodCal
lback, 0, 1}, | 6290 {"voidMethodLongArg", TestObjectPythonV8Internal::voidMethodLongArgMethodCal
lback, 0, 1}, |
| 6291 {"voidMethodLongLongArg", TestObjectPythonV8Internal::voidMethodLongLongArgM
ethodCallback, 0, 1}, | 6291 {"voidMethodLongLongArg", TestObjectPythonV8Internal::voidMethodLongLongArgM
ethodCallback, 0, 1}, |
| 6292 {"voidMethodOctetArg", TestObjectPythonV8Internal::voidMethodOctetArgMethodC
allback, 0, 1}, | 6292 {"voidMethodOctetArg", TestObjectPythonV8Internal::voidMethodOctetArgMethodC
allback, 0, 1}, |
| 6293 {"voidMethodShortArg", TestObjectPythonV8Internal::voidMethodShortArgMethodC
allback, 0, 1}, | 6293 {"voidMethodShortArg", TestObjectPythonV8Internal::voidMethodShortArgMethodC
allback, 0, 1}, |
| 6294 {"voidMethodUnsignedLongArg", TestObjectPythonV8Internal::voidMethodUnsigned
LongArgMethodCallback, 0, 1}, | 6294 {"voidMethodUnsignedLongArg", TestObjectPythonV8Internal::voidMethodUnsigned
LongArgMethodCallback, 0, 1}, |
| 6295 {"voidMethodUnsignedLongLongArg", TestObjectPythonV8Internal::voidMethodUnsi
gnedLongLongArgMethodCallback, 0, 1}, | 6295 {"voidMethodUnsignedLongLongArg", TestObjectPythonV8Internal::voidMethodUnsi
gnedLongLongArgMethodCallback, 0, 1}, |
| 6296 {"voidMethodUnsignedShortArg", TestObjectPythonV8Internal::voidMethodUnsigne
dShortArgMethodCallback, 0, 1}, | 6296 {"voidMethodUnsignedShortArg", TestObjectPythonV8Internal::voidMethodUnsigne
dShortArgMethodCallback, 0, 1}, |
| 6297 {"testInterfaceEmptyMethod", TestObjectPythonV8Internal::testInterfaceEmptyM
ethodMethodCallback, 0, 0}, | 6297 {"testInterfaceEmptyMethod", TestObjectPythonV8Internal::testInterfaceEmptyM
ethodMethodCallback, 0, 0}, |
| 6298 {"voidMethodTestInterfaceEmptyArg", TestObjectPythonV8Internal::voidMethodTe
stInterfaceEmptyArgMethodCallback, 0, 1}, |
| 6299 {"voidMethodLongArgTestInterfaceEmptyArg", TestObjectPythonV8Internal::voidM
ethodLongArgTestInterfaceEmptyArgMethodCallback, 0, 2}, |
| 6298 {"voidCallbackFunctionMethod", TestObjectPythonV8Internal::voidCallbackFunct
ionMethodMethodCallback, 0, 0}, | 6300 {"voidCallbackFunctionMethod", TestObjectPythonV8Internal::voidCallbackFunct
ionMethodMethodCallback, 0, 0}, |
| 6299 {"anyCallbackFunctionOptionalAnyArgMethod", TestObjectPythonV8Internal::anyC
allbackFunctionOptionalAnyArgMethodMethodCallback, 0, 0}, | 6301 {"anyCallbackFunctionOptionalAnyArgMethod", TestObjectPythonV8Internal::anyC
allbackFunctionOptionalAnyArgMethodMethodCallback, 0, 0}, |
| 6300 {"voidMethodVoidCallbackFunctionArg", TestObjectPythonV8Internal::voidMethod
VoidCallbackFunctionArgMethodCallback, 0, 1}, | 6302 {"voidMethodVoidCallbackFunctionArg", TestObjectPythonV8Internal::voidMethod
VoidCallbackFunctionArgMethodCallback, 0, 1}, |
| 6301 {"voidMethodAnyCallbackFunctionOptionalAnyArg", TestObjectPythonV8Internal::
voidMethodAnyCallbackFunctionOptionalAnyArgMethodCallback, 0, 1}, | 6303 {"voidMethodAnyCallbackFunctionOptionalAnyArg", TestObjectPythonV8Internal::
voidMethodAnyCallbackFunctionOptionalAnyArgMethodCallback, 0, 1}, |
| 6302 {"compareHowMethod", TestObjectPythonV8Internal::compareHowMethodMethodCallb
ack, 0, 0}, | 6304 {"compareHowMethod", TestObjectPythonV8Internal::compareHowMethodMethodCallb
ack, 0, 0}, |
| 6303 {"anyMethod", TestObjectPythonV8Internal::anyMethodMethodCallback, 0, 0}, | 6305 {"anyMethod", TestObjectPythonV8Internal::anyMethodMethodCallback, 0, 0}, |
| 6304 {"voidMethodMediaQueryListListenerArg", TestObjectPythonV8Internal::voidMeth
odMediaQueryListListenerArgMethodCallback, 0, 1}, | 6306 {"voidMethodMediaQueryListListenerArg", TestObjectPythonV8Internal::voidMeth
odMediaQueryListListenerArgMethodCallback, 0, 1}, |
| 6305 {"voidMethodCompareHowArg", TestObjectPythonV8Internal::voidMethodCompareHow
ArgMethodCallback, 0, 1}, | 6307 {"voidMethodCompareHowArg", TestObjectPythonV8Internal::voidMethodCompareHow
ArgMethodCallback, 0, 1}, |
| 6306 {"voidMethodAnyArg", TestObjectPythonV8Internal::voidMethodAnyArgMethodCallb
ack, 0, 1}, | 6308 {"voidMethodAnyArg", TestObjectPythonV8Internal::voidMethodAnyArgMethodCallb
ack, 0, 1}, |
| 6309 {"voidMethodAttrArg", TestObjectPythonV8Internal::voidMethodAttrArgMethodCal
lback, 0, 1}, |
| 6310 {"voidMethodDocumentArg", TestObjectPythonV8Internal::voidMethodDocumentArgM
ethodCallback, 0, 1}, |
| 6311 {"voidMethodDocumentTypeArg", TestObjectPythonV8Internal::voidMethodDocument
TypeArgMethodCallback, 0, 1}, |
| 6312 {"voidMethodElementArg", TestObjectPythonV8Internal::voidMethodElementArgMet
hodCallback, 0, 1}, |
| 6313 {"voidMethodNodeArg", TestObjectPythonV8Internal::voidMethodNodeArgMethodCal
lback, 0, 1}, |
| 6307 {"arrayBufferMethod", TestObjectPythonV8Internal::arrayBufferMethodMethodCal
lback, 0, 0}, | 6314 {"arrayBufferMethod", TestObjectPythonV8Internal::arrayBufferMethodMethodCal
lback, 0, 0}, |
| 6308 {"arrayBufferViewMethod", TestObjectPythonV8Internal::arrayBufferViewMethodM
ethodCallback, 0, 0}, | 6315 {"arrayBufferViewMethod", TestObjectPythonV8Internal::arrayBufferViewMethodM
ethodCallback, 0, 0}, |
| 6309 {"float32ArrayMethod", TestObjectPythonV8Internal::float32ArrayMethodMethodC
allback, 0, 0}, | 6316 {"float32ArrayMethod", TestObjectPythonV8Internal::float32ArrayMethodMethodC
allback, 0, 0}, |
| 6310 {"int32ArrayMethod", TestObjectPythonV8Internal::int32ArrayMethodMethodCallb
ack, 0, 0}, | 6317 {"int32ArrayMethod", TestObjectPythonV8Internal::int32ArrayMethodMethodCallb
ack, 0, 0}, |
| 6311 {"uint8ArrayMethod", TestObjectPythonV8Internal::uint8ArrayMethodMethodCallb
ack, 0, 0}, | 6318 {"uint8ArrayMethod", TestObjectPythonV8Internal::uint8ArrayMethodMethodCallb
ack, 0, 0}, |
| 6319 {"voidMethodArrayBufferArg", TestObjectPythonV8Internal::voidMethodArrayBuff
erArgMethodCallback, 0, 1}, |
| 6320 {"voidMethodArrayBufferViewArg", TestObjectPythonV8Internal::voidMethodArray
BufferViewArgMethodCallback, 0, 1}, |
| 6321 {"voidMethodFloat32ArrayArg", TestObjectPythonV8Internal::voidMethodFloat32A
rrayArgMethodCallback, 0, 1}, |
| 6322 {"voidMethodInt32ArrayArg", TestObjectPythonV8Internal::voidMethodInt32Array
ArgMethodCallback, 0, 1}, |
| 6323 {"voidMethodUint8ArrayArg", TestObjectPythonV8Internal::voidMethodUint8Array
ArgMethodCallback, 0, 1}, |
| 6312 {"longArrayMethod", TestObjectPythonV8Internal::longArrayMethodMethodCallbac
k, 0, 0}, | 6324 {"longArrayMethod", TestObjectPythonV8Internal::longArrayMethodMethodCallbac
k, 0, 0}, |
| 6313 {"stringArrayMethod", TestObjectPythonV8Internal::stringArrayMethodMethodCal
lback, 0, 0}, | 6325 {"stringArrayMethod", TestObjectPythonV8Internal::stringArrayMethodMethodCal
lback, 0, 0}, |
| 6314 {"testInterfaceEmptyArrayMethod", TestObjectPythonV8Internal::testInterfaceE
mptyArrayMethodMethodCallback, 0, 0}, | 6326 {"testInterfaceEmptyArrayMethod", TestObjectPythonV8Internal::testInterfaceE
mptyArrayMethodMethodCallback, 0, 0}, |
| 6315 {"voidMethodArrayLongArg", TestObjectPythonV8Internal::voidMethodArrayLongAr
gMethodCallback, 0, 1}, | 6327 {"voidMethodArrayLongArg", TestObjectPythonV8Internal::voidMethodArrayLongAr
gMethodCallback, 0, 1}, |
| 6316 {"voidMethodArrayStringArg", TestObjectPythonV8Internal::voidMethodArrayStri
ngArgMethodCallback, 0, 1}, | 6328 {"voidMethodArrayStringArg", TestObjectPythonV8Internal::voidMethodArrayStri
ngArgMethodCallback, 0, 1}, |
| 6317 {"voidMethodArrayTestInterfaceEmptyArg", TestObjectPythonV8Internal::voidMet
hodArrayTestInterfaceEmptyArgMethodCallback, 0, 1}, | 6329 {"voidMethodArrayTestInterfaceEmptyArg", TestObjectPythonV8Internal::voidMet
hodArrayTestInterfaceEmptyArgMethodCallback, 0, 1}, |
| 6318 {"sequenceLongMethod", TestObjectPythonV8Internal::sequenceLongMethodMethodC
allback, 0, 0}, | 6330 {"sequenceLongMethod", TestObjectPythonV8Internal::sequenceLongMethodMethodC
allback, 0, 0}, |
| 6319 {"sequenceStringMethod", TestObjectPythonV8Internal::sequenceStringMethodMet
hodCallback, 0, 0}, | 6331 {"sequenceStringMethod", TestObjectPythonV8Internal::sequenceStringMethodMet
hodCallback, 0, 0}, |
| 6320 {"sequenceTestInterfaceEmptyMethod", TestObjectPythonV8Internal::sequenceTes
tInterfaceEmptyMethodMethodCallback, 0, 0}, | 6332 {"sequenceTestInterfaceEmptyMethod", TestObjectPythonV8Internal::sequenceTes
tInterfaceEmptyMethodMethodCallback, 0, 0}, |
| 6321 {"voidMethodSequenceLongArg", TestObjectPythonV8Internal::voidMethodSequence
LongArgMethodCallback, 0, 1}, | 6333 {"voidMethodSequenceLongArg", TestObjectPythonV8Internal::voidMethodSequence
LongArgMethodCallback, 0, 1}, |
| 6322 {"voidMethodSequenceStringArg", TestObjectPythonV8Internal::voidMethodSequen
ceStringArgMethodCallback, 0, 1}, | 6334 {"voidMethodSequenceStringArg", TestObjectPythonV8Internal::voidMethodSequen
ceStringArgMethodCallback, 0, 1}, |
| 6323 {"voidMethodSequenceTestInterfaceEmptyArg", TestObjectPythonV8Internal::void
MethodSequenceTestInterfaceEmptyArgMethodCallback, 0, 1}, | 6335 {"voidMethodSequenceTestInterfaceEmptyArg", TestObjectPythonV8Internal::void
MethodSequenceTestInterfaceEmptyArgMethodCallback, 0, 1}, |
| 6336 {"voidMethodNullableStringArg", TestObjectPythonV8Internal::voidMethodNullab
leStringArgMethodCallback, 0, 1}, |
| 6324 {"testEnumMethod", TestObjectPythonV8Internal::testEnumMethodMethodCallback,
0, 0}, | 6337 {"testEnumMethod", TestObjectPythonV8Internal::testEnumMethodMethodCallback,
0, 0}, |
| 6325 {"voidMethodTestEnumArg", TestObjectPythonV8Internal::voidMethodTestEnumArgM
ethodCallback, 0, 1}, | 6338 {"voidMethodTestEnumArg", TestObjectPythonV8Internal::voidMethodTestEnumArgM
ethodCallback, 0, 1}, |
| 6326 {"dictionaryMethod", TestObjectPythonV8Internal::dictionaryMethodMethodCallb
ack, 0, 0}, | 6339 {"dictionaryMethod", TestObjectPythonV8Internal::dictionaryMethodMethodCallb
ack, 0, 0}, |
| 6327 {"nodeFilterMethod", TestObjectPythonV8Internal::nodeFilterMethodMethodCallb
ack, 0, 0}, | 6340 {"nodeFilterMethod", TestObjectPythonV8Internal::nodeFilterMethodMethodCallb
ack, 0, 0}, |
| 6328 {"promiseMethod", TestObjectPythonV8Internal::promiseMethodMethodCallback, 0
, 0}, | 6341 {"promiseMethod", TestObjectPythonV8Internal::promiseMethodMethodCallback, 0
, 0}, |
| 6329 {"serializedScriptValueMethod", TestObjectPythonV8Internal::serializedScript
ValueMethodMethodCallback, 0, 0}, | 6342 {"serializedScriptValueMethod", TestObjectPythonV8Internal::serializedScript
ValueMethodMethodCallback, 0, 0}, |
| 6330 {"xPathNSResolverMethod", TestObjectPythonV8Internal::xPathNSResolverMethodM
ethodCallback, 0, 0}, | 6343 {"xPathNSResolverMethod", TestObjectPythonV8Internal::xPathNSResolverMethodM
ethodCallback, 0, 0}, |
| 6331 {"voidMethodDictionaryArg", TestObjectPythonV8Internal::voidMethodDictionary
ArgMethodCallback, 0, 1}, | 6344 {"voidMethodDictionaryArg", TestObjectPythonV8Internal::voidMethodDictionary
ArgMethodCallback, 0, 1}, |
| 6332 {"voidMethodNodeFilterArg", TestObjectPythonV8Internal::voidMethodNodeFilter
ArgMethodCallback, 0, 1}, | 6345 {"voidMethodNodeFilterArg", TestObjectPythonV8Internal::voidMethodNodeFilter
ArgMethodCallback, 0, 1}, |
| 6333 {"voidMethodPromiseArg", TestObjectPythonV8Internal::voidMethodPromiseArgMet
hodCallback, 0, 1}, | 6346 {"voidMethodPromiseArg", TestObjectPythonV8Internal::voidMethodPromiseArgMet
hodCallback, 0, 1}, |
| 6334 {"voidMethodSerializedScriptValueArg", TestObjectPythonV8Internal::voidMetho
dSerializedScriptValueArgMethodCallback, 0, 1}, | 6347 {"voidMethodSerializedScriptValueArg", TestObjectPythonV8Internal::voidMetho
dSerializedScriptValueArgMethodCallback, 0, 1}, |
| 6348 {"voidMethodXPathNSResolverArg", TestObjectPythonV8Internal::voidMethodXPath
NSResolverArgMethodCallback, 0, 1}, |
| 6335 {"voidMethodSequenceDictionaryArg", TestObjectPythonV8Internal::voidMethodSe
quenceDictionaryArgMethodCallback, 0, 1}, | 6349 {"voidMethodSequenceDictionaryArg", TestObjectPythonV8Internal::voidMethodSe
quenceDictionaryArgMethodCallback, 0, 1}, |
| 6336 {"voidMethodStringArgLongArg", TestObjectPythonV8Internal::voidMethodStringA
rgLongArgMethodCallback, 0, 2}, | 6350 {"voidMethodStringArgLongArg", TestObjectPythonV8Internal::voidMethodStringA
rgLongArgMethodCallback, 0, 2}, |
| 6337 {"voidMethodOptionalStringArg", TestObjectPythonV8Internal::voidMethodOption
alStringArgMethodCallback, 0, 0}, | 6351 {"voidMethodOptionalStringArg", TestObjectPythonV8Internal::voidMethodOption
alStringArgMethodCallback, 0, 0}, |
| 6338 {"voidMethodOptionalTestInterfaceEmptyArg", TestObjectPythonV8Internal::void
MethodOptionalTestInterfaceEmptyArgMethodCallback, 0, 0}, | 6352 {"voidMethodOptionalTestInterfaceEmptyArg", TestObjectPythonV8Internal::void
MethodOptionalTestInterfaceEmptyArgMethodCallback, 0, 0}, |
| 6339 {"voidMethodOptionalLongArg", TestObjectPythonV8Internal::voidMethodOptional
LongArgMethodCallback, 0, 0}, | 6353 {"voidMethodOptionalLongArg", TestObjectPythonV8Internal::voidMethodOptional
LongArgMethodCallback, 0, 0}, |
| 6340 {"stringMethodOptionalLongArg", TestObjectPythonV8Internal::stringMethodOpti
onalLongArgMethodCallback, 0, 0}, | 6354 {"stringMethodOptionalLongArg", TestObjectPythonV8Internal::stringMethodOpti
onalLongArgMethodCallback, 0, 0}, |
| 6341 {"testInterfaceEmptyMethodOptionalLongArg", TestObjectPythonV8Internal::test
InterfaceEmptyMethodOptionalLongArgMethodCallback, 0, 0}, | 6355 {"testInterfaceEmptyMethodOptionalLongArg", TestObjectPythonV8Internal::test
InterfaceEmptyMethodOptionalLongArgMethodCallback, 0, 0}, |
| 6342 {"longMethodOptionalLongArg", TestObjectPythonV8Internal::longMethodOptional
LongArgMethodCallback, 0, 0}, | 6356 {"longMethodOptionalLongArg", TestObjectPythonV8Internal::longMethodOptional
LongArgMethodCallback, 0, 0}, |
| 6343 {"voidMethodLongArgOptionalLongArg", TestObjectPythonV8Internal::voidMethodL
ongArgOptionalLongArgMethodCallback, 0, 1}, | 6357 {"voidMethodLongArgOptionalLongArg", TestObjectPythonV8Internal::voidMethodL
ongArgOptionalLongArgMethodCallback, 0, 1}, |
| 6344 {"voidMethodLongArgOptionalLongArgOptionalLongArg", TestObjectPythonV8Intern
al::voidMethodLongArgOptionalLongArgOptionalLongArgMethodCallback, 0, 1}, | 6358 {"voidMethodLongArgOptionalLongArgOptionalLongArg", TestObjectPythonV8Intern
al::voidMethodLongArgOptionalLongArgOptionalLongArgMethodCallback, 0, 1}, |
| 6345 {"voidMethodLongArgOptionalTestInterfaceEmptyArg", TestObjectPythonV8Interna
l::voidMethodLongArgOptionalTestInterfaceEmptyArgMethodCallback, 0, 1}, | 6359 {"voidMethodLongArgOptionalTestInterfaceEmptyArg", TestObjectPythonV8Interna
l::voidMethodLongArgOptionalTestInterfaceEmptyArgMethodCallback, 0, 1}, |
| 6346 {"voidMethodTestInterfaceEmptyArgOptionalLongArg", TestObjectPythonV8Interna
l::voidMethodTestInterfaceEmptyArgOptionalLongArgMethodCallback, 0, 1}, | 6360 {"voidMethodTestInterfaceEmptyArgOptionalLongArg", TestObjectPythonV8Interna
l::voidMethodTestInterfaceEmptyArgOptionalLongArgMethodCallback, 0, 1}, |
| 6347 {"voidMethodOptionalDictionaryArg", TestObjectPythonV8Internal::voidMethodOp
tionalDictionaryArgMethodCallback, 0, 0}, | 6361 {"voidMethodOptionalDictionaryArg", TestObjectPythonV8Internal::voidMethodOp
tionalDictionaryArgMethodCallback, 0, 0}, |
| 6348 {"voidMethodVariadicStringArg", TestObjectPythonV8Internal::voidMethodVariad
icStringArgMethodCallback, 0, 1}, | 6362 {"voidMethodVariadicStringArg", TestObjectPythonV8Internal::voidMethodVariad
icStringArgMethodCallback, 0, 1}, |
| 6349 {"voidMethodStringArgVariadicStringArg", TestObjectPythonV8Internal::voidMet
hodStringArgVariadicStringArgMethodCallback, 0, 2}, | 6363 {"voidMethodStringArgVariadicStringArg", TestObjectPythonV8Internal::voidMet
hodStringArgVariadicStringArgMethodCallback, 0, 2}, |
| 6364 {"voidMethodVariadicTestInterfaceEmptyArg", TestObjectPythonV8Internal::void
MethodVariadicTestInterfaceEmptyArgMethodCallback, 0, 1}, |
| 6365 {"voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArg", TestObjectP
ythonV8Internal::voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArgMet
hodCallback, 0, 2}, |
| 6350 {"overloadedMethodA", TestObjectPythonV8Internal::overloadedMethodAMethodCal
lback, 0, 1}, | 6366 {"overloadedMethodA", TestObjectPythonV8Internal::overloadedMethodAMethodCal
lback, 0, 1}, |
| 6351 {"overloadedMethodB", TestObjectPythonV8Internal::overloadedMethodBMethodCal
lback, 0, 1}, | 6367 {"overloadedMethodB", TestObjectPythonV8Internal::overloadedMethodBMethodCal
lback, 0, 1}, |
| 6352 {"overloadedMethodC", TestObjectPythonV8Internal::overloadedMethodCMethodCal
lback, 0, 1}, | 6368 {"overloadedMethodC", TestObjectPythonV8Internal::overloadedMethodCMethodCal
lback, 0, 1}, |
| 6353 {"overloadedMethodD", TestObjectPythonV8Internal::overloadedMethodDMethodCal
lback, 0, 1}, | 6369 {"overloadedMethodD", TestObjectPythonV8Internal::overloadedMethodDMethodCal
lback, 0, 1}, |
| 6354 {"overloadedMethodE", TestObjectPythonV8Internal::overloadedMethodEMethodCal
lback, 0, 1}, | 6370 {"overloadedMethodE", TestObjectPythonV8Internal::overloadedMethodEMethodCal
lback, 0, 1}, |
| 6355 {"overloadedMethodF", TestObjectPythonV8Internal::overloadedMethodFMethodCal
lback, 0, 1}, | 6371 {"overloadedMethodF", TestObjectPythonV8Internal::overloadedMethodFMethodCal
lback, 0, 1}, |
| 6356 {"overloadedMethodG", TestObjectPythonV8Internal::overloadedMethodGMethodCal
lback, 0, 0}, | 6372 {"overloadedMethodG", TestObjectPythonV8Internal::overloadedMethodGMethodCal
lback, 0, 0}, |
| 6357 {"overloadedPerWorldBindingsMethod", TestObjectPythonV8Internal::overloadedP
erWorldBindingsMethodMethodCallback, TestObjectPythonV8Internal::overloadedPerWo
rldBindingsMethodMethodCallbackForMainWorld, 0}, | 6373 {"overloadedPerWorldBindingsMethod", TestObjectPythonV8Internal::overloadedP
erWorldBindingsMethodMethodCallback, TestObjectPythonV8Internal::overloadedPerWo
rldBindingsMethodMethodCallbackForMainWorld, 0}, |
| 6358 {"addEventListener", TestObjectPythonV8Internal::addEventListenerMethodCallb
ack, 0, 2}, | 6374 {"addEventListener", TestObjectPythonV8Internal::addEventListenerMethodCallb
ack, 0, 2}, |
| 6359 {"removeEventListener", TestObjectPythonV8Internal::removeEventListenerMetho
dCallback, 0, 2}, | 6375 {"removeEventListener", TestObjectPythonV8Internal::removeEventListenerMetho
dCallback, 0, 2}, |
| 6360 {"voidMethodClampUnsignedShortArg", TestObjectPythonV8Internal::voidMethodCl
ampUnsignedShortArgMethodCallback, 0, 1}, | 6376 {"voidMethodClampUnsignedShortArg", TestObjectPythonV8Internal::voidMethodCl
ampUnsignedShortArgMethodCallback, 0, 1}, |
| 6361 {"voidMethodClampUnsignedLongArg", TestObjectPythonV8Internal::voidMethodCla
mpUnsignedLongArgMethodCallback, 0, 1}, | 6377 {"voidMethodClampUnsignedLongArg", TestObjectPythonV8Internal::voidMethodCla
mpUnsignedLongArgMethodCallback, 0, 1}, |
| 6378 {"voidMethodDefaultUndefinedTestInterfaceEmptyArg", TestObjectPythonV8Intern
al::voidMethodDefaultUndefinedTestInterfaceEmptyArgMethodCallback, 0, 0}, |
| 6362 {"voidMethodDefaultUndefinedLongArg", TestObjectPythonV8Internal::voidMethod
DefaultUndefinedLongArgMethodCallback, 0, 0}, | 6379 {"voidMethodDefaultUndefinedLongArg", TestObjectPythonV8Internal::voidMethod
DefaultUndefinedLongArgMethodCallback, 0, 0}, |
| 6363 {"voidMethodDefaultUndefinedStringArg", TestObjectPythonV8Internal::voidMeth
odDefaultUndefinedStringArgMethodCallback, 0, 0}, | 6380 {"voidMethodDefaultUndefinedStringArg", TestObjectPythonV8Internal::voidMeth
odDefaultUndefinedStringArgMethodCallback, 0, 0}, |
| 6364 {"voidMethodDefaultNullStringStringArg", TestObjectPythonV8Internal::voidMet
hodDefaultNullStringStringArgMethodCallback, 0, 0}, | 6381 {"voidMethodDefaultNullStringStringArg", TestObjectPythonV8Internal::voidMet
hodDefaultNullStringStringArgMethodCallback, 0, 0}, |
| 6365 {"voidMethodEnforceRangeLongArg", TestObjectPythonV8Internal::voidMethodEnfo
rceRangeLongArgMethodCallback, 0, 1}, | 6382 {"voidMethodEnforceRangeLongArg", TestObjectPythonV8Internal::voidMethodEnfo
rceRangeLongArgMethodCallback, 0, 1}, |
| 6366 {"voidMethodTreatNullAsNullStringStringArg", TestObjectPythonV8Internal::voi
dMethodTreatNullAsNullStringStringArgMethodCallback, 0, 1}, | 6383 {"voidMethodTreatNullAsNullStringStringArg", TestObjectPythonV8Internal::voi
dMethodTreatNullAsNullStringStringArgMethodCallback, 0, 1}, |
| 6367 {"voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArg", TestO
bjectPythonV8Internal::voidMethodTreatNullAsNullStringTreatUndefinedAsNullString
StringArgMethodCallback, 0, 1}, | 6384 {"voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArg", TestO
bjectPythonV8Internal::voidMethodTreatNullAsNullStringTreatUndefinedAsNullString
StringArgMethodCallback, 0, 1}, |
| 6368 {"activityLoggingAccessForAllWorldsMethod", TestObjectPythonV8Internal::acti
vityLoggingAccessForAllWorldsMethodMethodCallback, 0, 0}, | 6385 {"activityLoggingAccessForAllWorldsMethod", TestObjectPythonV8Internal::acti
vityLoggingAccessForAllWorldsMethodMethodCallback, 0, 0}, |
| 6369 {"callWithScriptStateVoidMethod", TestObjectPythonV8Internal::callWithScript
StateVoidMethodMethodCallback, 0, 0}, | 6386 {"callWithScriptStateVoidMethod", TestObjectPythonV8Internal::callWithScript
StateVoidMethodMethodCallback, 0, 0}, |
| 6370 {"callWithScriptStateLongMethod", TestObjectPythonV8Internal::callWithScript
StateLongMethodMethodCallback, 0, 0}, | 6387 {"callWithScriptStateLongMethod", TestObjectPythonV8Internal::callWithScript
StateLongMethodMethodCallback, 0, 0}, |
| 6371 {"callWithExecutionContextVoidMethod", TestObjectPythonV8Internal::callWithE
xecutionContextVoidMethodMethodCallback, 0, 0}, | 6388 {"callWithExecutionContextVoidMethod", TestObjectPythonV8Internal::callWithE
xecutionContextVoidMethodMethodCallback, 0, 0}, |
| (...skipping 13 matching lines...) Expand all Loading... |
| 6385 #if ENABLE(CONDITION) | 6402 #if ENABLE(CONDITION) |
| 6386 {"conditionalConditionCustomVoidMethod", TestObjectPythonV8Internal::conditi
onalConditionCustomVoidMethodMethodCallback, 0, 0}, | 6403 {"conditionalConditionCustomVoidMethod", TestObjectPythonV8Internal::conditi
onalConditionCustomVoidMethodMethodCallback, 0, 0}, |
| 6387 #endif // ENABLE(CONDITION) | 6404 #endif // ENABLE(CONDITION) |
| 6388 {"customElementCallbacksVoidMethod", TestObjectPythonV8Internal::customEleme
ntCallbacksVoidMethodMethodCallback, 0, 0}, | 6405 {"customElementCallbacksVoidMethod", TestObjectPythonV8Internal::customEleme
ntCallbacksVoidMethodMethodCallback, 0, 0}, |
| 6389 {"deprecatedVoidMethod", TestObjectPythonV8Internal::deprecatedVoidMethodMet
hodCallback, 0, 0}, | 6406 {"deprecatedVoidMethod", TestObjectPythonV8Internal::deprecatedVoidMethodMet
hodCallback, 0, 0}, |
| 6390 {"implementedAsVoidMethod", TestObjectPythonV8Internal::implementedAsVoidMet
hodMethodCallback, 0, 0}, | 6407 {"implementedAsVoidMethod", TestObjectPythonV8Internal::implementedAsVoidMet
hodMethodCallback, 0, 0}, |
| 6391 {"measureAsVoidMethod", TestObjectPythonV8Internal::measureAsVoidMethodMetho
dCallback, 0, 0}, | 6408 {"measureAsVoidMethod", TestObjectPythonV8Internal::measureAsVoidMethodMetho
dCallback, 0, 0}, |
| 6392 {"perWorldBindingsVoidMethod", TestObjectPythonV8Internal::perWorldBindingsV
oidMethodMethodCallback, TestObjectPythonV8Internal::perWorldBindingsVoidMethodM
ethodCallbackForMainWorld, 0}, | 6409 {"perWorldBindingsVoidMethod", TestObjectPythonV8Internal::perWorldBindingsV
oidMethodMethodCallback, TestObjectPythonV8Internal::perWorldBindingsVoidMethodM
ethodCallbackForMainWorld, 0}, |
| 6393 {"activityLoggingForAllWorldsPerWorldBindingsVoidMethod", TestObjectPythonV8
Internal::activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallback, T
estObjectPythonV8Internal::activityLoggingForAllWorldsPerWorldBindingsVoidMethod
MethodCallbackForMainWorld, 0}, | 6410 {"activityLoggingForAllWorldsPerWorldBindingsVoidMethod", TestObjectPythonV8
Internal::activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallback, T
estObjectPythonV8Internal::activityLoggingForAllWorldsPerWorldBindingsVoidMethod
MethodCallbackForMainWorld, 0}, |
| 6394 {"activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethod", TestObjectPyt
honV8Internal::activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethodC
allback, TestObjectPythonV8Internal::activityLoggingForIsolatedWorldsPerWorldBin
dingsVoidMethodMethodCallbackForMainWorld, 0}, | 6411 {"activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethod", TestObjectPyt
honV8Internal::activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethodC
allback, TestObjectPythonV8Internal::activityLoggingForIsolatedWorldsPerWorldBin
dingsVoidMethodMethodCallbackForMainWorld, 0}, |
| 6412 {"perWorldBindingsVoidMethodTestInterfaceEmptyArg", TestObjectPythonV8Intern
al::perWorldBindingsVoidMethodTestInterfaceEmptyArgMethodCallback, TestObjectPyt
honV8Internal::perWorldBindingsVoidMethodTestInterfaceEmptyArgMethodCallbackForM
ainWorld, 1}, |
| 6395 {"raisesExceptionVoidMethod", TestObjectPythonV8Internal::raisesExceptionVoi
dMethodMethodCallback, 0, 0}, | 6413 {"raisesExceptionVoidMethod", TestObjectPythonV8Internal::raisesExceptionVoi
dMethodMethodCallback, 0, 0}, |
| 6396 {"raisesExceptionVoidMethodOptionalLongArg", TestObjectPythonV8Internal::rai
sesExceptionVoidMethodOptionalLongArgMethodCallback, 0, 0}, | 6414 {"raisesExceptionVoidMethodOptionalLongArg", TestObjectPythonV8Internal::rai
sesExceptionVoidMethodOptionalLongArgMethodCallback, 0, 0}, |
| 6397 {"strictTypeCheckingVoidMethodTestInterfaceEmptyArg", TestObjectPythonV8Inte
rnal::strictTypeCheckingVoidMethodTestInterfaceEmptyArgMethodCallback, 0, 1}, | 6415 {"strictTypeCheckingVoidMethodTestInterfaceEmptyArg", TestObjectPythonV8Inte
rnal::strictTypeCheckingVoidMethodTestInterfaceEmptyArgMethodCallback, 0, 1}, |
| 6398 {"treatReturnedNullStringAsNullStringMethod", TestObjectPythonV8Internal::tr
eatReturnedNullStringAsNullStringMethodMethodCallback, 0, 0}, | 6416 {"treatReturnedNullStringAsNullStringMethod", TestObjectPythonV8Internal::tr
eatReturnedNullStringAsNullStringMethodMethodCallback, 0, 0}, |
| 6399 {"treatReturnedNullStringAsUndefinedStringMethod", TestObjectPythonV8Interna
l::treatReturnedNullStringAsUndefinedStringMethodMethodCallback, 0, 0}, | 6417 {"treatReturnedNullStringAsUndefinedStringMethod", TestObjectPythonV8Interna
l::treatReturnedNullStringAsUndefinedStringMethodMethodCallback, 0, 0}, |
| 6400 }; | 6418 }; |
| 6401 | 6419 |
| 6402 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestObjectPythonTemplate(v8::
Handle<v8::FunctionTemplate> functionTemplate, v8::Isolate* isolate, WrapperWorl
dType currentWorldType) | 6420 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestObjectPythonTemplate(v8::
Handle<v8::FunctionTemplate> functionTemplate, v8::Isolate* isolate, WrapperWorl
dType currentWorldType) |
| 6403 { | 6421 { |
| 6404 functionTemplate->ReadOnlyPrototype(); | 6422 functionTemplate->ReadOnlyPrototype(); |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6459 COMPILE_ASSERT(0X20 == TestObjectPython::CONST_VALUE_13, TheValueOfTestObjec
tPython_CONST_VALUE_13DoesntMatchWithImplementation); | 6477 COMPILE_ASSERT(0X20 == TestObjectPython::CONST_VALUE_13, TheValueOfTestObjec
tPython_CONST_VALUE_13DoesntMatchWithImplementation); |
| 6460 COMPILE_ASSERT(0x1abc == TestObjectPython::CONST_VALUE_14, TheValueOfTestObj
ectPython_CONST_VALUE_14DoesntMatchWithImplementation); | 6478 COMPILE_ASSERT(0x1abc == TestObjectPython::CONST_VALUE_14, TheValueOfTestObj
ectPython_CONST_VALUE_14DoesntMatchWithImplementation); |
| 6461 COMPILE_ASSERT(010 == TestObjectPython::CONST_VALUE_15, TheValueOfTestObject
Python_CONST_VALUE_15DoesntMatchWithImplementation); | 6479 COMPILE_ASSERT(010 == TestObjectPython::CONST_VALUE_15, TheValueOfTestObject
Python_CONST_VALUE_15DoesntMatchWithImplementation); |
| 6462 COMPILE_ASSERT(-010 == TestObjectPython::CONST_VALUE_16, TheValueOfTestObjec
tPython_CONST_VALUE_16DoesntMatchWithImplementation); | 6480 COMPILE_ASSERT(-010 == TestObjectPython::CONST_VALUE_16, TheValueOfTestObjec
tPython_CONST_VALUE_16DoesntMatchWithImplementation); |
| 6463 COMPILE_ASSERT(-0x1A == TestObjectPython::CONST_VALUE_16, TheValueOfTestObje
ctPython_CONST_VALUE_16DoesntMatchWithImplementation); | 6481 COMPILE_ASSERT(-0x1A == TestObjectPython::CONST_VALUE_16, TheValueOfTestObje
ctPython_CONST_VALUE_16DoesntMatchWithImplementation); |
| 6464 COMPILE_ASSERT(-0X1a == TestObjectPython::CONST_VALUE_17, TheValueOfTestObje
ctPython_CONST_VALUE_17DoesntMatchWithImplementation); | 6482 COMPILE_ASSERT(-0X1a == TestObjectPython::CONST_VALUE_17, TheValueOfTestObje
ctPython_CONST_VALUE_17DoesntMatchWithImplementation); |
| 6465 COMPILE_ASSERT(1 == TestObjectPython::DEPRECATED_CONSTANT, TheValueOfTestObj
ectPython_DEPRECATED_CONSTANTDoesntMatchWithImplementation); | 6483 COMPILE_ASSERT(1 == TestObjectPython::DEPRECATED_CONSTANT, TheValueOfTestObj
ectPython_DEPRECATED_CONSTANTDoesntMatchWithImplementation); |
| 6466 COMPILE_ASSERT(1 == TestObjectPython::FEATURE_ENABLED_CONST, TheValueOfTestO
bjectPython_FEATURE_ENABLED_CONSTDoesntMatchWithImplementation); | 6484 COMPILE_ASSERT(1 == TestObjectPython::FEATURE_ENABLED_CONST, TheValueOfTestO
bjectPython_FEATURE_ENABLED_CONSTDoesntMatchWithImplementation); |
| 6467 COMPILE_ASSERT(1 == TestObjectPython::CONST_IMPL, TheValueOfTestObjectPython
_CONST_IMPLDoesntMatchWithImplementation); | 6485 COMPILE_ASSERT(1 == TestObjectPython::CONST_IMPL, TheValueOfTestObjectPython
_CONST_IMPLDoesntMatchWithImplementation); |
| 6468 functionTemplate->Set(v8::String::NewFromUtf8(isolate, "staticVoidMethod", v
8::String::kInternalizedString), v8::FunctionTemplate::New(isolate, TestObjectPy
thonV8Internal::staticVoidMethodMethodCallback, v8Undefined(), v8::Local<v8::Sig
nature>(), 0)); | 6486 functionTemplate->Set(v8::String::NewFromUtf8(isolate, "staticVoidMethod", v
8::String::kInternalizedString), v8::FunctionTemplate::New(isolate, TestObjectPy
thonV8Internal::staticVoidMethodMethodCallback, v8Undefined(), v8::Local<v8::Sig
nature>(), 0)); |
| 6469 | |
| 6470 // Custom Signature 'voidMethodTestInterfaceEmptyArg' | |
| 6471 const int voidMethodTestInterfaceEmptyArgArgc = 1; | |
| 6472 v8::Handle<v8::FunctionTemplate> voidMethodTestInterfaceEmptyArgArgv[voidMet
hodTestInterfaceEmptyArgArgc] = { V8PerIsolateData::from(isolate)->rawDOMTemplat
e(&V8TestInterfaceEmpty::wrapperTypeInfo, currentWorldType) }; | |
| 6473 v8::Handle<v8::Signature> voidMethodTestInterfaceEmptyArgSignature = v8::Sig
nature::New(isolate, functionTemplate, voidMethodTestInterfaceEmptyArgArgc, void
MethodTestInterfaceEmptyArgArgv); | |
| 6474 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "voidMethodTestInter
faceEmptyArg", v8::String::kInternalizedString), v8::FunctionTemplate::New(isola
te, TestObjectPythonV8Internal::voidMethodTestInterfaceEmptyArgMethodCallback, v
8Undefined(), voidMethodTestInterfaceEmptyArgSignature, 1)); | |
| 6475 | |
| 6476 // Custom Signature 'voidMethodLongArgTestInterfaceEmptyArg' | |
| 6477 const int voidMethodLongArgTestInterfaceEmptyArgArgc = 2; | |
| 6478 v8::Handle<v8::FunctionTemplate> voidMethodLongArgTestInterfaceEmptyArgArgv[
voidMethodLongArgTestInterfaceEmptyArgArgc] = { v8::Handle<v8::FunctionTemplate>
(), V8PerIsolateData::from(isolate)->rawDOMTemplate(&V8TestInterfaceEmpty::wrapp
erTypeInfo, currentWorldType) }; | |
| 6479 v8::Handle<v8::Signature> voidMethodLongArgTestInterfaceEmptyArgSignature =
v8::Signature::New(isolate, functionTemplate, voidMethodLongArgTestInterfaceEmpt
yArgArgc, voidMethodLongArgTestInterfaceEmptyArgArgv); | |
| 6480 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "voidMethodLongArgTe
stInterfaceEmptyArg", v8::String::kInternalizedString), v8::FunctionTemplate::Ne
w(isolate, TestObjectPythonV8Internal::voidMethodLongArgTestInterfaceEmptyArgMet
hodCallback, v8Undefined(), voidMethodLongArgTestInterfaceEmptyArgSignature, 2))
; | |
| 6481 | |
| 6482 // Custom Signature 'voidMethodAttrArg' | |
| 6483 const int voidMethodAttrArgArgc = 1; | |
| 6484 v8::Handle<v8::FunctionTemplate> voidMethodAttrArgArgv[voidMethodAttrArgArgc
] = { V8PerIsolateData::from(isolate)->rawDOMTemplate(&V8Attr::wrapperTypeInfo,
currentWorldType) }; | |
| 6485 v8::Handle<v8::Signature> voidMethodAttrArgSignature = v8::Signature::New(is
olate, functionTemplate, voidMethodAttrArgArgc, voidMethodAttrArgArgv); | |
| 6486 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "voidMethodAttrArg",
v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate, TestObject
PythonV8Internal::voidMethodAttrArgMethodCallback, v8Undefined(), voidMethodAttr
ArgSignature, 1)); | |
| 6487 | |
| 6488 // Custom Signature 'voidMethodDocumentArg' | |
| 6489 const int voidMethodDocumentArgArgc = 1; | |
| 6490 v8::Handle<v8::FunctionTemplate> voidMethodDocumentArgArgv[voidMethodDocumen
tArgArgc] = { V8PerIsolateData::from(isolate)->rawDOMTemplate(&V8Document::wrapp
erTypeInfo, currentWorldType) }; | |
| 6491 v8::Handle<v8::Signature> voidMethodDocumentArgSignature = v8::Signature::Ne
w(isolate, functionTemplate, voidMethodDocumentArgArgc, voidMethodDocumentArgArg
v); | |
| 6492 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "voidMethodDocumentA
rg", v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate, TestOb
jectPythonV8Internal::voidMethodDocumentArgMethodCallback, v8Undefined(), voidMe
thodDocumentArgSignature, 1)); | |
| 6493 | |
| 6494 // Custom Signature 'voidMethodDocumentTypeArg' | |
| 6495 const int voidMethodDocumentTypeArgArgc = 1; | |
| 6496 v8::Handle<v8::FunctionTemplate> voidMethodDocumentTypeArgArgv[voidMethodDoc
umentTypeArgArgc] = { V8PerIsolateData::from(isolate)->rawDOMTemplate(&V8Documen
tType::wrapperTypeInfo, currentWorldType) }; | |
| 6497 v8::Handle<v8::Signature> voidMethodDocumentTypeArgSignature = v8::Signature
::New(isolate, functionTemplate, voidMethodDocumentTypeArgArgc, voidMethodDocume
ntTypeArgArgv); | |
| 6498 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "voidMethodDocumentT
ypeArg", v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate, Te
stObjectPythonV8Internal::voidMethodDocumentTypeArgMethodCallback, v8Undefined()
, voidMethodDocumentTypeArgSignature, 1)); | |
| 6499 | |
| 6500 // Custom Signature 'voidMethodElementArg' | |
| 6501 const int voidMethodElementArgArgc = 1; | |
| 6502 v8::Handle<v8::FunctionTemplate> voidMethodElementArgArgv[voidMethodElementA
rgArgc] = { V8PerIsolateData::from(isolate)->rawDOMTemplate(&V8Element::wrapperT
ypeInfo, currentWorldType) }; | |
| 6503 v8::Handle<v8::Signature> voidMethodElementArgSignature = v8::Signature::New
(isolate, functionTemplate, voidMethodElementArgArgc, voidMethodElementArgArgv); | |
| 6504 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "voidMethodElementAr
g", v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate, TestObj
ectPythonV8Internal::voidMethodElementArgMethodCallback, v8Undefined(), voidMeth
odElementArgSignature, 1)); | |
| 6505 | |
| 6506 // Custom Signature 'voidMethodNodeArg' | |
| 6507 const int voidMethodNodeArgArgc = 1; | |
| 6508 v8::Handle<v8::FunctionTemplate> voidMethodNodeArgArgv[voidMethodNodeArgArgc
] = { V8PerIsolateData::from(isolate)->rawDOMTemplate(&V8Node::wrapperTypeInfo,
currentWorldType) }; | |
| 6509 v8::Handle<v8::Signature> voidMethodNodeArgSignature = v8::Signature::New(is
olate, functionTemplate, voidMethodNodeArgArgc, voidMethodNodeArgArgv); | |
| 6510 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "voidMethodNodeArg",
v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate, TestObject
PythonV8Internal::voidMethodNodeArgMethodCallback, v8Undefined(), voidMethodNode
ArgSignature, 1)); | |
| 6511 | |
| 6512 // Custom Signature 'voidMethodArrayBufferArg' | |
| 6513 const int voidMethodArrayBufferArgArgc = 1; | |
| 6514 v8::Handle<v8::FunctionTemplate> voidMethodArrayBufferArgArgv[voidMethodArra
yBufferArgArgc] = { v8::Handle<v8::FunctionTemplate>() }; | |
| 6515 v8::Handle<v8::Signature> voidMethodArrayBufferArgSignature = v8::Signature:
:New(isolate, functionTemplate, voidMethodArrayBufferArgArgc, voidMethodArrayBuf
ferArgArgv); | |
| 6516 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "voidMethodArrayBuff
erArg", v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate, Tes
tObjectPythonV8Internal::voidMethodArrayBufferArgMethodCallback, v8Undefined(),
voidMethodArrayBufferArgSignature, 1)); | |
| 6517 | |
| 6518 // Custom Signature 'voidMethodArrayBufferViewArg' | |
| 6519 const int voidMethodArrayBufferViewArgArgc = 1; | |
| 6520 v8::Handle<v8::FunctionTemplate> voidMethodArrayBufferViewArgArgv[voidMethod
ArrayBufferViewArgArgc] = { v8::Handle<v8::FunctionTemplate>() }; | |
| 6521 v8::Handle<v8::Signature> voidMethodArrayBufferViewArgSignature = v8::Signat
ure::New(isolate, functionTemplate, voidMethodArrayBufferViewArgArgc, voidMethod
ArrayBufferViewArgArgv); | |
| 6522 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "voidMethodArrayBuff
erViewArg", v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate,
TestObjectPythonV8Internal::voidMethodArrayBufferViewArgMethodCallback, v8Undef
ined(), voidMethodArrayBufferViewArgSignature, 1)); | |
| 6523 | |
| 6524 // Custom Signature 'voidMethodFloat32ArrayArg' | |
| 6525 const int voidMethodFloat32ArrayArgArgc = 1; | |
| 6526 v8::Handle<v8::FunctionTemplate> voidMethodFloat32ArrayArgArgv[voidMethodFlo
at32ArrayArgArgc] = { v8::Handle<v8::FunctionTemplate>() }; | |
| 6527 v8::Handle<v8::Signature> voidMethodFloat32ArrayArgSignature = v8::Signature
::New(isolate, functionTemplate, voidMethodFloat32ArrayArgArgc, voidMethodFloat3
2ArrayArgArgv); | |
| 6528 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "voidMethodFloat32Ar
rayArg", v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate, Te
stObjectPythonV8Internal::voidMethodFloat32ArrayArgMethodCallback, v8Undefined()
, voidMethodFloat32ArrayArgSignature, 1)); | |
| 6529 | |
| 6530 // Custom Signature 'voidMethodInt32ArrayArg' | |
| 6531 const int voidMethodInt32ArrayArgArgc = 1; | |
| 6532 v8::Handle<v8::FunctionTemplate> voidMethodInt32ArrayArgArgv[voidMethodInt32
ArrayArgArgc] = { v8::Handle<v8::FunctionTemplate>() }; | |
| 6533 v8::Handle<v8::Signature> voidMethodInt32ArrayArgSignature = v8::Signature::
New(isolate, functionTemplate, voidMethodInt32ArrayArgArgc, voidMethodInt32Array
ArgArgv); | |
| 6534 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "voidMethodInt32Arra
yArg", v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate, Test
ObjectPythonV8Internal::voidMethodInt32ArrayArgMethodCallback, v8Undefined(), vo
idMethodInt32ArrayArgSignature, 1)); | |
| 6535 | |
| 6536 // Custom Signature 'voidMethodUint8ArrayArg' | |
| 6537 const int voidMethodUint8ArrayArgArgc = 1; | |
| 6538 v8::Handle<v8::FunctionTemplate> voidMethodUint8ArrayArgArgv[voidMethodUint8
ArrayArgArgc] = { v8::Handle<v8::FunctionTemplate>() }; | |
| 6539 v8::Handle<v8::Signature> voidMethodUint8ArrayArgSignature = v8::Signature::
New(isolate, functionTemplate, voidMethodUint8ArrayArgArgc, voidMethodUint8Array
ArgArgv); | |
| 6540 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "voidMethodUint8Arra
yArg", v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate, Test
ObjectPythonV8Internal::voidMethodUint8ArrayArgMethodCallback, v8Undefined(), vo
idMethodUint8ArrayArgSignature, 1)); | |
| 6541 | |
| 6542 // Custom Signature 'voidMethodNullableStringArg' | |
| 6543 const int voidMethodNullableStringArgArgc = 1; | |
| 6544 v8::Handle<v8::FunctionTemplate> voidMethodNullableStringArgArgv[voidMethodN
ullableStringArgArgc] = { V8PerIsolateData::from(isolate)->rawDOMTemplate(&V8Tes
tInterfaceEmpty::wrapperTypeInfo, currentWorldType) }; | |
| 6545 v8::Handle<v8::Signature> voidMethodNullableStringArgSignature = v8::Signatu
re::New(isolate, functionTemplate, voidMethodNullableStringArgArgc, voidMethodNu
llableStringArgArgv); | |
| 6546 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "voidMethodNullableS
tringArg", v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate,
TestObjectPythonV8Internal::voidMethodNullableStringArgMethodCallback, v8Undefin
ed(), voidMethodNullableStringArgSignature, 1)); | |
| 6547 | |
| 6548 // Custom Signature 'voidMethodXPathNSResolverArg' | |
| 6549 const int voidMethodXPathNSResolverArgArgc = 1; | |
| 6550 v8::Handle<v8::FunctionTemplate> voidMethodXPathNSResolverArgArgv[voidMethod
XPathNSResolverArgArgc] = { v8::Handle<v8::FunctionTemplate>() }; | |
| 6551 v8::Handle<v8::Signature> voidMethodXPathNSResolverArgSignature = v8::Signat
ure::New(isolate, functionTemplate, voidMethodXPathNSResolverArgArgc, voidMethod
XPathNSResolverArgArgv); | |
| 6552 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "voidMethodXPathNSRe
solverArg", v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate,
TestObjectPythonV8Internal::voidMethodXPathNSResolverArgMethodCallback, v8Undef
ined(), voidMethodXPathNSResolverArgSignature, 1)); | |
| 6553 | |
| 6554 // Custom Signature 'voidMethodVariadicTestInterfaceEmptyArg' | |
| 6555 const int voidMethodVariadicTestInterfaceEmptyArgArgc = 1; | |
| 6556 v8::Handle<v8::FunctionTemplate> voidMethodVariadicTestInterfaceEmptyArgArgv
[voidMethodVariadicTestInterfaceEmptyArgArgc] = { V8PerIsolateData::from(isolate
)->rawDOMTemplate(&V8TestInterfaceEmpty::wrapperTypeInfo, currentWorldType) }; | |
| 6557 v8::Handle<v8::Signature> voidMethodVariadicTestInterfaceEmptyArgSignature =
v8::Signature::New(isolate, functionTemplate, voidMethodVariadicTestInterfaceEm
ptyArgArgc, voidMethodVariadicTestInterfaceEmptyArgArgv); | |
| 6558 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "voidMethodVariadicT
estInterfaceEmptyArg", v8::String::kInternalizedString), v8::FunctionTemplate::N
ew(isolate, TestObjectPythonV8Internal::voidMethodVariadicTestInterfaceEmptyArgM
ethodCallback, v8Undefined(), voidMethodVariadicTestInterfaceEmptyArgSignature,
1)); | |
| 6559 | |
| 6560 // Custom Signature 'voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmp
tyArg' | |
| 6561 const int voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArgArgc =
2; | |
| 6562 v8::Handle<v8::FunctionTemplate> voidMethodTestInterfaceEmptyArgVariadicTest
InterfaceEmptyArgArgv[voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyA
rgArgc] = { V8PerIsolateData::from(isolate)->rawDOMTemplate(&V8TestInterfaceEmpt
y::wrapperTypeInfo, currentWorldType), V8PerIsolateData::from(isolate)->rawDOMTe
mplate(&V8TestInterfaceEmpty::wrapperTypeInfo, currentWorldType) }; | |
| 6563 v8::Handle<v8::Signature> voidMethodTestInterfaceEmptyArgVariadicTestInterfa
ceEmptyArgSignature = v8::Signature::New(isolate, functionTemplate, voidMethodTe
stInterfaceEmptyArgVariadicTestInterfaceEmptyArgArgc, voidMethodTestInterfaceEmp
tyArgVariadicTestInterfaceEmptyArgArgv); | |
| 6564 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "voidMethodTestInter
faceEmptyArgVariadicTestInterfaceEmptyArg", v8::String::kInternalizedString), v8
::FunctionTemplate::New(isolate, TestObjectPythonV8Internal::voidMethodTestInter
faceEmptyArgVariadicTestInterfaceEmptyArgMethodCallback, v8Undefined(), voidMeth
odTestInterfaceEmptyArgVariadicTestInterfaceEmptyArgSignature, 2)); | |
| 6565 functionTemplate->Set(v8::String::NewFromUtf8(isolate, "overloadedStaticMeth
od", v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate, TestOb
jectPythonV8Internal::overloadedStaticMethodMethodCallback, v8Undefined(), v8::L
ocal<v8::Signature>(), 1)); | 6487 functionTemplate->Set(v8::String::NewFromUtf8(isolate, "overloadedStaticMeth
od", v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate, TestOb
jectPythonV8Internal::overloadedStaticMethodMethodCallback, v8Undefined(), v8::L
ocal<v8::Signature>(), 1)); |
| 6566 | |
| 6567 // Custom Signature 'voidMethodDefaultUndefinedTestInterfaceEmptyArg' | |
| 6568 const int voidMethodDefaultUndefinedTestInterfaceEmptyArgArgc = 1; | |
| 6569 v8::Handle<v8::FunctionTemplate> voidMethodDefaultUndefinedTestInterfaceEmpt
yArgArgv[voidMethodDefaultUndefinedTestInterfaceEmptyArgArgc] = { V8PerIsolateDa
ta::from(isolate)->rawDOMTemplate(&V8TestInterfaceEmpty::wrapperTypeInfo, curren
tWorldType) }; | |
| 6570 v8::Handle<v8::Signature> voidMethodDefaultUndefinedTestInterfaceEmptyArgSig
nature = v8::Signature::New(isolate, functionTemplate, voidMethodDefaultUndefine
dTestInterfaceEmptyArgArgc, voidMethodDefaultUndefinedTestInterfaceEmptyArgArgv)
; | |
| 6571 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "voidMethodDefaultUn
definedTestInterfaceEmptyArg", v8::String::kInternalizedString), v8::FunctionTem
plate::New(isolate, TestObjectPythonV8Internal::voidMethodDefaultUndefinedTestIn
terfaceEmptyArgMethodCallback, v8Undefined(), voidMethodDefaultUndefinedTestInte
rfaceEmptyArgSignature, 0)); | |
| 6572 #if ENABLE(CONDITION) | 6488 #if ENABLE(CONDITION) |
| 6573 functionTemplate->Set(v8::String::NewFromUtf8(isolate, "conditionalCondition
StaticVoidMethod", v8::String::kInternalizedString), v8::FunctionTemplate::New(i
solate, TestObjectPythonV8Internal::conditionalConditionStaticVoidMethodMethodCa
llback, v8Undefined(), v8::Local<v8::Signature>(), 0)); | 6489 functionTemplate->Set(v8::String::NewFromUtf8(isolate, "conditionalCondition
StaticVoidMethod", v8::String::kInternalizedString), v8::FunctionTemplate::New(i
solate, TestObjectPythonV8Internal::conditionalConditionStaticVoidMethodMethodCa
llback, v8Undefined(), v8::Local<v8::Signature>(), 0)); |
| 6574 #endif // ENABLE(CONDITION) | 6490 #endif // ENABLE(CONDITION) |
| 6575 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "doNotCheckSignature
VoidMethod", v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate
, TestObjectPythonV8Internal::doNotCheckSignatureVoidMethodMethodCallback, v8Und
efined(), v8::Local<v8::Signature>(), 0)); | 6491 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "doNotCheckSignature
VoidMethod", v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate
, TestObjectPythonV8Internal::doNotCheckSignatureVoidMethodMethodCallback, v8Und
efined(), v8::Local<v8::Signature>(), 0)); |
| 6576 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "notEnumerableVoidMe
thod", v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate, Test
ObjectPythonV8Internal::notEnumerableVoidMethodMethodCallback, v8Undefined(), de
faultSignature, 0), static_cast<v8::PropertyAttribute>(v8::DontDelete | v8::Dont
Enum)); | 6492 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "notEnumerableVoidMe
thod", v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate, Test
ObjectPythonV8Internal::notEnumerableVoidMethodMethodCallback, v8Undefined(), de
faultSignature, 0), static_cast<v8::PropertyAttribute>(v8::DontDelete | v8::Dont
Enum)); |
| 6577 | |
| 6578 // Custom Signature 'perWorldBindingsVoidMethodTestInterfaceEmptyArg' | |
| 6579 const int perWorldBindingsVoidMethodTestInterfaceEmptyArgArgc = 1; | |
| 6580 v8::Handle<v8::FunctionTemplate> perWorldBindingsVoidMethodTestInterfaceEmpt
yArgArgv[perWorldBindingsVoidMethodTestInterfaceEmptyArgArgc] = { V8PerIsolateDa
ta::from(isolate)->rawDOMTemplate(&V8TestInterfaceEmpty::wrapperTypeInfo, curren
tWorldType) }; | |
| 6581 v8::Handle<v8::Signature> perWorldBindingsVoidMethodTestInterfaceEmptyArgSig
nature = v8::Signature::New(isolate, functionTemplate, perWorldBindingsVoidMetho
dTestInterfaceEmptyArgArgc, perWorldBindingsVoidMethodTestInterfaceEmptyArgArgv)
; | |
| 6582 if (currentWorldType == MainWorld) { | |
| 6583 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "perWorldBinding
sVoidMethodTestInterfaceEmptyArg", v8::String::kInternalizedString), v8::Functio
nTemplate::New(isolate, TestObjectPythonV8Internal::perWorldBindingsVoidMethodTe
stInterfaceEmptyArgMethodCallbackForMainWorld, v8Undefined(), perWorldBindingsVo
idMethodTestInterfaceEmptyArgSignature, 1)); | |
| 6584 } else { | |
| 6585 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "perWorldBinding
sVoidMethodTestInterfaceEmptyArg", v8::String::kInternalizedString), v8::Functio
nTemplate::New(isolate, TestObjectPythonV8Internal::perWorldBindingsVoidMethodTe
stInterfaceEmptyArgMethodCallback, v8Undefined(), perWorldBindingsVoidMethodTest
InterfaceEmptyArgSignature, 1)); | |
| 6586 } | |
| 6587 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "readOnlyVoidMethod"
, v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate, TestObjec
tPythonV8Internal::readOnlyVoidMethodMethodCallback, v8Undefined(), defaultSigna
ture, 0), static_cast<v8::PropertyAttribute>(v8::DontDelete | v8::ReadOnly)); | 6493 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "readOnlyVoidMethod"
, v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate, TestObjec
tPythonV8Internal::readOnlyVoidMethodMethodCallback, v8Undefined(), defaultSigna
ture, 0), static_cast<v8::PropertyAttribute>(v8::DontDelete | v8::ReadOnly)); |
| 6588 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "notEnumerableReadOn
lyVoidMethod", v8::String::kInternalizedString), v8::FunctionTemplate::New(isola
te, TestObjectPythonV8Internal::notEnumerableReadOnlyVoidMethodMethodCallback, v
8Undefined(), defaultSignature, 0), static_cast<v8::PropertyAttribute>(v8::DontD
elete | v8::DontEnum | v8::ReadOnly)); | 6494 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "notEnumerableReadOn
lyVoidMethod", v8::String::kInternalizedString), v8::FunctionTemplate::New(isola
te, TestObjectPythonV8Internal::notEnumerableReadOnlyVoidMethodMethodCallback, v
8Undefined(), defaultSignature, 0), static_cast<v8::PropertyAttribute>(v8::DontD
elete | v8::DontEnum | v8::ReadOnly)); |
| 6589 if (RuntimeEnabledFeatures::featureNameEnabled()) | 6495 if (RuntimeEnabledFeatures::featureNameEnabled()) |
| 6590 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "runtimeEnabledV
oidMethod", v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate,
TestObjectPythonV8Internal::runtimeEnabledVoidMethodMethodCallback, v8Undefined
(), defaultSignature, 0)); | 6496 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "runtimeEnabledV
oidMethod", v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate,
TestObjectPythonV8Internal::runtimeEnabledVoidMethodMethodCallback, v8Undefined
(), defaultSignature, 0)); |
| 6591 if (currentWorldType == MainWorld) { | 6497 if (currentWorldType == MainWorld) { |
| 6592 if (RuntimeEnabledFeatures::featureNameEnabled()) | 6498 if (RuntimeEnabledFeatures::featureNameEnabled()) |
| 6593 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "perWorldBin
dingsRuntimeEnabledVoidMethod", v8::String::kInternalizedString), v8::FunctionTe
mplate::New(isolate, TestObjectPythonV8Internal::perWorldBindingsRuntimeEnabledV
oidMethodMethodCallbackForMainWorld, v8Undefined(), defaultSignature, 0)); | 6499 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "perWorldBin
dingsRuntimeEnabledVoidMethod", v8::String::kInternalizedString), v8::FunctionTe
mplate::New(isolate, TestObjectPythonV8Internal::perWorldBindingsRuntimeEnabledV
oidMethodMethodCallbackForMainWorld, v8Undefined(), defaultSignature, 0)); |
| 6594 } else { | 6500 } else { |
| 6595 if (RuntimeEnabledFeatures::featureNameEnabled()) | 6501 if (RuntimeEnabledFeatures::featureNameEnabled()) |
| 6596 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "perWorldBin
dingsRuntimeEnabledVoidMethod", v8::String::kInternalizedString), v8::FunctionTe
mplate::New(isolate, TestObjectPythonV8Internal::perWorldBindingsRuntimeEnabledV
oidMethodMethodCallback, v8Undefined(), defaultSignature, 0)); | 6502 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "perWorldBin
dingsRuntimeEnabledVoidMethod", v8::String::kInternalizedString), v8::FunctionTe
mplate::New(isolate, TestObjectPythonV8Internal::perWorldBindingsRuntimeEnabledV
oidMethodMethodCallback, v8Undefined(), defaultSignature, 0)); |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6675 fromInternalPointer(object)->deref(); | 6581 fromInternalPointer(object)->deref(); |
| 6676 } | 6582 } |
| 6677 | 6583 |
| 6678 template<> | 6584 template<> |
| 6679 v8::Handle<v8::Value> toV8NoInline(TestObjectPython* impl, v8::Handle<v8::Object
> creationContext, v8::Isolate* isolate) | 6585 v8::Handle<v8::Value> toV8NoInline(TestObjectPython* impl, v8::Handle<v8::Object
> creationContext, v8::Isolate* isolate) |
| 6680 { | 6586 { |
| 6681 return toV8(impl, creationContext, isolate); | 6587 return toV8(impl, creationContext, isolate); |
| 6682 } | 6588 } |
| 6683 | 6589 |
| 6684 } // namespace WebCore | 6590 } // namespace WebCore |
| OLD | NEW |