Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Side by Side Diff: Source/bindings/tests/results/V8TestObject.cpp

Issue 497773004: IDL: Remove support for [LogPreviousValue] extended attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/bindings/tests/idls/core/TestObject.idl ('k') | Source/web/WebDOMActivityLogger.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
6 6
7 #include "config.h" 7 #include "config.h"
8 #include "V8TestObject.h" 8 #include "V8TestObject.h"
9 9
10 #include "bindings/core/v8/BindingSecurity.h" 10 #include "bindings/core/v8/BindingSecurity.h"
(...skipping 4557 matching lines...) Expand 10 before | Expand all | Expand 10 after
4568 impl->setUnforgeableLongAttribute(cppValue); 4568 impl->setUnforgeableLongAttribute(cppValue);
4569 } 4569 }
4570 4570
4571 static void unforgeableLongAttributeAttributeSetterCallback(v8::Local<v8::String >, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) 4571 static void unforgeableLongAttributeAttributeSetterCallback(v8::Local<v8::String >, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
4572 { 4572 {
4573 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); 4573 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
4574 TestObjectV8Internal::unforgeableLongAttributeAttributeSetter(v8Value, info) ; 4574 TestObjectV8Internal::unforgeableLongAttributeAttributeSetter(v8Value, info) ;
4575 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 4575 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
4576 } 4576 }
4577 4577
4578 static void activityLoggingSetterOnlyLogPreviousValueAttributeAttributeGetter(co nst v8::PropertyCallbackInfo<v8::Value>& info)
4579 {
4580 v8::Handle<v8::Object> holder = info.Holder();
4581 TestObject* impl = V8TestObject::toImpl(holder);
4582 String cppValue(impl->activityLoggingSetterOnlyLogPreviousValueAttribute());
4583 v8SetReturnValueStringOrNull(info, cppValue, info.GetIsolate());
4584 }
4585
4586 static void activityLoggingSetterOnlyLogPreviousValueAttributeAttributeGetterCal lback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
4587 {
4588 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
4589 TestObjectV8Internal::activityLoggingSetterOnlyLogPreviousValueAttributeAttr ibuteGetter(info);
4590 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
4591 }
4592
4593 static void activityLoggingSetterOnlyLogPreviousValueAttributeAttributeSetter(v8 ::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
4594 {
4595 v8::Handle<v8::Object> holder = info.Holder();
4596 TestObject* impl = V8TestObject::toImpl(holder);
4597 TOSTRING_VOID(V8StringResource<TreatNullAsNullString>, cppValue, v8Value);
4598 impl->setActivityLoggingSetterOnlyLogPreviousValueAttribute(cppValue);
4599 }
4600
4601 static void activityLoggingSetterOnlyLogPreviousValueAttributeAttributeSetterCal lback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCal lbackInfo<void>& info)
4602 {
4603 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
4604 ScriptState* scriptState = ScriptState::from(info.GetIsolate()->GetCurrentCo ntext());
4605 V8PerContextData* contextData = scriptState->perContextData();
4606 if (scriptState->world().isIsolatedWorld() && contextData && contextData->ac tivityLogger()) {
4607 TestObject* impl = V8TestObject::toImpl(info.Holder());
4608 String cppValue(impl->activityLoggingSetterOnlyLogPreviousValueAttribute ());
4609 v8::Handle<v8::Value> originalValue = cppValue.isNull() ? v8::Handle<v8: :Value>(v8::Null(info.GetIsolate())) : v8String(info.GetIsolate(), cppValue);
4610 contextData->activityLogger()->logSetter("TestObject.activityLoggingSett erOnlyLogPreviousValueAttribute", v8Value, originalValue);
4611 }
4612 TestObjectV8Internal::activityLoggingSetterOnlyLogPreviousValueAttributeAttr ibuteSetter(v8Value, info);
4613 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
4614 }
4615
4616 static void activityLoggingLogPreviousValueInterfaceAttributeAttributeGetter(con st v8::PropertyCallbackInfo<v8::Value>& info)
4617 {
4618 v8::Handle<v8::Object> holder = info.Holder();
4619 TestObject* impl = V8TestObject::toImpl(holder);
4620 RefPtr<TestInterfaceEmpty> cppValue(impl->activityLoggingLogPreviousValueInt erfaceAttribute());
4621 v8SetReturnValueFast(info, WTF::getPtr(cppValue.release()), impl);
4622 }
4623
4624 static void activityLoggingLogPreviousValueInterfaceAttributeAttributeGetterCall back(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
4625 {
4626 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
4627 ScriptState* scriptState = ScriptState::from(info.GetIsolate()->GetCurrentCo ntext());
4628 V8PerContextData* contextData = scriptState->perContextData();
4629 if (scriptState->world().isIsolatedWorld() && contextData && contextData->ac tivityLogger())
4630 contextData->activityLogger()->logGetter("TestObject.activityLoggingLogP reviousValueInterfaceAttribute");
4631 TestObjectV8Internal::activityLoggingLogPreviousValueInterfaceAttributeAttri buteGetter(info);
4632 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
4633 }
4634
4635 static void activityLoggingLogPreviousValueInterfaceAttributeAttributeSetter(v8: :Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
4636 {
4637 v8::Handle<v8::Object> holder = info.Holder();
4638 TestObject* impl = V8TestObject::toImpl(holder);
4639 TONATIVE_VOID(TestInterfaceEmpty*, cppValue, V8TestInterfaceEmpty::toImplWit hTypeCheck(info.GetIsolate(), v8Value));
4640 impl->setActivityLoggingLogPreviousValueInterfaceAttribute(WTF::getPtr(cppVa lue));
4641 }
4642
4643 static void activityLoggingLogPreviousValueInterfaceAttributeAttributeSetterCall back(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCall backInfo<void>& info)
4644 {
4645 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
4646 ScriptState* scriptState = ScriptState::from(info.GetIsolate()->GetCurrentCo ntext());
4647 V8PerContextData* contextData = scriptState->perContextData();
4648 if (scriptState->world().isIsolatedWorld() && contextData && contextData->ac tivityLogger()) {
4649 TestObject* impl = V8TestObject::toImpl(info.Holder());
4650 RefPtr<TestInterfaceEmpty> cppValue(impl->activityLoggingLogPreviousValu eInterfaceAttribute());
4651 v8::Handle<v8::Value> originalValue = toV8(cppValue, info.Holder(), info .GetIsolate());
4652 contextData->activityLogger()->logSetter("TestObject.activityLoggingLogP reviousValueInterfaceAttribute", v8Value, originalValue);
4653 }
4654 TestObjectV8Internal::activityLoggingLogPreviousValueInterfaceAttributeAttri buteSetter(v8Value, info);
4655 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
4656 }
4657
4658 static void testInterfaceAttributeAttributeGetter(const v8::PropertyCallbackInfo <v8::Value>& info) 4578 static void testInterfaceAttributeAttributeGetter(const v8::PropertyCallbackInfo <v8::Value>& info)
4659 { 4579 {
4660 v8::Handle<v8::Object> holder = info.Holder(); 4580 v8::Handle<v8::Object> holder = info.Holder();
4661 TestObject* impl = V8TestObject::toImpl(holder); 4581 TestObject* impl = V8TestObject::toImpl(holder);
4662 v8SetReturnValueFast(info, WTF::getPtr(impl->testInterfaceAttribute()), impl ); 4582 v8SetReturnValueFast(info, WTF::getPtr(impl->testInterfaceAttribute()), impl );
4663 } 4583 }
4664 4584
4665 static void testInterfaceAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 4585 static void testInterfaceAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
4666 { 4586 {
4667 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); 4587 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
(...skipping 5742 matching lines...) Expand 10 before | Expand all | Expand 10 after
10410 {"treatReturnedNullStringAsNullByteStringAttribute", TestObjectV8Internal::t reatReturnedNullStringAsNullByteStringAttributeAttributeGetterCallback, TestObje ctV8Internal::treatReturnedNullStringAsNullByteStringAttributeAttributeSetterCal lback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Pro pertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigu ration::OnInstance}, 10330 {"treatReturnedNullStringAsNullByteStringAttribute", TestObjectV8Internal::t reatReturnedNullStringAsNullByteStringAttributeAttributeGetterCallback, TestObje ctV8Internal::treatReturnedNullStringAsNullByteStringAttributeAttributeSetterCal lback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Pro pertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigu ration::OnInstance},
10411 {"treatReturnedNullStringAsUndefinedByteStringAttribute", TestObjectV8Intern al::treatReturnedNullStringAsUndefinedByteStringAttributeAttributeGetterCallback , TestObjectV8Internal::treatReturnedNullStringAsUndefinedByteStringAttributeAtt ributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stat ic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScript s, V8DOMConfiguration::OnInstance}, 10331 {"treatReturnedNullStringAsUndefinedByteStringAttribute", TestObjectV8Intern al::treatReturnedNullStringAsUndefinedByteStringAttributeAttributeGetterCallback , TestObjectV8Internal::treatReturnedNullStringAsUndefinedByteStringAttributeAtt ributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stat ic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScript s, V8DOMConfiguration::OnInstance},
10412 {"treatReturnedNullStringAsNullScalarValueStringAttribute", TestObjectV8Inte rnal::treatReturnedNullStringAsNullScalarValueStringAttributeAttributeGetterCall back, TestObjectV8Internal::treatReturnedNullStringAsNullScalarValueStringAttrib uteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT) , static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAll Scripts, V8DOMConfiguration::OnInstance}, 10332 {"treatReturnedNullStringAsNullScalarValueStringAttribute", TestObjectV8Inte rnal::treatReturnedNullStringAsNullScalarValueStringAttributeAttributeGetterCall back, TestObjectV8Internal::treatReturnedNullStringAsNullScalarValueStringAttrib uteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT) , static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAll Scripts, V8DOMConfiguration::OnInstance},
10413 {"treatReturnedNullStringAsUndefinedScalarValueStringAttribute", TestObjectV 8Internal::treatReturnedNullStringAsUndefinedScalarValueStringAttributeAttribute GetterCallback, TestObjectV8Internal::treatReturnedNullStringAsUndefinedScalarVa lueStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessContro l>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguratio n::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, 10333 {"treatReturnedNullStringAsUndefinedScalarValueStringAttribute", TestObjectV 8Internal::treatReturnedNullStringAsUndefinedScalarValueStringAttributeAttribute GetterCallback, TestObjectV8Internal::treatReturnedNullStringAsUndefinedScalarVa lueStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessContro l>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguratio n::ExposedToAllScripts, V8DOMConfiguration::OnInstance},
10414 {"typeCheckingInterfaceFloatAttribute", TestObjectV8Internal::typeCheckingIn terfaceFloatAttributeAttributeGetterCallback, TestObjectV8Internal::typeChecking InterfaceFloatAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessC ontrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigu ration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, 10334 {"typeCheckingInterfaceFloatAttribute", TestObjectV8Internal::typeCheckingIn terfaceFloatAttributeAttributeGetterCallback, TestObjectV8Internal::typeChecking InterfaceFloatAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessC ontrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigu ration::ExposedToAllScripts, V8DOMConfiguration::OnInstance},
10415 {"typeCheckingInterfaceTestInterfaceAttribute", TestObjectV8Internal::typeCh eckingInterfaceTestInterfaceAttributeAttributeGetterCallback, TestObjectV8Intern al::typeCheckingInterfaceTestInterfaceAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute> (v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInsta nce}, 10335 {"typeCheckingInterfaceTestInterfaceAttribute", TestObjectV8Internal::typeCh eckingInterfaceTestInterfaceAttributeAttributeGetterCallback, TestObjectV8Intern al::typeCheckingInterfaceTestInterfaceAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute> (v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInsta nce},
10416 {"typeCheckingInterfaceTestInterfaceOrNullAttribute", TestObjectV8Internal:: typeCheckingInterfaceTestInterfaceOrNullAttributeAttributeGetterCallback, TestOb jectV8Internal::typeCheckingInterfaceTestInterfaceOrNullAttributeAttributeSetter Callback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8:: PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConf iguration::OnInstance}, 10336 {"typeCheckingInterfaceTestInterfaceOrNullAttribute", TestObjectV8Internal:: typeCheckingInterfaceTestInterfaceOrNullAttributeAttributeGetterCallback, TestOb jectV8Internal::typeCheckingInterfaceTestInterfaceOrNullAttributeAttributeSetter Callback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8:: PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConf iguration::OnInstance},
10417 {"urlStringAttribute", TestObjectV8Internal::urlStringAttributeAttributeGett erCallback, TestObjectV8Internal::urlStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttri bute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::On Instance}, 10337 {"urlStringAttribute", TestObjectV8Internal::urlStringAttributeAttributeGett erCallback, TestObjectV8Internal::urlStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttri bute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::On Instance},
10418 {"urlStringAttribute", TestObjectV8Internal::urlStringAttributeAttributeGett erCallback, TestObjectV8Internal::urlStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttri bute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::On Instance}, 10338 {"urlStringAttribute", TestObjectV8Internal::urlStringAttributeAttributeGett erCallback, TestObjectV8Internal::urlStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttri bute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::On Instance},
10419 {"unforgeableLongAttribute", TestObjectV8Internal::unforgeableLongAttributeA ttributeGetterCallback, TestObjectV8Internal::unforgeableLongAttributeAttributeS etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::PROHIBITS_OVERWRITING ), static_cast<v8::PropertyAttribute>(v8::DontDelete), V8DOMConfiguration::Expos edToAllScripts, V8DOMConfiguration::OnInstance}, 10339 {"unforgeableLongAttribute", TestObjectV8Internal::unforgeableLongAttributeA ttributeGetterCallback, TestObjectV8Internal::unforgeableLongAttributeAttributeS etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::PROHIBITS_OVERWRITING ), static_cast<v8::PropertyAttribute>(v8::DontDelete), V8DOMConfiguration::Expos edToAllScripts, V8DOMConfiguration::OnInstance},
10420 {"activityLoggingSetterOnlyLogPreviousValueAttribute", TestObjectV8Internal: :activityLoggingSetterOnlyLogPreviousValueAttributeAttributeGetterCallback, Test ObjectV8Internal::activityLoggingSetterOnlyLogPreviousValueAttributeAttributeSet terCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v 8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMC onfiguration::OnInstance},
10421 {"activityLoggingLogPreviousValueInterfaceAttribute", TestObjectV8Internal:: activityLoggingLogPreviousValueInterfaceAttributeAttributeGetterCallback, TestOb jectV8Internal::activityLoggingLogPreviousValueInterfaceAttributeAttributeSetter Callback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8:: PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConf iguration::OnInstance},
10422 {"testInterfaceAttribute", TestObjectV8Internal::testInterfaceAttributeAttri buteGetterCallback, TestObjectV8Internal::testInterfaceAttributeAttributeSetterC allback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::P ropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfi guration::OnInstance}, 10340 {"testInterfaceAttribute", TestObjectV8Internal::testInterfaceAttributeAttri buteGetterCallback, TestObjectV8Internal::testInterfaceAttributeAttributeSetterC allback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::P ropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfi guration::OnInstance},
10423 {"testInterfaceGarbageCollectedAttribute", TestObjectV8Internal::testInterfa ceGarbageCollectedAttributeAttributeGetterCallback, TestObjectV8Internal::testIn terfaceGarbageCollectedAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8 ::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8D OMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, 10341 {"testInterfaceGarbageCollectedAttribute", TestObjectV8Internal::testInterfa ceGarbageCollectedAttributeAttributeGetterCallback, TestObjectV8Internal::testIn terfaceGarbageCollectedAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8 ::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8D OMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance},
10424 {"testInterfaceGarbageCollectedOrNullAttribute", TestObjectV8Internal::testI nterfaceGarbageCollectedOrNullAttributeAttributeGetterCallback, TestObjectV8Inte rnal::testInterfaceGarbageCollectedOrNullAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu te>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnIn stance}, 10342 {"testInterfaceGarbageCollectedOrNullAttribute", TestObjectV8Internal::testI nterfaceGarbageCollectedOrNullAttributeAttributeGetterCallback, TestObjectV8Inte rnal::testInterfaceGarbageCollectedOrNullAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu te>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnIn stance},
10425 {"testInterfaceWillBeGarbageCollectedAttribute", TestObjectV8Internal::testI nterfaceWillBeGarbageCollectedAttributeAttributeGetterCallback, TestObjectV8Inte rnal::testInterfaceWillBeGarbageCollectedAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu te>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnIn stance}, 10343 {"testInterfaceWillBeGarbageCollectedAttribute", TestObjectV8Internal::testI nterfaceWillBeGarbageCollectedAttributeAttributeGetterCallback, TestObjectV8Inte rnal::testInterfaceWillBeGarbageCollectedAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu te>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnIn stance},
10426 {"testInterfaceWillBeGarbageCollectedOrNullAttribute", TestObjectV8Internal: :testInterfaceWillBeGarbageCollectedOrNullAttributeAttributeGetterCallback, Test ObjectV8Internal::testInterfaceWillBeGarbageCollectedOrNullAttributeAttributeSet terCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v 8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMC onfiguration::OnInstance}, 10344 {"testInterfaceWillBeGarbageCollectedOrNullAttribute", TestObjectV8Internal: :testInterfaceWillBeGarbageCollectedOrNullAttributeAttributeGetterCallback, Test ObjectV8Internal::testInterfaceWillBeGarbageCollectedOrNullAttributeAttributeSet terCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v 8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMC onfiguration::OnInstance},
10427 {"readonlyShortAttribute", TestObjectV8Internal::readonlyShortAttributeAttri buteGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), sta tic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScrip ts, V8DOMConfiguration::OnInstance}, 10345 {"readonlyShortAttribute", TestObjectV8Internal::readonlyShortAttributeAttri buteGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), sta tic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScrip ts, V8DOMConfiguration::OnInstance},
10428 {"shortAttribute", TestObjectV8Internal::shortAttributeAttributeGetterCallba ck, TestObjectV8Internal::shortAttributeAttributeSetterCallback, 0, 0, 0, static _cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No ne), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, 10346 {"shortAttribute", TestObjectV8Internal::shortAttributeAttributeGetterCallba ck, TestObjectV8Internal::shortAttributeAttributeSetterCallback, 0, 0, 0, static _cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No ne), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance},
10429 {"stringAttribute", TestObjectV8Internal::stringAttributeAttributeGetterCall back, TestObjectV8Internal::stringAttributeAttributeSetterCallback, 0, 0, 0, sta tic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8: :None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance} , 10347 {"stringAttribute", TestObjectV8Internal::stringAttributeAttributeGetterCall back, TestObjectV8Internal::stringAttributeAttributeSetterCallback, 0, 0, 0, sta tic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8: :None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance} ,
10430 {"nodeAttribute", TestObjectV8Internal::nodeAttributeAttributeGetterCallback , TestObjectV8Internal::nodeAttributeAttributeSetterCallback, 0, 0, 0, static_ca st<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None) , V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, 10348 {"nodeAttribute", TestObjectV8Internal::nodeAttributeAttributeGetterCallback , TestObjectV8Internal::nodeAttributeAttributeSetterCallback, 0, 0, 0, static_ca st<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None) , V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance},
10431 {"attributeImplementedInCPPForPrivateScriptOnly", TestObjectV8Internal::attr ibuteImplementedInCPPForPrivateScriptOnlyAttributeGetterCallback, TestObjectV8In ternal::attributeImplementedInCPPForPrivateScriptOnlyAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttr ibute>(v8::None), V8DOMConfiguration::OnlyExposedToPrivateScript, V8DOMConfigura tion::OnInstance}, 10349 {"attributeImplementedInCPPForPrivateScriptOnly", TestObjectV8Internal::attr ibuteImplementedInCPPForPrivateScriptOnlyAttributeGetterCallback, TestObjectV8In ternal::attributeImplementedInCPPForPrivateScriptOnlyAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttr ibute>(v8::None), V8DOMConfiguration::OnlyExposedToPrivateScript, V8DOMConfigura tion::OnInstance},
(...skipping 942 matching lines...) Expand 10 before | Expand all | Expand 10 after
11374 PrivateScriptRunner::runDOMAttributeSetter(scriptState, "TestObject", "enumF orPrivateScript", holder, v8String(scriptState->isolate(), cppValue)); 11292 PrivateScriptRunner::runDOMAttributeSetter(scriptState, "TestObject", "enumF orPrivateScript", holder, v8String(scriptState->isolate(), cppValue));
11375 if (block.HasCaught()) { 11293 if (block.HasCaught()) {
11376 PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolat e(), exceptionState, block); 11294 PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolat e(), exceptionState, block);
11377 block.ReThrow(); 11295 block.ReThrow();
11378 return false; 11296 return false;
11379 } 11297 }
11380 return true; 11298 return true;
11381 } 11299 }
11382 11300
11383 } // namespace blink 11301 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/tests/idls/core/TestObject.idl ('k') | Source/web/WebDOMActivityLogger.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698