OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! | 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! |
6 | 6 |
7 #include "V8TestObject.h" | 7 #include "V8TestObject.h" |
8 | 8 |
9 #include "bindings/core/v8/BindingSecurity.h" | 9 #include "bindings/core/v8/BindingSecurity.h" |
10 #include "bindings/core/v8/Dictionary.h" | 10 #include "bindings/core/v8/Dictionary.h" |
(...skipping 4307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4318 return; | 4318 return; |
4319 impl->setTreatNullAsNullStringStringAttribute(cppValue); | 4319 impl->setTreatNullAsNullStringStringAttribute(cppValue); |
4320 } | 4320 } |
4321 | 4321 |
4322 static void treatNullAsNullStringStringAttributeAttributeSetterCallback(const v8
::FunctionCallbackInfo<v8::Value>& info) | 4322 static void treatNullAsNullStringStringAttributeAttributeSetterCallback(const v8
::FunctionCallbackInfo<v8::Value>& info) |
4323 { | 4323 { |
4324 v8::Local<v8::Value> v8Value = info[0]; | 4324 v8::Local<v8::Value> v8Value = info[0]; |
4325 TestObjectV8Internal::treatNullAsNullStringStringAttributeAttributeSetter(v8
Value, info); | 4325 TestObjectV8Internal::treatNullAsNullStringStringAttributeAttributeSetter(v8
Value, info); |
4326 } | 4326 } |
4327 | 4327 |
4328 static void treatReturnedNullStringAsNullStringAttributeAttributeGetter(const v8
::FunctionCallbackInfo<v8::Value>& info) | |
4329 { | |
4330 v8::Local<v8::Object> holder = info.Holder(); | |
4331 TestObject* impl = V8TestObject::toImpl(holder); | |
4332 v8SetReturnValueStringOrNull(info, impl->treatReturnedNullStringAsNullString
Attribute(), info.GetIsolate()); | |
4333 } | |
4334 | |
4335 static void treatReturnedNullStringAsNullStringAttributeAttributeGetterCallback(
const v8::FunctionCallbackInfo<v8::Value>& info) | |
4336 { | |
4337 TestObjectV8Internal::treatReturnedNullStringAsNullStringAttributeAttributeG
etter(info); | |
4338 } | |
4339 | |
4340 static void treatReturnedNullStringAsNullStringAttributeAttributeSetter(v8::Loca
l<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) | |
4341 { | |
4342 v8::Local<v8::Object> holder = info.Holder(); | |
4343 TestObject* impl = V8TestObject::toImpl(holder); | |
4344 V8StringResource<> cppValue = v8Value; | |
4345 if (!cppValue.prepare()) | |
4346 return; | |
4347 impl->setTreatReturnedNullStringAsNullStringAttribute(cppValue); | |
4348 } | |
4349 | |
4350 static void treatReturnedNullStringAsNullStringAttributeAttributeSetterCallback(
const v8::FunctionCallbackInfo<v8::Value>& info) | |
4351 { | |
4352 v8::Local<v8::Value> v8Value = info[0]; | |
4353 TestObjectV8Internal::treatReturnedNullStringAsNullStringAttributeAttributeS
etter(v8Value, info); | |
4354 } | |
4355 | |
4356 static void treatReturnedNullStringAsUndefinedStringAttributeAttributeGetter(con
st v8::FunctionCallbackInfo<v8::Value>& info) | |
4357 { | |
4358 v8::Local<v8::Object> holder = info.Holder(); | |
4359 TestObject* impl = V8TestObject::toImpl(holder); | |
4360 v8SetReturnValueStringOrUndefined(info, impl->treatReturnedNullStringAsUndef
inedStringAttribute(), info.GetIsolate()); | |
4361 } | |
4362 | |
4363 static void treatReturnedNullStringAsUndefinedStringAttributeAttributeGetterCall
back(const v8::FunctionCallbackInfo<v8::Value>& info) | |
4364 { | |
4365 TestObjectV8Internal::treatReturnedNullStringAsUndefinedStringAttributeAttri
buteGetter(info); | |
4366 } | |
4367 | |
4368 static void treatReturnedNullStringAsUndefinedStringAttributeAttributeSetter(v8:
:Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) | |
4369 { | |
4370 v8::Local<v8::Object> holder = info.Holder(); | |
4371 TestObject* impl = V8TestObject::toImpl(holder); | |
4372 V8StringResource<> cppValue = v8Value; | |
4373 if (!cppValue.prepare()) | |
4374 return; | |
4375 impl->setTreatReturnedNullStringAsUndefinedStringAttribute(cppValue); | |
4376 } | |
4377 | |
4378 static void treatReturnedNullStringAsUndefinedStringAttributeAttributeSetterCall
back(const v8::FunctionCallbackInfo<v8::Value>& info) | |
4379 { | |
4380 v8::Local<v8::Value> v8Value = info[0]; | |
4381 TestObjectV8Internal::treatReturnedNullStringAsUndefinedStringAttributeAttri
buteSetter(v8Value, info); | |
4382 } | |
4383 | |
4384 static void cachedTreatReturnedNullStringAsUndefinedStringAttributeAttributeGett
er(const v8::FunctionCallbackInfo<v8::Value>& info) | |
4385 { | |
4386 v8::Local<v8::Object> holder = info.Holder(); | |
4387 v8::Local<v8::String> propertyName = v8AtomicString(info.GetIsolate(), "cach
edTreatReturnedNullStringAsUndefinedStringAttribute"); | |
4388 TestObject* impl = V8TestObject::toImpl(holder); | |
4389 if (!impl->isStringDirty()) { | |
4390 v8::Local<v8::Value> v8Value = V8HiddenValue::getHiddenValue(ScriptState
::current(info.GetIsolate()), holder, propertyName); | |
4391 if (!v8Value.IsEmpty() && !v8Value->IsUndefined()) { | |
4392 v8SetReturnValue(info, v8Value); | |
4393 return; | |
4394 } | |
4395 } | |
4396 String cppValue(impl->cachedTreatReturnedNullStringAsUndefinedStringAttribut
e()); | |
4397 v8::Local<v8::Value> v8Value(cppValue.isNull() ? v8Undefined() : v8String(in
fo.GetIsolate(), cppValue)); | |
4398 V8HiddenValue::setHiddenValue(ScriptState::current(info.GetIsolate()), holde
r, propertyName, v8Value); | |
4399 v8SetReturnValue(info, v8Value); | |
4400 } | |
4401 | |
4402 static void cachedTreatReturnedNullStringAsUndefinedStringAttributeAttributeGett
erCallback(const v8::FunctionCallbackInfo<v8::Value>& info) | |
4403 { | |
4404 TestObjectV8Internal::cachedTreatReturnedNullStringAsUndefinedStringAttribut
eAttributeGetter(info); | |
4405 } | |
4406 | |
4407 static void cachedTreatReturnedNullStringAsUndefinedStringAttributeAttributeSett
er(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info
) | |
4408 { | |
4409 v8::Local<v8::Object> holder = info.Holder(); | |
4410 TestObject* impl = V8TestObject::toImpl(holder); | |
4411 V8StringResource<> cppValue = v8Value; | |
4412 if (!cppValue.prepare()) | |
4413 return; | |
4414 impl->setCachedTreatReturnedNullStringAsUndefinedStringAttribute(cppValue); | |
4415 V8HiddenValue::deleteHiddenValue(ScriptState::current(info.GetIsolate()), ho
lder, v8AtomicString(info.GetIsolate(), "cachedTreatReturnedNullStringAsUndefine
dStringAttribute")); // Invalidate the cached value. | |
4416 } | |
4417 | |
4418 static void cachedTreatReturnedNullStringAsUndefinedStringAttributeAttributeSett
erCallback(const v8::FunctionCallbackInfo<v8::Value>& info) | |
4419 { | |
4420 v8::Local<v8::Value> v8Value = info[0]; | |
4421 TestObjectV8Internal::cachedTreatReturnedNullStringAsUndefinedStringAttribut
eAttributeSetter(v8Value, info); | |
4422 } | |
4423 | |
4424 static void treatReturnedNullStringAsNullByteStringAttributeAttributeGetter(cons
t v8::FunctionCallbackInfo<v8::Value>& info) | |
4425 { | |
4426 v8::Local<v8::Object> holder = info.Holder(); | |
4427 TestObject* impl = V8TestObject::toImpl(holder); | |
4428 v8SetReturnValueStringOrNull(info, impl->treatReturnedNullStringAsNullByteSt
ringAttribute(), info.GetIsolate()); | |
4429 } | |
4430 | |
4431 static void treatReturnedNullStringAsNullByteStringAttributeAttributeGetterCallb
ack(const v8::FunctionCallbackInfo<v8::Value>& info) | |
4432 { | |
4433 TestObjectV8Internal::treatReturnedNullStringAsNullByteStringAttributeAttrib
uteGetter(info); | |
4434 } | |
4435 | |
4436 static void treatReturnedNullStringAsNullByteStringAttributeAttributeSetter(v8::
Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) | |
4437 { | |
4438 v8::Local<v8::Object> holder = info.Holder(); | |
4439 ExceptionState exceptionState(ExceptionState::SetterContext, "treatReturnedN
ullStringAsNullByteStringAttribute", "TestObject", holder, info.GetIsolate()); | |
4440 TestObject* impl = V8TestObject::toImpl(holder); | |
4441 V8StringResource<> cppValue = toByteString(info.GetIsolate(), v8Value, excep
tionState); | |
4442 if (exceptionState.throwIfNeeded()) | |
4443 return; | |
4444 impl->setTreatReturnedNullStringAsNullByteStringAttribute(cppValue); | |
4445 } | |
4446 | |
4447 static void treatReturnedNullStringAsNullByteStringAttributeAttributeSetterCallb
ack(const v8::FunctionCallbackInfo<v8::Value>& info) | |
4448 { | |
4449 v8::Local<v8::Value> v8Value = info[0]; | |
4450 TestObjectV8Internal::treatReturnedNullStringAsNullByteStringAttributeAttrib
uteSetter(v8Value, info); | |
4451 } | |
4452 | |
4453 static void treatReturnedNullStringAsUndefinedByteStringAttributeAttributeGetter
(const v8::FunctionCallbackInfo<v8::Value>& info) | |
4454 { | |
4455 v8::Local<v8::Object> holder = info.Holder(); | |
4456 TestObject* impl = V8TestObject::toImpl(holder); | |
4457 v8SetReturnValueStringOrUndefined(info, impl->treatReturnedNullStringAsUndef
inedByteStringAttribute(), info.GetIsolate()); | |
4458 } | |
4459 | |
4460 static void treatReturnedNullStringAsUndefinedByteStringAttributeAttributeGetter
Callback(const v8::FunctionCallbackInfo<v8::Value>& info) | |
4461 { | |
4462 TestObjectV8Internal::treatReturnedNullStringAsUndefinedByteStringAttributeA
ttributeGetter(info); | |
4463 } | |
4464 | |
4465 static void treatReturnedNullStringAsUndefinedByteStringAttributeAttributeSetter
(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) | |
4466 { | |
4467 v8::Local<v8::Object> holder = info.Holder(); | |
4468 ExceptionState exceptionState(ExceptionState::SetterContext, "treatReturnedN
ullStringAsUndefinedByteStringAttribute", "TestObject", holder, info.GetIsolate(
)); | |
4469 TestObject* impl = V8TestObject::toImpl(holder); | |
4470 V8StringResource<> cppValue = toByteString(info.GetIsolate(), v8Value, excep
tionState); | |
4471 if (exceptionState.throwIfNeeded()) | |
4472 return; | |
4473 impl->setTreatReturnedNullStringAsUndefinedByteStringAttribute(cppValue); | |
4474 } | |
4475 | |
4476 static void treatReturnedNullStringAsUndefinedByteStringAttributeAttributeSetter
Callback(const v8::FunctionCallbackInfo<v8::Value>& info) | |
4477 { | |
4478 v8::Local<v8::Value> v8Value = info[0]; | |
4479 TestObjectV8Internal::treatReturnedNullStringAsUndefinedByteStringAttributeA
ttributeSetter(v8Value, info); | |
4480 } | |
4481 | |
4482 static void treatReturnedNullStringAsNullUSVStringAttributeAttributeGetter(const
v8::FunctionCallbackInfo<v8::Value>& info) | |
4483 { | |
4484 v8::Local<v8::Object> holder = info.Holder(); | |
4485 TestObject* impl = V8TestObject::toImpl(holder); | |
4486 v8SetReturnValueStringOrNull(info, impl->treatReturnedNullStringAsNullUSVStr
ingAttribute(), info.GetIsolate()); | |
4487 } | |
4488 | |
4489 static void treatReturnedNullStringAsNullUSVStringAttributeAttributeGetterCallba
ck(const v8::FunctionCallbackInfo<v8::Value>& info) | |
4490 { | |
4491 TestObjectV8Internal::treatReturnedNullStringAsNullUSVStringAttributeAttribu
teGetter(info); | |
4492 } | |
4493 | |
4494 static void treatReturnedNullStringAsNullUSVStringAttributeAttributeSetter(v8::L
ocal<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) | |
4495 { | |
4496 v8::Local<v8::Object> holder = info.Holder(); | |
4497 ExceptionState exceptionState(ExceptionState::SetterContext, "treatReturnedN
ullStringAsNullUSVStringAttribute", "TestObject", holder, info.GetIsolate()); | |
4498 TestObject* impl = V8TestObject::toImpl(holder); | |
4499 V8StringResource<> cppValue = toUSVString(info.GetIsolate(), v8Value, except
ionState); | |
4500 if (exceptionState.throwIfNeeded()) | |
4501 return; | |
4502 impl->setTreatReturnedNullStringAsNullUSVStringAttribute(cppValue); | |
4503 } | |
4504 | |
4505 static void treatReturnedNullStringAsNullUSVStringAttributeAttributeSetterCallba
ck(const v8::FunctionCallbackInfo<v8::Value>& info) | |
4506 { | |
4507 v8::Local<v8::Value> v8Value = info[0]; | |
4508 TestObjectV8Internal::treatReturnedNullStringAsNullUSVStringAttributeAttribu
teSetter(v8Value, info); | |
4509 } | |
4510 | |
4511 static void treatReturnedNullStringAsUndefinedUSVStringAttributeAttributeGetter(
const v8::FunctionCallbackInfo<v8::Value>& info) | |
4512 { | |
4513 v8::Local<v8::Object> holder = info.Holder(); | |
4514 TestObject* impl = V8TestObject::toImpl(holder); | |
4515 v8SetReturnValueStringOrUndefined(info, impl->treatReturnedNullStringAsUndef
inedUSVStringAttribute(), info.GetIsolate()); | |
4516 } | |
4517 | |
4518 static void treatReturnedNullStringAsUndefinedUSVStringAttributeAttributeGetterC
allback(const v8::FunctionCallbackInfo<v8::Value>& info) | |
4519 { | |
4520 TestObjectV8Internal::treatReturnedNullStringAsUndefinedUSVStringAttributeAt
tributeGetter(info); | |
4521 } | |
4522 | |
4523 static void treatReturnedNullStringAsUndefinedUSVStringAttributeAttributeSetter(
v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) | |
4524 { | |
4525 v8::Local<v8::Object> holder = info.Holder(); | |
4526 ExceptionState exceptionState(ExceptionState::SetterContext, "treatReturnedN
ullStringAsUndefinedUSVStringAttribute", "TestObject", holder, info.GetIsolate()
); | |
4527 TestObject* impl = V8TestObject::toImpl(holder); | |
4528 V8StringResource<> cppValue = toUSVString(info.GetIsolate(), v8Value, except
ionState); | |
4529 if (exceptionState.throwIfNeeded()) | |
4530 return; | |
4531 impl->setTreatReturnedNullStringAsUndefinedUSVStringAttribute(cppValue); | |
4532 } | |
4533 | |
4534 static void treatReturnedNullStringAsUndefinedUSVStringAttributeAttributeSetterC
allback(const v8::FunctionCallbackInfo<v8::Value>& info) | |
4535 { | |
4536 v8::Local<v8::Value> v8Value = info[0]; | |
4537 TestObjectV8Internal::treatReturnedNullStringAsUndefinedUSVStringAttributeAt
tributeSetter(v8Value, info); | |
4538 } | |
4539 | |
4540 static void legacyInterfaceTypeCheckingFloatAttributeAttributeGetter(const v8::F
unctionCallbackInfo<v8::Value>& info) | 4328 static void legacyInterfaceTypeCheckingFloatAttributeAttributeGetter(const v8::F
unctionCallbackInfo<v8::Value>& info) |
4541 { | 4329 { |
4542 v8::Local<v8::Object> holder = info.Holder(); | 4330 v8::Local<v8::Object> holder = info.Holder(); |
4543 TestObject* impl = V8TestObject::toImpl(holder); | 4331 TestObject* impl = V8TestObject::toImpl(holder); |
4544 v8SetReturnValue(info, impl->legacyInterfaceTypeCheckingFloatAttribute()); | 4332 v8SetReturnValue(info, impl->legacyInterfaceTypeCheckingFloatAttribute()); |
4545 } | 4333 } |
4546 | 4334 |
4547 static void legacyInterfaceTypeCheckingFloatAttributeAttributeGetterCallback(con
st v8::FunctionCallbackInfo<v8::Value>& info) | 4335 static void legacyInterfaceTypeCheckingFloatAttributeAttributeGetterCallback(con
st v8::FunctionCallbackInfo<v8::Value>& info) |
4548 { | 4336 { |
4549 TestObjectV8Internal::legacyInterfaceTypeCheckingFloatAttributeAttributeGett
er(info); | 4337 TestObjectV8Internal::legacyInterfaceTypeCheckingFloatAttributeAttributeGett
er(info); |
(...skipping 6391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10941 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); | 10729 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); |
10942 exceptionState.throwIfNeeded(); | 10730 exceptionState.throwIfNeeded(); |
10943 return; | 10731 return; |
10944 } | 10732 } |
10945 | 10733 |
10946 static void partiallyRuntimeEnabledOverloadedVoidMethodMethodCallback(const v8::
FunctionCallbackInfo<v8::Value>& info) | 10734 static void partiallyRuntimeEnabledOverloadedVoidMethodMethodCallback(const v8::
FunctionCallbackInfo<v8::Value>& info) |
10947 { | 10735 { |
10948 TestObjectV8Internal::partiallyRuntimeEnabledOverloadedVoidMethodMethod(info
); | 10736 TestObjectV8Internal::partiallyRuntimeEnabledOverloadedVoidMethodMethod(info
); |
10949 } | 10737 } |
10950 | 10738 |
10951 static void treatReturnedNullStringAsNullStringMethodMethod(const v8::FunctionCa
llbackInfo<v8::Value>& info) | |
10952 { | |
10953 TestObject* impl = V8TestObject::toImpl(info.Holder()); | |
10954 v8SetReturnValueStringOrNull(info, impl->treatReturnedNullStringAsNullString
Method(), info.GetIsolate()); | |
10955 } | |
10956 | |
10957 static void treatReturnedNullStringAsNullStringMethodMethodCallback(const v8::Fu
nctionCallbackInfo<v8::Value>& info) | |
10958 { | |
10959 TestObjectV8Internal::treatReturnedNullStringAsNullStringMethodMethod(info); | |
10960 } | |
10961 | |
10962 static void treatReturnedNullStringAsUndefinedStringMethodMethod(const v8::Funct
ionCallbackInfo<v8::Value>& info) | |
10963 { | |
10964 TestObject* impl = V8TestObject::toImpl(info.Holder()); | |
10965 v8SetReturnValueStringOrUndefined(info, impl->treatReturnedNullStringAsUndef
inedStringMethod(), info.GetIsolate()); | |
10966 } | |
10967 | |
10968 static void treatReturnedNullStringAsUndefinedStringMethodMethodCallback(const v
8::FunctionCallbackInfo<v8::Value>& info) | |
10969 { | |
10970 TestObjectV8Internal::treatReturnedNullStringAsUndefinedStringMethodMethod(i
nfo); | |
10971 } | |
10972 | |
10973 static void treatReturnedNullStringAsNullByteStringMethodMethod(const v8::Functi
onCallbackInfo<v8::Value>& info) | |
10974 { | |
10975 TestObject* impl = V8TestObject::toImpl(info.Holder()); | |
10976 v8SetReturnValueStringOrNull(info, impl->treatReturnedNullStringAsNullByteSt
ringMethod(), info.GetIsolate()); | |
10977 } | |
10978 | |
10979 static void treatReturnedNullStringAsNullByteStringMethodMethodCallback(const v8
::FunctionCallbackInfo<v8::Value>& info) | |
10980 { | |
10981 TestObjectV8Internal::treatReturnedNullStringAsNullByteStringMethodMethod(in
fo); | |
10982 } | |
10983 | |
10984 static void treatReturnedNullStringAsUndefinedByteStringMethodMethod(const v8::F
unctionCallbackInfo<v8::Value>& info) | |
10985 { | |
10986 TestObject* impl = V8TestObject::toImpl(info.Holder()); | |
10987 v8SetReturnValueStringOrUndefined(info, impl->treatReturnedNullStringAsUndef
inedByteStringMethod(), info.GetIsolate()); | |
10988 } | |
10989 | |
10990 static void treatReturnedNullStringAsUndefinedByteStringMethodMethodCallback(con
st v8::FunctionCallbackInfo<v8::Value>& info) | |
10991 { | |
10992 TestObjectV8Internal::treatReturnedNullStringAsUndefinedByteStringMethodMeth
od(info); | |
10993 } | |
10994 | |
10995 static void treatReturnedNullStringAsNullUSVStringMethodMethod(const v8::Functio
nCallbackInfo<v8::Value>& info) | |
10996 { | |
10997 TestObject* impl = V8TestObject::toImpl(info.Holder()); | |
10998 v8SetReturnValueStringOrNull(info, impl->treatReturnedNullStringAsNullUSVStr
ingMethod(), info.GetIsolate()); | |
10999 } | |
11000 | |
11001 static void treatReturnedNullStringAsNullUSVStringMethodMethodCallback(const v8:
:FunctionCallbackInfo<v8::Value>& info) | |
11002 { | |
11003 TestObjectV8Internal::treatReturnedNullStringAsNullUSVStringMethodMethod(inf
o); | |
11004 } | |
11005 | |
11006 static void treatReturnedNullStringAsUndefinedUSVStringMethodMethod(const v8::Fu
nctionCallbackInfo<v8::Value>& info) | |
11007 { | |
11008 TestObject* impl = V8TestObject::toImpl(info.Holder()); | |
11009 v8SetReturnValueStringOrUndefined(info, impl->treatReturnedNullStringAsUndef
inedUSVStringMethod(), info.GetIsolate()); | |
11010 } | |
11011 | |
11012 static void treatReturnedNullStringAsUndefinedUSVStringMethodMethodCallback(cons
t v8::FunctionCallbackInfo<v8::Value>& info) | |
11013 { | |
11014 TestObjectV8Internal::treatReturnedNullStringAsUndefinedUSVStringMethodMetho
d(info); | |
11015 } | |
11016 | |
11017 static void legacyInterfaceTypeCheckingVoidMethodTestInterfaceEmptyArgMethod(con
st v8::FunctionCallbackInfo<v8::Value>& info) | 10739 static void legacyInterfaceTypeCheckingVoidMethodTestInterfaceEmptyArgMethod(con
st v8::FunctionCallbackInfo<v8::Value>& info) |
11018 { | 10740 { |
11019 if (UNLIKELY(info.Length() < 1)) { | 10741 if (UNLIKELY(info.Length() < 1)) { |
11020 V8ThrowException::throwException(createMinimumArityTypeErrorForMethod(in
fo.GetIsolate(), "legacyInterfaceTypeCheckingVoidMethodTestInterfaceEmptyArg", "
TestObject", 1, info.Length()), info.GetIsolate()); | 10742 V8ThrowException::throwException(createMinimumArityTypeErrorForMethod(in
fo.GetIsolate(), "legacyInterfaceTypeCheckingVoidMethodTestInterfaceEmptyArg", "
TestObject", 1, info.Length()), info.GetIsolate()); |
11021 return; | 10743 return; |
11022 } | 10744 } |
11023 TestObject* impl = V8TestObject::toImpl(info.Holder()); | 10745 TestObject* impl = V8TestObject::toImpl(info.Holder()); |
11024 TestInterfaceEmpty* testInterfaceEmptyArg; | 10746 TestInterfaceEmpty* testInterfaceEmptyArg; |
11025 { | 10747 { |
11026 testInterfaceEmptyArg = V8TestInterfaceEmpty::toImplWithTypeCheck(info.G
etIsolate(), info[0]); | 10748 testInterfaceEmptyArg = V8TestInterfaceEmpty::toImplWithTypeCheck(info.G
etIsolate(), info[0]); |
(...skipping 981 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12008 {"limitedWithMissingDefaultAttribute", TestObjectV8Internal::limitedWithMiss
ingDefaultAttributeAttributeGetterCallback, TestObjectV8Internal::limitedWithMis
singDefaultAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v
8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMC
onfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 11730 {"limitedWithMissingDefaultAttribute", TestObjectV8Internal::limitedWithMiss
ingDefaultAttributeAttributeGetterCallback, TestObjectV8Internal::limitedWithMis
singDefaultAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v
8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMC
onfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, |
12009 {"limitedWithInvalidMissingDefaultAttribute", TestObjectV8Internal::limitedW
ithInvalidMissingDefaultAttributeAttributeGetterCallback, TestObjectV8Internal::
limitedWithInvalidMissingDefaultAttributeAttributeSetterCallback, 0, 0, 0, v8::D
EFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Expose
dToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}
, | 11731 {"limitedWithInvalidMissingDefaultAttribute", TestObjectV8Internal::limitedW
ithInvalidMissingDefaultAttributeAttributeGetterCallback, TestObjectV8Internal::
limitedWithInvalidMissingDefaultAttributeAttributeSetterCallback, 0, 0, 0, v8::D
EFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Expose
dToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}
, |
12010 {"corsSettingAttribute", TestObjectV8Internal::corsSettingAttributeAttribute
GetterCallback, 0, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::
None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype,
V8DOMConfiguration::CheckHolder}, | 11732 {"corsSettingAttribute", TestObjectV8Internal::corsSettingAttributeAttribute
GetterCallback, 0, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::
None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype,
V8DOMConfiguration::CheckHolder}, |
12011 {"limitedWithEmptyMissingInvalidAttribute", TestObjectV8Internal::limitedWit
hEmptyMissingInvalidAttributeAttributeGetterCallback, 0, 0, 0, 0, v8::DEFAULT, s
tatic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScr
ipts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 11733 {"limitedWithEmptyMissingInvalidAttribute", TestObjectV8Internal::limitedWit
hEmptyMissingInvalidAttributeAttributeGetterCallback, 0, 0, 0, 0, v8::DEFAULT, s
tatic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScr
ipts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, |
12012 {"replaceableReadonlyLongAttribute", TestObjectV8Internal::replaceableReadon
lyLongAttributeAttributeGetterCallback, TestObjectV8Internal::replaceableReadonl
yLongAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::Pro
pertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigu
ration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 11734 {"replaceableReadonlyLongAttribute", TestObjectV8Internal::replaceableReadon
lyLongAttributeAttributeGetterCallback, TestObjectV8Internal::replaceableReadonl
yLongAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::Pro
pertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigu
ration::OnPrototype, V8DOMConfiguration::CheckHolder}, |
12013 {"locationPutForwards", TestObjectV8Internal::locationPutForwardsAttributeGe
tterCallback, TestObjectV8Internal::locationPutForwardsAttributeSetterCallback,
0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigu
ration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration
::CheckHolder}, | 11735 {"locationPutForwards", TestObjectV8Internal::locationPutForwardsAttributeGe
tterCallback, TestObjectV8Internal::locationPutForwardsAttributeSetterCallback,
0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigu
ration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration
::CheckHolder}, |
12014 {"setterCallWithActiveWindowAndFirstWindowStringAttribute", TestObjectV8Inte
rnal::setterCallWithActiveWindowAndFirstWindowStringAttributeAttributeGetterCall
back, TestObjectV8Internal::setterCallWithActiveWindowAndFirstWindowStringAttrib
uteAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttrib
ute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnP
rototype, V8DOMConfiguration::CheckHolder}, | 11736 {"setterCallWithActiveWindowAndFirstWindowStringAttribute", TestObjectV8Inte
rnal::setterCallWithActiveWindowAndFirstWindowStringAttributeAttributeGetterCall
back, TestObjectV8Internal::setterCallWithActiveWindowAndFirstWindowStringAttrib
uteAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttrib
ute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnP
rototype, V8DOMConfiguration::CheckHolder}, |
12015 {"setterCallWithExecutionContextStringAttribute", TestObjectV8Internal::sett
erCallWithExecutionContextStringAttributeAttributeGetterCallback, TestObjectV8In
ternal::setterCallWithExecutionContextStringAttributeAttributeSetterCallback, 0,
0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigura
tion::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::
CheckHolder}, | 11737 {"setterCallWithExecutionContextStringAttribute", TestObjectV8Internal::sett
erCallWithExecutionContextStringAttributeAttributeGetterCallback, TestObjectV8In
ternal::setterCallWithExecutionContextStringAttributeAttributeSetterCallback, 0,
0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigura
tion::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::
CheckHolder}, |
12016 {"treatNullAsEmptyStringStringAttribute", TestObjectV8Internal::treatNullAsE
mptyStringStringAttributeAttributeGetterCallback, TestObjectV8Internal::treatNul
lAsEmptyStringStringAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, stat
ic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScript
s, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 11738 {"treatNullAsEmptyStringStringAttribute", TestObjectV8Internal::treatNullAsE
mptyStringStringAttributeAttributeGetterCallback, TestObjectV8Internal::treatNul
lAsEmptyStringStringAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, stat
ic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScript
s, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, |
12017 {"treatNullAsNullStringStringAttribute", TestObjectV8Internal::treatNullAsNu
llStringStringAttributeAttributeGetterCallback, TestObjectV8Internal::treatNullA
sNullStringStringAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_
cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts,
V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 11739 {"treatNullAsNullStringStringAttribute", TestObjectV8Internal::treatNullAsNu
llStringStringAttributeAttributeGetterCallback, TestObjectV8Internal::treatNullA
sNullStringStringAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_
cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts,
V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, |
12018 {"treatReturnedNullStringAsNullStringAttribute", TestObjectV8Internal::treat
ReturnedNullStringAsNullStringAttributeAttributeGetterCallback, TestObjectV8Inte
rnal::treatReturnedNullStringAsNullStringAttributeAttributeSetterCallback, 0, 0,
0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguratio
n::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::Che
ckHolder}, | |
12019 {"treatReturnedNullStringAsUndefinedStringAttribute", TestObjectV8Internal::
treatReturnedNullStringAsUndefinedStringAttributeAttributeGetterCallback, TestOb
jectV8Internal::treatReturnedNullStringAsUndefinedStringAttributeAttributeSetter
Callback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8
DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMCon
figuration::CheckHolder}, | |
12020 {"cachedTreatReturnedNullStringAsUndefinedStringAttribute", TestObjectV8Inte
rnal::cachedTreatReturnedNullStringAsUndefinedStringAttributeAttributeGetterCall
back, TestObjectV8Internal::cachedTreatReturnedNullStringAsUndefinedStringAttrib
uteAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttrib
ute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnP
rototype, V8DOMConfiguration::CheckHolder}, | |
12021 {"treatReturnedNullStringAsNullByteStringAttribute", TestObjectV8Internal::t
reatReturnedNullStringAsNullByteStringAttributeAttributeGetterCallback, TestObje
ctV8Internal::treatReturnedNullStringAsNullByteStringAttributeAttributeSetterCal
lback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOM
Configuration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfig
uration::CheckHolder}, | |
12022 {"treatReturnedNullStringAsUndefinedByteStringAttribute", TestObjectV8Intern
al::treatReturnedNullStringAsUndefinedByteStringAttributeAttributeGetterCallback
, TestObjectV8Internal::treatReturnedNullStringAsUndefinedByteStringAttributeAtt
ributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v
8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototy
pe, V8DOMConfiguration::CheckHolder}, | |
12023 {"treatReturnedNullStringAsNullUSVStringAttribute", TestObjectV8Internal::tr
eatReturnedNullStringAsNullUSVStringAttributeAttributeGetterCallback, TestObject
V8Internal::treatReturnedNullStringAsNullUSVStringAttributeAttributeSetterCallba
ck, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMCon
figuration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfigura
tion::CheckHolder}, | |
12024 {"treatReturnedNullStringAsUndefinedUSVStringAttribute", TestObjectV8Interna
l::treatReturnedNullStringAsUndefinedUSVStringAttributeAttributeGetterCallback,
TestObjectV8Internal::treatReturnedNullStringAsUndefinedUSVStringAttributeAttrib
uteSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::
None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype,
V8DOMConfiguration::CheckHolder}, | |
12025 {"legacyInterfaceTypeCheckingFloatAttribute", TestObjectV8Internal::legacyIn
terfaceTypeCheckingFloatAttributeAttributeGetterCallback, TestObjectV8Internal::
legacyInterfaceTypeCheckingFloatAttributeAttributeSetterCallback, 0, 0, 0, v8::D
EFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Expose
dToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}
, | 11740 {"legacyInterfaceTypeCheckingFloatAttribute", TestObjectV8Internal::legacyIn
terfaceTypeCheckingFloatAttributeAttributeGetterCallback, TestObjectV8Internal::
legacyInterfaceTypeCheckingFloatAttributeAttributeSetterCallback, 0, 0, 0, v8::D
EFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Expose
dToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}
, |
12026 {"legacyInterfaceTypeCheckingTestInterfaceAttribute", TestObjectV8Internal::
legacyInterfaceTypeCheckingTestInterfaceAttributeAttributeGetterCallback, TestOb
jectV8Internal::legacyInterfaceTypeCheckingTestInterfaceAttributeAttributeSetter
Callback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8
DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMCon
figuration::CheckHolder}, | 11741 {"legacyInterfaceTypeCheckingTestInterfaceAttribute", TestObjectV8Internal::
legacyInterfaceTypeCheckingTestInterfaceAttributeAttributeGetterCallback, TestOb
jectV8Internal::legacyInterfaceTypeCheckingTestInterfaceAttributeAttributeSetter
Callback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8
DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMCon
figuration::CheckHolder}, |
12027 {"legacyInterfaceTypeCheckingTestInterfaceOrNullAttribute", TestObjectV8Inte
rnal::legacyInterfaceTypeCheckingTestInterfaceOrNullAttributeAttributeGetterCall
back, TestObjectV8Internal::legacyInterfaceTypeCheckingTestInterfaceOrNullAttrib
uteAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttrib
ute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnP
rototype, V8DOMConfiguration::CheckHolder}, | 11742 {"legacyInterfaceTypeCheckingTestInterfaceOrNullAttribute", TestObjectV8Inte
rnal::legacyInterfaceTypeCheckingTestInterfaceOrNullAttributeAttributeGetterCall
back, TestObjectV8Internal::legacyInterfaceTypeCheckingTestInterfaceOrNullAttrib
uteAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttrib
ute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnP
rototype, V8DOMConfiguration::CheckHolder}, |
12028 {"urlStringAttribute", TestObjectV8Internal::urlStringAttributeAttributeGett
erCallback, TestObjectV8Internal::urlStringAttributeAttributeSetterCallback, 0,
0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigurat
ion::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::C
heckHolder}, | 11743 {"urlStringAttribute", TestObjectV8Internal::urlStringAttributeAttributeGett
erCallback, TestObjectV8Internal::urlStringAttributeAttributeSetterCallback, 0,
0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigurat
ion::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::C
heckHolder}, |
12029 {"urlStringAttribute", TestObjectV8Internal::urlStringAttributeAttributeGett
erCallback, TestObjectV8Internal::urlStringAttributeAttributeSetterCallback, 0,
0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigurat
ion::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::C
heckHolder}, | 11744 {"urlStringAttribute", TestObjectV8Internal::urlStringAttributeAttributeGett
erCallback, TestObjectV8Internal::urlStringAttributeAttributeSetterCallback, 0,
0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigurat
ion::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::C
heckHolder}, |
12030 {"unforgeableLongAttribute", TestObjectV8Internal::unforgeableLongAttributeA
ttributeGetterCallback, TestObjectV8Internal::unforgeableLongAttributeAttributeS
etterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::Dont
Delete), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance
, V8DOMConfiguration::CheckHolder}, | 11745 {"unforgeableLongAttribute", TestObjectV8Internal::unforgeableLongAttributeA
ttributeGetterCallback, TestObjectV8Internal::unforgeableLongAttributeAttributeS
etterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::Dont
Delete), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance
, V8DOMConfiguration::CheckHolder}, |
12031 {"measuredLongAttribute", TestObjectV8Internal::measuredLongAttributeAttribu
teGetterCallback, TestObjectV8Internal::measuredLongAttributeAttributeSetterCall
back, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMC
onfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfigu
ration::CheckHolder}, | 11746 {"measuredLongAttribute", TestObjectV8Internal::measuredLongAttributeAttribu
teGetterCallback, TestObjectV8Internal::measuredLongAttributeAttributeSetterCall
back, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMC
onfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfigu
ration::CheckHolder}, |
12032 {"sameObjectAttribute", TestObjectV8Internal::sameObjectAttributeAttributeGe
tterCallback, TestObjectV8Internal::sameObjectAttributeAttributeSetterCallback,
0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigu
ration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration
::CheckHolder}, | 11747 {"sameObjectAttribute", TestObjectV8Internal::sameObjectAttributeAttributeGe
tterCallback, TestObjectV8Internal::sameObjectAttributeAttributeSetterCallback,
0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigu
ration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration
::CheckHolder}, |
12033 {"unscopeableLongAttribute", TestObjectV8Internal::unscopeableLongAttributeA
ttributeGetterCallback, TestObjectV8Internal::unscopeableLongAttributeAttributeS
etterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None
), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8D
OMConfiguration::CheckHolder}, | 11748 {"unscopeableLongAttribute", TestObjectV8Internal::unscopeableLongAttributeA
ttributeGetterCallback, TestObjectV8Internal::unscopeableLongAttributeAttributeS
etterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None
), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8D
OMConfiguration::CheckHolder}, |
12034 {"unscopeableExperimentEnabledLongAttribute", TestObjectV8Internal::unscopea
bleExperimentEnabledLongAttributeAttributeGetterCallback, TestObjectV8Internal::
unscopeableExperimentEnabledLongAttributeAttributeSetterCallback, 0, 0, 0, v8::D
EFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Expose
dToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}
, | 11749 {"unscopeableExperimentEnabledLongAttribute", TestObjectV8Internal::unscopea
bleExperimentEnabledLongAttributeAttributeGetterCallback, TestObjectV8Internal::
unscopeableExperimentEnabledLongAttributeAttributeSetterCallback, 0, 0, 0, v8::D
EFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Expose
dToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}
, |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12254 {"activityLoggingForAllWorldsPerWorldBindingsVoidMethod", TestObjectV8Intern
al::activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallback, TestObj
ectV8Internal::activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallba
ckForMainWorld, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfi
guration::OnPrototype}, | 11969 {"activityLoggingForAllWorldsPerWorldBindingsVoidMethod", TestObjectV8Intern
al::activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallback, TestObj
ectV8Internal::activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallba
ckForMainWorld, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfi
guration::OnPrototype}, |
12255 {"activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethod", TestObjectV8I
nternal::activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethodCallbac
k, TestObjectV8Internal::activityLoggingForIsolatedWorldsPerWorldBindingsVoidMet
hodMethodCallbackForMainWorld, 0, v8::None, V8DOMConfiguration::ExposedToAllScri
pts, V8DOMConfiguration::OnPrototype}, | 11970 {"activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethod", TestObjectV8I
nternal::activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethodCallbac
k, TestObjectV8Internal::activityLoggingForIsolatedWorldsPerWorldBindingsVoidMet
hodMethodCallbackForMainWorld, 0, v8::None, V8DOMConfiguration::ExposedToAllScri
pts, V8DOMConfiguration::OnPrototype}, |
12256 {"raisesExceptionVoidMethod", TestObjectV8Internal::raisesExceptionVoidMetho
dMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMC
onfiguration::OnPrototype}, | 11971 {"raisesExceptionVoidMethod", TestObjectV8Internal::raisesExceptionVoidMetho
dMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMC
onfiguration::OnPrototype}, |
12257 {"raisesExceptionStringMethod", TestObjectV8Internal::raisesExceptionStringM
ethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8
DOMConfiguration::OnPrototype}, | 11972 {"raisesExceptionStringMethod", TestObjectV8Internal::raisesExceptionStringM
ethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8
DOMConfiguration::OnPrototype}, |
12258 {"raisesExceptionVoidMethodOptionalLongArg", TestObjectV8Internal::raisesExc
eptionVoidMethodOptionalLongArgMethodCallback, 0, 0, v8::None, V8DOMConfiguratio
n::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, | 11973 {"raisesExceptionVoidMethodOptionalLongArg", TestObjectV8Internal::raisesExc
eptionVoidMethodOptionalLongArgMethodCallback, 0, 0, v8::None, V8DOMConfiguratio
n::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, |
12259 {"raisesExceptionVoidMethodTestCallbackInterfaceArg", TestObjectV8Internal::
raisesExceptionVoidMethodTestCallbackInterfaceArgMethodCallback, 0, 1, v8::None,
V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, | 11974 {"raisesExceptionVoidMethodTestCallbackInterfaceArg", TestObjectV8Internal::
raisesExceptionVoidMethodTestCallbackInterfaceArgMethodCallback, 0, 1, v8::None,
V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, |
12260 {"raisesExceptionVoidMethodOptionalTestCallbackInterfaceArg", TestObjectV8In
ternal::raisesExceptionVoidMethodOptionalTestCallbackInterfaceArgMethodCallback,
0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::On
Prototype}, | 11975 {"raisesExceptionVoidMethodOptionalTestCallbackInterfaceArg", TestObjectV8In
ternal::raisesExceptionVoidMethodOptionalTestCallbackInterfaceArgMethodCallback,
0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::On
Prototype}, |
12261 {"raisesExceptionTestInterfaceEmptyVoidMethod", TestObjectV8Internal::raises
ExceptionTestInterfaceEmptyVoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfig
uration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, | 11976 {"raisesExceptionTestInterfaceEmptyVoidMethod", TestObjectV8Internal::raises
ExceptionTestInterfaceEmptyVoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfig
uration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, |
12262 {"raisesExceptionXPathNSResolverVoidMethod", TestObjectV8Internal::raisesExc
eptionXPathNSResolverVoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguratio
n::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, | 11977 {"raisesExceptionXPathNSResolverVoidMethod", TestObjectV8Internal::raisesExc
eptionXPathNSResolverVoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguratio
n::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, |
12263 {"callWithExecutionContextRaisesExceptionVoidMethodLongArg", TestObjectV8Int
ernal::callWithExecutionContextRaisesExceptionVoidMethodLongArgMethodCallback, 0
, 1, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPr
ototype}, | 11978 {"callWithExecutionContextRaisesExceptionVoidMethodLongArg", TestObjectV8Int
ernal::callWithExecutionContextRaisesExceptionVoidMethodLongArgMethodCallback, 0
, 1, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPr
ototype}, |
12264 {"treatReturnedNullStringAsNullStringMethod", TestObjectV8Internal::treatRet
urnedNullStringAsNullStringMethodMethodCallback, 0, 0, v8::None, V8DOMConfigurat
ion::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, | |
12265 {"treatReturnedNullStringAsUndefinedStringMethod", TestObjectV8Internal::tre
atReturnedNullStringAsUndefinedStringMethodMethodCallback, 0, 0, v8::None, V8DOM
Configuration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, | |
12266 {"treatReturnedNullStringAsNullByteStringMethod", TestObjectV8Internal::trea
tReturnedNullStringAsNullByteStringMethodMethodCallback, 0, 0, v8::None, V8DOMCo
nfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, | |
12267 {"treatReturnedNullStringAsUndefinedByteStringMethod", TestObjectV8Internal:
:treatReturnedNullStringAsUndefinedByteStringMethodMethodCallback, 0, 0, v8::Non
e, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, | |
12268 {"treatReturnedNullStringAsNullUSVStringMethod", TestObjectV8Internal::treat
ReturnedNullStringAsNullUSVStringMethodMethodCallback, 0, 0, v8::None, V8DOMConf
iguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, | |
12269 {"treatReturnedNullStringAsUndefinedUSVStringMethod", TestObjectV8Internal::
treatReturnedNullStringAsUndefinedUSVStringMethodMethodCallback, 0, 0, v8::None,
V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, | |
12270 {"legacyInterfaceTypeCheckingVoidMethodTestInterfaceEmptyArg", TestObjectV8I
nternal::legacyInterfaceTypeCheckingVoidMethodTestInterfaceEmptyArgMethodCallbac
k, 0, 1, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::
OnPrototype}, | 11979 {"legacyInterfaceTypeCheckingVoidMethodTestInterfaceEmptyArg", TestObjectV8I
nternal::legacyInterfaceTypeCheckingVoidMethodTestInterfaceEmptyArgMethodCallbac
k, 0, 1, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::
OnPrototype}, |
12271 {"legacyInterfaceTypeCheckingVoidMethodTestInterfaceEmptyVariadicArg", TestO
bjectV8Internal::legacyInterfaceTypeCheckingVoidMethodTestInterfaceEmptyVariadic
ArgMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DO
MConfiguration::OnPrototype}, | 11980 {"legacyInterfaceTypeCheckingVoidMethodTestInterfaceEmptyVariadicArg", TestO
bjectV8Internal::legacyInterfaceTypeCheckingVoidMethodTestInterfaceEmptyVariadic
ArgMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DO
MConfiguration::OnPrototype}, |
12272 {"useToImpl4ArgumentsCheckingIfPossibleWithOptionalArg", TestObjectV8Interna
l::useToImpl4ArgumentsCheckingIfPossibleWithOptionalArgMethodCallback, 0, 1, v8:
:None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}
, | 11981 {"useToImpl4ArgumentsCheckingIfPossibleWithOptionalArg", TestObjectV8Interna
l::useToImpl4ArgumentsCheckingIfPossibleWithOptionalArgMethodCallback, 0, 1, v8:
:None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}
, |
12273 {"useToImpl4ArgumentsCheckingIfPossibleWithNullableArg", TestObjectV8Interna
l::useToImpl4ArgumentsCheckingIfPossibleWithNullableArgMethodCallback, 0, 2, v8:
:None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}
, | 11982 {"useToImpl4ArgumentsCheckingIfPossibleWithNullableArg", TestObjectV8Interna
l::useToImpl4ArgumentsCheckingIfPossibleWithNullableArgMethodCallback, 0, 2, v8:
:None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}
, |
12274 {"useToImpl4ArgumentsCheckingIfPossibleWithUndefinedArg", TestObjectV8Intern
al::useToImpl4ArgumentsCheckingIfPossibleWithUndefinedArgMethodCallback, 0, 1, v
8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototyp
e}, | 11983 {"useToImpl4ArgumentsCheckingIfPossibleWithUndefinedArg", TestObjectV8Intern
al::useToImpl4ArgumentsCheckingIfPossibleWithUndefinedArgMethodCallback, 0, 1, v
8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototyp
e}, |
12275 {"unforgeableVoidMethod", TestObjectV8Internal::unforgeableVoidMethodMethodC
allback, 0, 0, static_cast<v8::PropertyAttribute>(v8::ReadOnly | v8::DontDelete)
, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 11984 {"unforgeableVoidMethod", TestObjectV8Internal::unforgeableVoidMethodMethodC
allback, 0, 0, static_cast<v8::PropertyAttribute>(v8::ReadOnly | v8::DontDelete)
, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
12276 {"voidMethodTestInterfaceGarbageCollectedSequenceArg", TestObjectV8Internal:
:voidMethodTestInterfaceGarbageCollectedSequenceArgMethodCallback, 0, 1, v8::Non
e, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, | 11985 {"voidMethodTestInterfaceGarbageCollectedSequenceArg", TestObjectV8Internal:
:voidMethodTestInterfaceGarbageCollectedSequenceArgMethodCallback, 0, 1, v8::Non
e, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, |
12277 {"voidMethodTestInterfaceGarbageCollectedArrayArg", TestObjectV8Internal::vo
idMethodTestInterfaceGarbageCollectedArrayArgMethodCallback, 0, 1, v8::None, V8D
OMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, | 11986 {"voidMethodTestInterfaceGarbageCollectedArrayArg", TestObjectV8Internal::vo
idMethodTestInterfaceGarbageCollectedArrayArgMethodCallback, 0, 1, v8::None, V8D
OMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, |
12278 {"voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg", TestObjectV8Int
ernal::voidMethodTestInterfaceWillBeGarbageCollectedSequenceArgMethodCallback, 0
, 1, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPr
ototype}, | 11987 {"voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg", TestObjectV8Int
ernal::voidMethodTestInterfaceWillBeGarbageCollectedSequenceArgMethodCallback, 0
, 1, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPr
ototype}, |
12279 {"voidMethodTestInterfaceWillBeGarbageCollectedArrayArg", TestObjectV8Intern
al::voidMethodTestInterfaceWillBeGarbageCollectedArrayArgMethodCallback, 0, 1, v
8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototyp
e}, | 11988 {"voidMethodTestInterfaceWillBeGarbageCollectedArrayArg", TestObjectV8Intern
al::voidMethodTestInterfaceWillBeGarbageCollectedArrayArgMethodCallback, 0, 1, v
8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototyp
e}, |
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12984 ScriptState::Scope scope(scriptState); | 12693 ScriptState::Scope scope(scriptState); |
12985 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); | 12694 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); |
12986 if (holder.IsEmpty()) | 12695 if (holder.IsEmpty()) |
12987 return false; | 12696 return false; |
12988 | 12697 |
12989 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate
Script", "TestObject", scriptState->context()->Global(), scriptState->isolate())
; | 12698 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate
Script", "TestObject", scriptState->context()->Global(), scriptState->isolate())
; |
12990 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn
UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState->
isolate(), cppValue)); | 12699 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn
UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState->
isolate(), cppValue)); |
12991 } | 12700 } |
12992 | 12701 |
12993 } // namespace blink | 12702 } // namespace blink |
OLD | NEW |