OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! | 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! |
6 | 6 |
7 #include "config.h" | 7 #include "config.h" |
8 #include "V8TestObject.h" | 8 #include "V8TestObject.h" |
9 | 9 |
10 #include "HTMLNames.h" | 10 #include "HTMLNames.h" |
(...skipping 1636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1647 v8::Handle<v8::Object> holder = info.Holder(); | 1647 v8::Handle<v8::Object> holder = info.Holder(); |
1648 TestObject* impl = V8TestObject::toNative(holder); | 1648 TestObject* impl = V8TestObject::toNative(holder); |
1649 v8SetReturnValueInt(info, impl->activityLoggingAccessForAllWorldsLongAttribu
te()); | 1649 v8SetReturnValueInt(info, impl->activityLoggingAccessForAllWorldsLongAttribu
te()); |
1650 } | 1650 } |
1651 | 1651 |
1652 static void activityLoggingAccessForAllWorldsLongAttributeAttributeGetterCallbac
k(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) | 1652 static void activityLoggingAccessForAllWorldsLongAttributeAttributeGetterCallbac
k(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
1653 { | 1653 { |
1654 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 1654 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
1655 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); | 1655 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); |
1656 if (world.activityLogger()) | 1656 if (world.activityLogger()) |
1657 world.activityLogger()->log("TestObject.activityLoggingAccessForAllWorld
sLongAttribute", 0, 0, "Getter"); | 1657 world.activityLogger()->logGetter("TestObject.activityLoggingAccessForAl
lWorldsLongAttribute"); |
1658 TestObjectV8Internal::activityLoggingAccessForAllWorldsLongAttributeAttribut
eGetter(info); | 1658 TestObjectV8Internal::activityLoggingAccessForAllWorldsLongAttributeAttribut
eGetter(info); |
1659 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 1659 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
1660 } | 1660 } |
1661 | 1661 |
1662 static void activityLoggingAccessForAllWorldsLongAttributeAttributeSetter(v8::Lo
cal<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) | 1662 static void activityLoggingAccessForAllWorldsLongAttributeAttributeSetter(v8::Lo
cal<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
1663 { | 1663 { |
1664 v8::Handle<v8::Object> holder = info.Holder(); | 1664 v8::Handle<v8::Object> holder = info.Holder(); |
1665 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gAccessForAllWorldsLongAttribute", "TestObject", holder, info.GetIsolate()); | 1665 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gAccessForAllWorldsLongAttribute", "TestObject", holder, info.GetIsolate()); |
1666 TestObject* impl = V8TestObject::toNative(holder); | 1666 TestObject* impl = V8TestObject::toNative(holder); |
1667 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState)
, exceptionState); | 1667 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState)
, exceptionState); |
1668 impl->setActivityLoggingAccessForAllWorldsLongAttribute(cppValue); | 1668 impl->setActivityLoggingAccessForAllWorldsLongAttribute(cppValue); |
1669 } | 1669 } |
1670 | 1670 |
1671 static void activityLoggingAccessForAllWorldsLongAttributeAttributeSetterCallbac
k(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbac
kInfo<void>& info) | 1671 static void activityLoggingAccessForAllWorldsLongAttributeAttributeSetterCallbac
k(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbac
kInfo<void>& info) |
1672 { | 1672 { |
1673 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 1673 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
1674 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); | 1674 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); |
1675 if (world.activityLogger()) { | 1675 if (world.activityLogger()) { |
1676 v8::Handle<v8::Value> loggerArg[] = { v8Value }; | 1676 world.activityLogger()->logSetter("TestObject.activityLoggingAccessForAl
lWorldsLongAttribute", v8Value); |
1677 world.activityLogger()->log("TestObject.activityLoggingAccessForAllWorld
sLongAttribute", 1, &loggerArg[0], "Setter"); | |
1678 } | 1677 } |
1679 TestObjectV8Internal::activityLoggingAccessForAllWorldsLongAttributeAttribut
eSetter(v8Value, info); | 1678 TestObjectV8Internal::activityLoggingAccessForAllWorldsLongAttributeAttribut
eSetter(v8Value, info); |
1680 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 1679 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
1681 } | 1680 } |
1682 | 1681 |
1683 static void activityLoggingGetterForAllWorldsLongAttributeAttributeGetter(const
v8::PropertyCallbackInfo<v8::Value>& info) | 1682 static void activityLoggingGetterForAllWorldsLongAttributeAttributeGetter(const
v8::PropertyCallbackInfo<v8::Value>& info) |
1684 { | 1683 { |
1685 v8::Handle<v8::Object> holder = info.Holder(); | 1684 v8::Handle<v8::Object> holder = info.Holder(); |
1686 TestObject* impl = V8TestObject::toNative(holder); | 1685 TestObject* impl = V8TestObject::toNative(holder); |
1687 v8SetReturnValueInt(info, impl->activityLoggingGetterForAllWorldsLongAttribu
te()); | 1686 v8SetReturnValueInt(info, impl->activityLoggingGetterForAllWorldsLongAttribu
te()); |
1688 } | 1687 } |
1689 | 1688 |
1690 static void activityLoggingGetterForAllWorldsLongAttributeAttributeGetterCallbac
k(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) | 1689 static void activityLoggingGetterForAllWorldsLongAttributeAttributeGetterCallbac
k(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
1691 { | 1690 { |
1692 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 1691 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
1693 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); | 1692 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); |
1694 if (world.activityLogger()) | 1693 if (world.activityLogger()) |
1695 world.activityLogger()->log("TestObject.activityLoggingGetterForAllWorld
sLongAttribute", 0, 0, "Getter"); | 1694 world.activityLogger()->logGetter("TestObject.activityLoggingGetterForAl
lWorldsLongAttribute"); |
1696 TestObjectV8Internal::activityLoggingGetterForAllWorldsLongAttributeAttribut
eGetter(info); | 1695 TestObjectV8Internal::activityLoggingGetterForAllWorldsLongAttributeAttribut
eGetter(info); |
1697 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 1696 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
1698 } | 1697 } |
1699 | 1698 |
1700 static void activityLoggingGetterForAllWorldsLongAttributeAttributeSetter(v8::Lo
cal<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) | 1699 static void activityLoggingGetterForAllWorldsLongAttributeAttributeSetter(v8::Lo
cal<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
1701 { | 1700 { |
1702 v8::Handle<v8::Object> holder = info.Holder(); | 1701 v8::Handle<v8::Object> holder = info.Holder(); |
1703 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gGetterForAllWorldsLongAttribute", "TestObject", holder, info.GetIsolate()); | 1702 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gGetterForAllWorldsLongAttribute", "TestObject", holder, info.GetIsolate()); |
1704 TestObject* impl = V8TestObject::toNative(holder); | 1703 TestObject* impl = V8TestObject::toNative(holder); |
1705 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState)
, exceptionState); | 1704 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState)
, exceptionState); |
(...skipping 28 matching lines...) Expand all Loading... |
1734 TestObject* impl = V8TestObject::toNative(holder); | 1733 TestObject* impl = V8TestObject::toNative(holder); |
1735 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState)
, exceptionState); | 1734 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState)
, exceptionState); |
1736 impl->setActivityLoggingSetterForAllWorldsLongAttribute(cppValue); | 1735 impl->setActivityLoggingSetterForAllWorldsLongAttribute(cppValue); |
1737 } | 1736 } |
1738 | 1737 |
1739 static void activityLoggingSetterForAllWorldsLongAttributeAttributeSetterCallbac
k(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbac
kInfo<void>& info) | 1738 static void activityLoggingSetterForAllWorldsLongAttributeAttributeSetterCallbac
k(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbac
kInfo<void>& info) |
1740 { | 1739 { |
1741 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 1740 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
1742 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); | 1741 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); |
1743 if (world.activityLogger()) { | 1742 if (world.activityLogger()) { |
1744 v8::Handle<v8::Value> loggerArg[] = { v8Value }; | 1743 world.activityLogger()->logSetter("TestObject.activityLoggingSetterForAl
lWorldsLongAttribute", v8Value); |
1745 world.activityLogger()->log("TestObject.activityLoggingSetterForAllWorld
sLongAttribute", 1, &loggerArg[0], "Setter"); | |
1746 } | 1744 } |
1747 TestObjectV8Internal::activityLoggingSetterForAllWorldsLongAttributeAttribut
eSetter(v8Value, info); | 1745 TestObjectV8Internal::activityLoggingSetterForAllWorldsLongAttributeAttribut
eSetter(v8Value, info); |
1748 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 1746 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
1749 } | 1747 } |
1750 | 1748 |
1751 static void cachedAttributeAnyAttributeAttributeGetter(const v8::PropertyCallbac
kInfo<v8::Value>& info) | 1749 static void cachedAttributeAnyAttributeAttributeGetter(const v8::PropertyCallbac
kInfo<v8::Value>& info) |
1752 { | 1750 { |
1753 v8::Handle<v8::Object> holder = info.Holder(); | 1751 v8::Handle<v8::Object> holder = info.Holder(); |
1754 v8::Handle<v8::String> propertyName = v8AtomicString(info.GetIsolate(), "cac
hedAttributeAnyAttribute"); | 1752 v8::Handle<v8::String> propertyName = v8AtomicString(info.GetIsolate(), "cac
hedAttributeAnyAttribute"); |
1755 TestObject* impl = V8TestObject::toNative(holder); | 1753 TestObject* impl = V8TestObject::toNative(holder); |
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2432 v8::Handle<v8::Object> holder = info.Holder(); | 2430 v8::Handle<v8::Object> holder = info.Holder(); |
2433 TestObject* impl = V8TestObject::toNative(holder); | 2431 TestObject* impl = V8TestObject::toNative(holder); |
2434 v8SetReturnValueInt(info, impl->activityLoggingAccessPerWorldBindingsLongAtt
ribute()); | 2432 v8SetReturnValueInt(info, impl->activityLoggingAccessPerWorldBindingsLongAtt
ribute()); |
2435 } | 2433 } |
2436 | 2434 |
2437 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterCal
lback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) | 2435 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterCal
lback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
2438 { | 2436 { |
2439 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 2437 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
2440 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); | 2438 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); |
2441 if (world.activityLogger()) | 2439 if (world.activityLogger()) |
2442 world.activityLogger()->log("TestObject.activityLoggingAccessPerWorldBin
dingsLongAttribute", 0, 0, "Getter"); | 2440 world.activityLogger()->logGetter("TestObject.activityLoggingAccessPerWo
rldBindingsLongAttribute"); |
2443 TestObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttributeAttr
ibuteGetter(info); | 2441 TestObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttributeAttr
ibuteGetter(info); |
2444 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 2442 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
2445 } | 2443 } |
2446 | 2444 |
2447 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetter(v8
::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) | 2445 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetter(v8
::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
2448 { | 2446 { |
2449 v8::Handle<v8::Object> holder = info.Holder(); | 2447 v8::Handle<v8::Object> holder = info.Holder(); |
2450 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gAccessPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); | 2448 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gAccessPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); |
2451 TestObject* impl = V8TestObject::toNative(holder); | 2449 TestObject* impl = V8TestObject::toNative(holder); |
2452 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState)
, exceptionState); | 2450 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState)
, exceptionState); |
2453 impl->setActivityLoggingAccessPerWorldBindingsLongAttribute(cppValue); | 2451 impl->setActivityLoggingAccessPerWorldBindingsLongAttribute(cppValue); |
2454 } | 2452 } |
2455 | 2453 |
2456 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetterCal
lback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCal
lbackInfo<void>& info) | 2454 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetterCal
lback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCal
lbackInfo<void>& info) |
2457 { | 2455 { |
2458 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 2456 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
2459 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); | 2457 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); |
2460 if (world.activityLogger()) { | 2458 if (world.activityLogger()) { |
2461 v8::Handle<v8::Value> loggerArg[] = { v8Value }; | 2459 world.activityLogger()->logSetter("TestObject.activityLoggingAccessPerWo
rldBindingsLongAttribute", v8Value); |
2462 world.activityLogger()->log("TestObject.activityLoggingAccessPerWorldBin
dingsLongAttribute", 1, &loggerArg[0], "Setter"); | |
2463 } | 2460 } |
2464 TestObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttributeAttr
ibuteSetter(v8Value, info); | 2461 TestObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttributeAttr
ibuteSetter(v8Value, info); |
2465 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 2462 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
2466 } | 2463 } |
2467 | 2464 |
2468 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterFor
MainWorld(const v8::PropertyCallbackInfo<v8::Value>& info) | 2465 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterFor
MainWorld(const v8::PropertyCallbackInfo<v8::Value>& info) |
2469 { | 2466 { |
2470 v8::Handle<v8::Object> holder = info.Holder(); | 2467 v8::Handle<v8::Object> holder = info.Holder(); |
2471 TestObject* impl = V8TestObject::toNative(holder); | 2468 TestObject* impl = V8TestObject::toNative(holder); |
2472 v8SetReturnValueInt(info, impl->activityLoggingAccessPerWorldBindingsLongAtt
ribute()); | 2469 v8SetReturnValueInt(info, impl->activityLoggingAccessPerWorldBindingsLongAtt
ribute()); |
2473 } | 2470 } |
2474 | 2471 |
2475 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterCal
lbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Valu
e>& info) | 2472 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterCal
lbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Valu
e>& info) |
2476 { | 2473 { |
2477 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 2474 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
2478 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); | 2475 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); |
2479 if (world.activityLogger()) | 2476 if (world.activityLogger()) |
2480 world.activityLogger()->log("TestObject.activityLoggingAccessPerWorldBin
dingsLongAttribute", 0, 0, "Getter"); | 2477 world.activityLogger()->logGetter("TestObject.activityLoggingAccessPerWo
rldBindingsLongAttribute"); |
2481 TestObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttributeAttr
ibuteGetterForMainWorld(info); | 2478 TestObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttributeAttr
ibuteGetterForMainWorld(info); |
2482 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 2479 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
2483 } | 2480 } |
2484 | 2481 |
2485 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetterFor
MainWorld(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& in
fo) | 2482 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetterFor
MainWorld(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& in
fo) |
2486 { | 2483 { |
2487 v8::Handle<v8::Object> holder = info.Holder(); | 2484 v8::Handle<v8::Object> holder = info.Holder(); |
2488 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gAccessPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); | 2485 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gAccessPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); |
2489 TestObject* impl = V8TestObject::toNative(holder); | 2486 TestObject* impl = V8TestObject::toNative(holder); |
2490 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState)
, exceptionState); | 2487 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState)
, exceptionState); |
2491 impl->setActivityLoggingAccessPerWorldBindingsLongAttribute(cppValue); | 2488 impl->setActivityLoggingAccessPerWorldBindingsLongAttribute(cppValue); |
2492 } | 2489 } |
2493 | 2490 |
2494 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetterCal
lbackForMainWorld(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8:
:PropertyCallbackInfo<void>& info) | 2491 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetterCal
lbackForMainWorld(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8:
:PropertyCallbackInfo<void>& info) |
2495 { | 2492 { |
2496 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 2493 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
2497 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); | 2494 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); |
2498 if (world.activityLogger()) { | 2495 if (world.activityLogger()) { |
2499 v8::Handle<v8::Value> loggerArg[] = { v8Value }; | 2496 world.activityLogger()->logSetter("TestObject.activityLoggingAccessPerWo
rldBindingsLongAttribute", v8Value); |
2500 world.activityLogger()->log("TestObject.activityLoggingAccessPerWorldBin
dingsLongAttribute", 1, &loggerArg[0], "Setter"); | |
2501 } | 2497 } |
2502 TestObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttributeAttr
ibuteSetterForMainWorld(v8Value, info); | 2498 TestObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttributeAttr
ibuteSetterForMainWorld(v8Value, info); |
2503 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 2499 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
2504 } | 2500 } |
2505 | 2501 |
2506 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) | 2502 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) |
2507 { | 2503 { |
2508 v8::Handle<v8::Object> holder = info.Holder(); | 2504 v8::Handle<v8::Object> holder = info.Holder(); |
2509 TestObject* impl = V8TestObject::toNative(holder); | 2505 TestObject* impl = V8TestObject::toNative(holder); |
2510 v8SetReturnValueInt(info, impl->activityLoggingAccessForIsolatedWorldsPerWor
ldBindingsLongAttribute()); | 2506 v8SetReturnValueInt(info, impl->activityLoggingAccessForIsolatedWorldsPerWor
ldBindingsLongAttribute()); |
2511 } | 2507 } |
2512 | 2508 |
2513 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8:
:Value>& info) | 2509 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8:
:Value>& info) |
2514 { | 2510 { |
2515 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 2511 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
2516 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); | 2512 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); |
2517 if (world.activityLogger()) | 2513 if (world.activityLogger()) |
2518 world.activityLogger()->log("TestObject.activityLoggingAccessForIsolated
WorldsPerWorldBindingsLongAttribute", 0, 0, "Getter"); | 2514 world.activityLogger()->logGetter("TestObject.activityLoggingAccessForIs
olatedWorldsPerWorldBindingsLongAttribute"); |
2519 TestObjectV8Internal::activityLoggingAccessForIsolatedWorldsPerWorldBindings
LongAttributeAttributeGetter(info); | 2515 TestObjectV8Internal::activityLoggingAccessForIsolatedWorldsPerWorldBindings
LongAttributeAttributeGetter(info); |
2520 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 2516 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
2521 } | 2517 } |
2522 | 2518 |
2523 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void
>& info) | 2519 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void
>& info) |
2524 { | 2520 { |
2525 v8::Handle<v8::Object> holder = info.Holder(); | 2521 v8::Handle<v8::Object> holder = info.Holder(); |
2526 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gAccessForIsolatedWorldsPerWorldBindingsLongAttribute", "TestObject", holder, in
fo.GetIsolate()); | 2522 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gAccessForIsolatedWorldsPerWorldBindingsLongAttribute", "TestObject", holder, in
fo.GetIsolate()); |
2527 TestObject* impl = V8TestObject::toNative(holder); | 2523 TestObject* impl = V8TestObject::toNative(holder); |
2528 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState)
, exceptionState); | 2524 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState)
, exceptionState); |
2529 impl->setActivityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute
(cppValue); | 2525 impl->setActivityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute
(cppValue); |
2530 } | 2526 } |
2531 | 2527 |
2532 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, cons
t v8::PropertyCallbackInfo<void>& info) | 2528 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, cons
t v8::PropertyCallbackInfo<void>& info) |
2533 { | 2529 { |
2534 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 2530 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
2535 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); | 2531 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); |
2536 if (world.activityLogger()) { | 2532 if (world.activityLogger()) { |
2537 v8::Handle<v8::Value> loggerArg[] = { v8Value }; | 2533 world.activityLogger()->logSetter("TestObject.activityLoggingAccessForIs
olatedWorldsPerWorldBindingsLongAttribute", v8Value); |
2538 world.activityLogger()->log("TestObject.activityLoggingAccessForIsolated
WorldsPerWorldBindingsLongAttribute", 1, &loggerArg[0], "Setter"); | |
2539 } | 2534 } |
2540 TestObjectV8Internal::activityLoggingAccessForIsolatedWorldsPerWorldBindings
LongAttributeAttributeSetter(v8Value, info); | 2535 TestObjectV8Internal::activityLoggingAccessForIsolatedWorldsPerWorldBindings
LongAttributeAttributeSetter(v8Value, info); |
2541 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 2536 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
2542 } | 2537 } |
2543 | 2538 |
2544 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info) | 2539 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info) |
2545 { | 2540 { |
2546 v8::Handle<v8::Object> holder = info.Holder(); | 2541 v8::Handle<v8::Object> holder = info.Holder(); |
2547 TestObject* impl = V8TestObject::toNative(holder); | 2542 TestObject* impl = V8TestObject::toNative(holder); |
2548 v8SetReturnValueInt(info, impl->activityLoggingAccessForIsolatedWorldsPerWor
ldBindingsLongAttribute()); | 2543 v8SetReturnValueInt(info, impl->activityLoggingAccessForIsolatedWorldsPerWor
ldBindingsLongAttribute()); |
(...skipping 27 matching lines...) Expand all Loading... |
2576 v8::Handle<v8::Object> holder = info.Holder(); | 2571 v8::Handle<v8::Object> holder = info.Holder(); |
2577 TestObject* impl = V8TestObject::toNative(holder); | 2572 TestObject* impl = V8TestObject::toNative(holder); |
2578 v8SetReturnValueInt(info, impl->activityLoggingGetterPerWorldBindingsLongAtt
ribute()); | 2573 v8SetReturnValueInt(info, impl->activityLoggingGetterPerWorldBindingsLongAtt
ribute()); |
2579 } | 2574 } |
2580 | 2575 |
2581 static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeGetterCal
lback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) | 2576 static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeGetterCal
lback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
2582 { | 2577 { |
2583 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 2578 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
2584 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); | 2579 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); |
2585 if (world.activityLogger()) | 2580 if (world.activityLogger()) |
2586 world.activityLogger()->log("TestObject.activityLoggingGetterPerWorldBin
dingsLongAttribute", 0, 0, "Getter"); | 2581 world.activityLogger()->logGetter("TestObject.activityLoggingGetterPerWo
rldBindingsLongAttribute"); |
2587 TestObjectV8Internal::activityLoggingGetterPerWorldBindingsLongAttributeAttr
ibuteGetter(info); | 2582 TestObjectV8Internal::activityLoggingGetterPerWorldBindingsLongAttributeAttr
ibuteGetter(info); |
2588 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 2583 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
2589 } | 2584 } |
2590 | 2585 |
2591 static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeSetter(v8
::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) | 2586 static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeSetter(v8
::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
2592 { | 2587 { |
2593 v8::Handle<v8::Object> holder = info.Holder(); | 2588 v8::Handle<v8::Object> holder = info.Holder(); |
2594 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gGetterPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); | 2589 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gGetterPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); |
2595 TestObject* impl = V8TestObject::toNative(holder); | 2590 TestObject* impl = V8TestObject::toNative(holder); |
2596 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState)
, exceptionState); | 2591 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState)
, exceptionState); |
(...skipping 12 matching lines...) Expand all Loading... |
2609 v8::Handle<v8::Object> holder = info.Holder(); | 2604 v8::Handle<v8::Object> holder = info.Holder(); |
2610 TestObject* impl = V8TestObject::toNative(holder); | 2605 TestObject* impl = V8TestObject::toNative(holder); |
2611 v8SetReturnValueInt(info, impl->activityLoggingGetterPerWorldBindingsLongAtt
ribute()); | 2606 v8SetReturnValueInt(info, impl->activityLoggingGetterPerWorldBindingsLongAtt
ribute()); |
2612 } | 2607 } |
2613 | 2608 |
2614 static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeGetterCal
lbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Valu
e>& info) | 2609 static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeGetterCal
lbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Valu
e>& info) |
2615 { | 2610 { |
2616 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 2611 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
2617 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); | 2612 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); |
2618 if (world.activityLogger()) | 2613 if (world.activityLogger()) |
2619 world.activityLogger()->log("TestObject.activityLoggingGetterPerWorldBin
dingsLongAttribute", 0, 0, "Getter"); | 2614 world.activityLogger()->logGetter("TestObject.activityLoggingGetterPerWo
rldBindingsLongAttribute"); |
2620 TestObjectV8Internal::activityLoggingGetterPerWorldBindingsLongAttributeAttr
ibuteGetterForMainWorld(info); | 2615 TestObjectV8Internal::activityLoggingGetterPerWorldBindingsLongAttributeAttr
ibuteGetterForMainWorld(info); |
2621 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 2616 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
2622 } | 2617 } |
2623 | 2618 |
2624 static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeSetterFor
MainWorld(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& in
fo) | 2619 static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeSetterFor
MainWorld(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& in
fo) |
2625 { | 2620 { |
2626 v8::Handle<v8::Object> holder = info.Holder(); | 2621 v8::Handle<v8::Object> holder = info.Holder(); |
2627 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gGetterPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); | 2622 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gGetterPerWorldBindingsLongAttribute", "TestObject", holder, info.GetIsolate()); |
2628 TestObject* impl = V8TestObject::toNative(holder); | 2623 TestObject* impl = V8TestObject::toNative(holder); |
2629 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState)
, exceptionState); | 2624 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState)
, exceptionState); |
(...skipping 12 matching lines...) Expand all Loading... |
2642 v8::Handle<v8::Object> holder = info.Holder(); | 2637 v8::Handle<v8::Object> holder = info.Holder(); |
2643 TestObject* impl = V8TestObject::toNative(holder); | 2638 TestObject* impl = V8TestObject::toNative(holder); |
2644 v8SetReturnValueInt(info, impl->activityLoggingGetterForIsolatedWorldsPerWor
ldBindingsLongAttribute()); | 2639 v8SetReturnValueInt(info, impl->activityLoggingGetterForIsolatedWorldsPerWor
ldBindingsLongAttribute()); |
2645 } | 2640 } |
2646 | 2641 |
2647 static void activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8:
:Value>& info) | 2642 static void activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8:
:Value>& info) |
2648 { | 2643 { |
2649 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 2644 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
2650 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); | 2645 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); |
2651 if (world.activityLogger()) | 2646 if (world.activityLogger()) |
2652 world.activityLogger()->log("TestObject.activityLoggingGetterForIsolated
WorldsPerWorldBindingsLongAttribute", 0, 0, "Getter"); | 2647 world.activityLogger()->logGetter("TestObject.activityLoggingGetterForIs
olatedWorldsPerWorldBindingsLongAttribute"); |
2653 TestObjectV8Internal::activityLoggingGetterForIsolatedWorldsPerWorldBindings
LongAttributeAttributeGetter(info); | 2648 TestObjectV8Internal::activityLoggingGetterForIsolatedWorldsPerWorldBindings
LongAttributeAttributeGetter(info); |
2654 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 2649 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
2655 } | 2650 } |
2656 | 2651 |
2657 static void activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void
>& info) | 2652 static void activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void
>& info) |
2658 { | 2653 { |
2659 v8::Handle<v8::Object> holder = info.Holder(); | 2654 v8::Handle<v8::Object> holder = info.Holder(); |
2660 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gGetterForIsolatedWorldsPerWorldBindingsLongAttribute", "TestObject", holder, in
fo.GetIsolate()); | 2655 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gGetterForIsolatedWorldsPerWorldBindingsLongAttribute", "TestObject", holder, in
fo.GetIsolate()); |
2661 TestObject* impl = V8TestObject::toNative(holder); | 2656 TestObject* impl = V8TestObject::toNative(holder); |
2662 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState)
, exceptionState); | 2657 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState)
, exceptionState); |
(...skipping 1609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4272 impl->setUnforgeableLongAttribute(cppValue); | 4267 impl->setUnforgeableLongAttribute(cppValue); |
4273 } | 4268 } |
4274 | 4269 |
4275 static void unforgeableLongAttributeAttributeSetterCallback(v8::Local<v8::String
>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) | 4270 static void unforgeableLongAttributeAttributeSetterCallback(v8::Local<v8::String
>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
4276 { | 4271 { |
4277 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 4272 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
4278 TestObjectV8Internal::unforgeableLongAttributeAttributeSetter(v8Value, info)
; | 4273 TestObjectV8Internal::unforgeableLongAttributeAttributeSetter(v8Value, info)
; |
4279 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 4274 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
4280 } | 4275 } |
4281 | 4276 |
| 4277 static void activityLoggingSetterOnlyLogPreviousValueAttributeAttributeGetter(co
nst v8::PropertyCallbackInfo<v8::Value>& info) |
| 4278 { |
| 4279 v8::Handle<v8::Object> holder = info.Holder(); |
| 4280 TestObject* impl = V8TestObject::toNative(holder); |
| 4281 v8SetReturnValueInt(info, impl->activityLoggingSetterOnlyLogPreviousValueAtt
ribute()); |
| 4282 } |
| 4283 |
| 4284 static void activityLoggingSetterOnlyLogPreviousValueAttributeAttributeGetterCal
lback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 4285 { |
| 4286 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 4287 TestObjectV8Internal::activityLoggingSetterOnlyLogPreviousValueAttributeAttr
ibuteGetter(info); |
| 4288 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 4289 } |
| 4290 |
| 4291 static void activityLoggingSetterOnlyLogPreviousValueAttributeAttributeSetter(v8
::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
| 4292 { |
| 4293 v8::Handle<v8::Object> holder = info.Holder(); |
| 4294 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gSetterOnlyLogPreviousValueAttribute", "TestObject", holder, info.GetIsolate()); |
| 4295 TestObject* impl = V8TestObject::toNative(holder); |
| 4296 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState)
, exceptionState); |
| 4297 impl->setActivityLoggingSetterOnlyLogPreviousValueAttribute(cppValue); |
| 4298 } |
| 4299 |
| 4300 static void activityLoggingSetterOnlyLogPreviousValueAttributeAttributeSetterCal
lback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCal
lbackInfo<void>& info) |
| 4301 { |
| 4302 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 4303 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); |
| 4304 if (world.activityLogger()) { |
| 4305 TestObject* impl = V8TestObject::toNative(info.Holder()); |
| 4306 int original = impl->activityLoggingSetterOnlyLogPreviousValueAttribute(
); |
| 4307 v8::Handle<v8::Value> originalValue = v8::Integer::New(info.GetIsolate()
, original); |
| 4308 world.activityLogger()->logSetter("TestObject.activityLoggingSetterOnlyL
ogPreviousValueAttribute", v8Value, originalValue); |
| 4309 } |
| 4310 TestObjectV8Internal::activityLoggingSetterOnlyLogPreviousValueAttributeAttr
ibuteSetter(v8Value, info); |
| 4311 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 4312 } |
| 4313 |
| 4314 static void activityLoggingLogPreviousValueInterfaceAttributeAttributeGetter(con
st v8::PropertyCallbackInfo<v8::Value>& info) |
| 4315 { |
| 4316 v8::Handle<v8::Object> holder = info.Holder(); |
| 4317 TestObject* impl = V8TestObject::toNative(holder); |
| 4318 v8SetReturnValueFast(info, WTF::getPtr(impl->activityLoggingLogPreviousValue
InterfaceAttribute()), impl); |
| 4319 } |
| 4320 |
| 4321 static void activityLoggingLogPreviousValueInterfaceAttributeAttributeGetterCall
back(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 4322 { |
| 4323 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 4324 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); |
| 4325 if (world.activityLogger()) |
| 4326 world.activityLogger()->logGetter("TestObject.activityLoggingLogPrevious
ValueInterfaceAttribute"); |
| 4327 TestObjectV8Internal::activityLoggingLogPreviousValueInterfaceAttributeAttri
buteGetter(info); |
| 4328 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 4329 } |
| 4330 |
| 4331 static void activityLoggingLogPreviousValueInterfaceAttributeAttributeSetter(v8:
:Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
| 4332 { |
| 4333 v8::Handle<v8::Object> holder = info.Holder(); |
| 4334 TestObject* impl = V8TestObject::toNative(holder); |
| 4335 TONATIVE_VOID(TestInterfaceEmpty*, cppValue, V8TestInterfaceEmpty::toNativeW
ithTypeCheck(info.GetIsolate(), v8Value)); |
| 4336 impl->setActivityLoggingLogPreviousValueInterfaceAttribute(WTF::getPtr(cppVa
lue)); |
| 4337 } |
| 4338 |
| 4339 static void activityLoggingLogPreviousValueInterfaceAttributeAttributeSetterCall
back(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCall
backInfo<void>& info) |
| 4340 { |
| 4341 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 4342 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); |
| 4343 if (world.activityLogger()) { |
| 4344 TestObject* impl = V8TestObject::toNative(info.Holder()); |
| 4345 RefPtr<TestInterfaceEmpty> original = impl->activityLoggingLogPreviousVa
lueInterfaceAttribute(); |
| 4346 v8::Handle<v8::Value> originalValue = toV8(original, info.Holder(), info
.GetIsolate()); |
| 4347 world.activityLogger()->logSetter("TestObject.activityLoggingLogPrevious
ValueInterfaceAttribute", v8Value, originalValue); |
| 4348 } |
| 4349 TestObjectV8Internal::activityLoggingLogPreviousValueInterfaceAttributeAttri
buteSetter(v8Value, info); |
| 4350 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 4351 } |
| 4352 |
4282 static void testInterfaceAttributeAttributeGetter(const v8::PropertyCallbackInfo
<v8::Value>& info) | 4353 static void testInterfaceAttributeAttributeGetter(const v8::PropertyCallbackInfo
<v8::Value>& info) |
4283 { | 4354 { |
4284 v8::Handle<v8::Object> holder = info.Holder(); | 4355 v8::Handle<v8::Object> holder = info.Holder(); |
4285 TestObject* impl = V8TestObject::toNative(holder); | 4356 TestObject* impl = V8TestObject::toNative(holder); |
4286 v8SetReturnValueFast(info, WTF::getPtr(impl->testInterfaceAttribute()), impl
); | 4357 v8SetReturnValueFast(info, WTF::getPtr(impl->testInterfaceAttribute()), impl
); |
4287 } | 4358 } |
4288 | 4359 |
4289 static void testInterfaceAttributeAttributeGetterCallback(v8::Local<v8::String>,
const v8::PropertyCallbackInfo<v8::Value>& info) | 4360 static void testInterfaceAttributeAttributeGetterCallback(v8::Local<v8::String>,
const v8::PropertyCallbackInfo<v8::Value>& info) |
4290 { | 4361 { |
4291 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 4362 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
(...skipping 2775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7067 TestObject* impl = V8TestObject::toNative(info.Holder()); | 7138 TestObject* impl = V8TestObject::toNative(info.Holder()); |
7068 impl->activityLoggingAccessForAllWorldsMethod(); | 7139 impl->activityLoggingAccessForAllWorldsMethod(); |
7069 } | 7140 } |
7070 | 7141 |
7071 static void activityLoggingAccessForAllWorldsMethodMethodCallback(const v8::Func
tionCallbackInfo<v8::Value>& info) | 7142 static void activityLoggingAccessForAllWorldsMethodMethodCallback(const v8::Func
tionCallbackInfo<v8::Value>& info) |
7072 { | 7143 { |
7073 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 7144 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
7074 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); | 7145 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); |
7075 if (world.activityLogger()) { | 7146 if (world.activityLogger()) { |
7076 Vector<v8::Handle<v8::Value> > loggerArgs = toNativeArguments<v8::Handle
<v8::Value> >(info, 0); | 7147 Vector<v8::Handle<v8::Value> > loggerArgs = toNativeArguments<v8::Handle
<v8::Value> >(info, 0); |
7077 world.activityLogger()->log("TestObject.activityLoggingAccessForAllWorld
sMethod", info.Length(), loggerArgs.data(), "Method"); | 7148 world.activityLogger()->logMethod("TestObject.activityLoggingAccessForAl
lWorldsMethod", info.Length(), loggerArgs.data()); |
7078 } | 7149 } |
7079 TestObjectV8Internal::activityLoggingAccessForAllWorldsMethodMethod(info); | 7150 TestObjectV8Internal::activityLoggingAccessForAllWorldsMethodMethod(info); |
7080 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 7151 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
7081 } | 7152 } |
7082 | 7153 |
7083 static void callWithExecutionContextVoidMethodMethod(const v8::FunctionCallbackI
nfo<v8::Value>& info) | 7154 static void callWithExecutionContextVoidMethodMethod(const v8::FunctionCallbackI
nfo<v8::Value>& info) |
7084 { | 7155 { |
7085 TestObject* impl = V8TestObject::toNative(info.Holder()); | 7156 TestObject* impl = V8TestObject::toNative(info.Holder()); |
7086 ExecutionContext* scriptContext = currentExecutionContext(info.GetIsolate())
; | 7157 ExecutionContext* scriptContext = currentExecutionContext(info.GetIsolate())
; |
7087 impl->callWithExecutionContextVoidMethod(scriptContext); | 7158 impl->callWithExecutionContextVoidMethod(scriptContext); |
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7726 TestObject* impl = V8TestObject::toNative(info.Holder()); | 7797 TestObject* impl = V8TestObject::toNative(info.Holder()); |
7727 impl->activityLoggingForAllWorldsPerWorldBindingsVoidMethod(); | 7798 impl->activityLoggingForAllWorldsPerWorldBindingsVoidMethod(); |
7728 } | 7799 } |
7729 | 7800 |
7730 static void activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallback(
const v8::FunctionCallbackInfo<v8::Value>& info) | 7801 static void activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallback(
const v8::FunctionCallbackInfo<v8::Value>& info) |
7731 { | 7802 { |
7732 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 7803 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
7733 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); | 7804 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); |
7734 if (world.activityLogger()) { | 7805 if (world.activityLogger()) { |
7735 Vector<v8::Handle<v8::Value> > loggerArgs = toNativeArguments<v8::Handle
<v8::Value> >(info, 0); | 7806 Vector<v8::Handle<v8::Value> > loggerArgs = toNativeArguments<v8::Handle
<v8::Value> >(info, 0); |
7736 world.activityLogger()->log("TestObject.activityLoggingForAllWorldsPerWo
rldBindingsVoidMethod", info.Length(), loggerArgs.data(), "Method"); | 7807 world.activityLogger()->logMethod("TestObject.activityLoggingForAllWorld
sPerWorldBindingsVoidMethod", info.Length(), loggerArgs.data()); |
7737 } | 7808 } |
7738 TestObjectV8Internal::activityLoggingForAllWorldsPerWorldBindingsVoidMethodM
ethod(info); | 7809 TestObjectV8Internal::activityLoggingForAllWorldsPerWorldBindingsVoidMethodM
ethod(info); |
7739 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 7810 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
7740 } | 7811 } |
7741 | 7812 |
7742 static void activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodForMainWo
rld(const v8::FunctionCallbackInfo<v8::Value>& info) | 7813 static void activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodForMainWo
rld(const v8::FunctionCallbackInfo<v8::Value>& info) |
7743 { | 7814 { |
7744 TestObject* impl = V8TestObject::toNative(info.Holder()); | 7815 TestObject* impl = V8TestObject::toNative(info.Holder()); |
7745 impl->activityLoggingForAllWorldsPerWorldBindingsVoidMethod(); | 7816 impl->activityLoggingForAllWorldsPerWorldBindingsVoidMethod(); |
7746 } | 7817 } |
7747 | 7818 |
7748 static void activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallbackF
orMainWorld(const v8::FunctionCallbackInfo<v8::Value>& info) | 7819 static void activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallbackF
orMainWorld(const v8::FunctionCallbackInfo<v8::Value>& info) |
7749 { | 7820 { |
7750 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 7821 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
7751 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); | 7822 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); |
7752 if (world.activityLogger()) { | 7823 if (world.activityLogger()) { |
7753 Vector<v8::Handle<v8::Value> > loggerArgs = toNativeArguments<v8::Handle
<v8::Value> >(info, 0); | 7824 Vector<v8::Handle<v8::Value> > loggerArgs = toNativeArguments<v8::Handle
<v8::Value> >(info, 0); |
7754 world.activityLogger()->log("TestObject.activityLoggingForAllWorldsPerWo
rldBindingsVoidMethod", info.Length(), loggerArgs.data(), "Method"); | 7825 world.activityLogger()->logMethod("TestObject.activityLoggingForAllWorld
sPerWorldBindingsVoidMethod", info.Length(), loggerArgs.data()); |
7755 } | 7826 } |
7756 TestObjectV8Internal::activityLoggingForAllWorldsPerWorldBindingsVoidMethodM
ethodForMainWorld(info); | 7827 TestObjectV8Internal::activityLoggingForAllWorldsPerWorldBindingsVoidMethodM
ethodForMainWorld(info); |
7757 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 7828 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
7758 } | 7829 } |
7759 | 7830 |
7760 static void activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethod(con
st v8::FunctionCallbackInfo<v8::Value>& info) | 7831 static void activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethod(con
st v8::FunctionCallbackInfo<v8::Value>& info) |
7761 { | 7832 { |
7762 TestObject* impl = V8TestObject::toNative(info.Holder()); | 7833 TestObject* impl = V8TestObject::toNative(info.Holder()); |
7763 impl->activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethod(); | 7834 impl->activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethod(); |
7764 } | 7835 } |
7765 | 7836 |
7766 static void activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethodCall
back(const v8::FunctionCallbackInfo<v8::Value>& info) | 7837 static void activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethodCall
back(const v8::FunctionCallbackInfo<v8::Value>& info) |
7767 { | 7838 { |
7768 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 7839 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
7769 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); | 7840 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); |
7770 if (world.activityLogger()) { | 7841 if (world.activityLogger()) { |
7771 Vector<v8::Handle<v8::Value> > loggerArgs = toNativeArguments<v8::Handle
<v8::Value> >(info, 0); | 7842 Vector<v8::Handle<v8::Value> > loggerArgs = toNativeArguments<v8::Handle
<v8::Value> >(info, 0); |
7772 world.activityLogger()->log("TestObject.activityLoggingForIsolatedWorlds
PerWorldBindingsVoidMethod", info.Length(), loggerArgs.data(), "Method"); | 7843 world.activityLogger()->logMethod("TestObject.activityLoggingForIsolated
WorldsPerWorldBindingsVoidMethod", info.Length(), loggerArgs.data()); |
7773 } | 7844 } |
7774 TestObjectV8Internal::activityLoggingForIsolatedWorldsPerWorldBindingsVoidMe
thodMethod(info); | 7845 TestObjectV8Internal::activityLoggingForIsolatedWorldsPerWorldBindingsVoidMe
thodMethod(info); |
7775 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 7846 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
7776 } | 7847 } |
7777 | 7848 |
7778 static void activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethodForM
ainWorld(const v8::FunctionCallbackInfo<v8::Value>& info) | 7849 static void activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethodForM
ainWorld(const v8::FunctionCallbackInfo<v8::Value>& info) |
7779 { | 7850 { |
7780 TestObject* impl = V8TestObject::toNative(info.Holder()); | 7851 TestObject* impl = V8TestObject::toNative(info.Holder()); |
7781 impl->activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethod(); | 7852 impl->activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethod(); |
7782 } | 7853 } |
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8335 {"treatNullAsNullStringStringAttribute", TestObjectV8Internal::treatNullAsNu
llStringStringAttributeAttributeGetterCallback, TestObjectV8Internal::treatNullA
sNullStringStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce
ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i
nstance */}, | 8406 {"treatNullAsNullStringStringAttribute", TestObjectV8Internal::treatNullAsNu
llStringStringAttributeAttributeGetterCallback, TestObjectV8Internal::treatNullA
sNullStringStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce
ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i
nstance */}, |
8336 {"treatReturnedNullStringAsNullStringAttribute", TestObjectV8Internal::treat
ReturnedNullStringAsNullStringAttributeAttributeGetterCallback, TestObjectV8Inte
rnal::treatReturnedNullStringAsNullStringAttributeAttributeSetterCallback, 0, 0,
0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu
te>(v8::None), 0 /* on instance */}, | 8407 {"treatReturnedNullStringAsNullStringAttribute", TestObjectV8Internal::treat
ReturnedNullStringAsNullStringAttributeAttributeGetterCallback, TestObjectV8Inte
rnal::treatReturnedNullStringAsNullStringAttributeAttributeSetterCallback, 0, 0,
0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu
te>(v8::None), 0 /* on instance */}, |
8337 {"treatReturnedNullStringAsUndefinedStringAttribute", TestObjectV8Internal::
treatReturnedNullStringAsUndefinedStringAttributeAttributeGetterCallback, TestOb
jectV8Internal::treatReturnedNullStringAsUndefinedStringAttributeAttributeSetter
Callback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::
PropertyAttribute>(v8::None), 0 /* on instance */}, | 8408 {"treatReturnedNullStringAsUndefinedStringAttribute", TestObjectV8Internal::
treatReturnedNullStringAsUndefinedStringAttributeAttributeGetterCallback, TestOb
jectV8Internal::treatReturnedNullStringAsUndefinedStringAttributeAttributeSetter
Callback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::
PropertyAttribute>(v8::None), 0 /* on instance */}, |
8338 {"typeCheckingInterfaceNullableStringFloatAttribute", TestObjectV8Internal::
typeCheckingInterfaceNullableStringFloatAttributeAttributeGetterCallback, TestOb
jectV8Internal::typeCheckingInterfaceNullableStringFloatAttributeAttributeSetter
Callback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::
PropertyAttribute>(v8::None), 0 /* on instance */}, | 8409 {"typeCheckingInterfaceNullableStringFloatAttribute", TestObjectV8Internal::
typeCheckingInterfaceNullableStringFloatAttributeAttributeGetterCallback, TestOb
jectV8Internal::typeCheckingInterfaceNullableStringFloatAttributeAttributeSetter
Callback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::
PropertyAttribute>(v8::None), 0 /* on instance */}, |
8339 {"typeCheckingInterfaceTestInterfaceAttribute", TestObjectV8Internal::typeCh
eckingInterfaceTestInterfaceAttributeAttributeGetterCallback, TestObjectV8Intern
al::typeCheckingInterfaceTestInterfaceAttributeAttributeSetterCallback, 0, 0, 0,
static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>
(v8::None), 0 /* on instance */}, | 8410 {"typeCheckingInterfaceTestInterfaceAttribute", TestObjectV8Internal::typeCh
eckingInterfaceTestInterfaceAttributeAttributeGetterCallback, TestObjectV8Intern
al::typeCheckingInterfaceTestInterfaceAttributeAttributeSetterCallback, 0, 0, 0,
static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>
(v8::None), 0 /* on instance */}, |
8340 {"typeCheckingNullableTestInterfaceOrNullAttribute", TestObjectV8Internal::t
ypeCheckingNullableTestInterfaceOrNullAttributeAttributeGetterCallback, TestObje
ctV8Internal::typeCheckingNullableTestInterfaceOrNullAttributeAttributeSetterCal
lback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Pro
pertyAttribute>(v8::None), 0 /* on instance */}, | 8411 {"typeCheckingNullableTestInterfaceOrNullAttribute", TestObjectV8Internal::t
ypeCheckingNullableTestInterfaceOrNullAttributeAttributeGetterCallback, TestObje
ctV8Internal::typeCheckingNullableTestInterfaceOrNullAttributeAttributeSetterCal
lback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Pro
pertyAttribute>(v8::None), 0 /* on instance */}, |
8341 {"typeCheckingInterfaceNullableTestInterfaceOrNullAttribute", TestObjectV8In
ternal::typeCheckingInterfaceNullableTestInterfaceOrNullAttributeAttributeGetter
Callback, TestObjectV8Internal::typeCheckingInterfaceNullableTestInterfaceOrNull
AttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DE
FAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 8412 {"typeCheckingInterfaceNullableTestInterfaceOrNullAttribute", TestObjectV8In
ternal::typeCheckingInterfaceNullableTestInterfaceOrNullAttributeAttributeGetter
Callback, TestObjectV8Internal::typeCheckingInterfaceNullableTestInterfaceOrNull
AttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DE
FAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
8342 {"urlStringAttribute", TestObjectV8Internal::urlStringAttributeAttributeGett
erCallback, TestObjectV8Internal::urlStringAttributeAttributeSetterCallback, 0,
0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttri
bute>(v8::None), 0 /* on instance */}, | 8413 {"urlStringAttribute", TestObjectV8Internal::urlStringAttributeAttributeGett
erCallback, TestObjectV8Internal::urlStringAttributeAttributeSetterCallback, 0,
0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttri
bute>(v8::None), 0 /* on instance */}, |
8343 {"urlStringAttribute", TestObjectV8Internal::urlStringAttributeAttributeGett
erCallback, TestObjectV8Internal::urlStringAttributeAttributeSetterCallback, 0,
0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttri
bute>(v8::None), 0 /* on instance */}, | 8414 {"urlStringAttribute", TestObjectV8Internal::urlStringAttributeAttributeGett
erCallback, TestObjectV8Internal::urlStringAttributeAttributeSetterCallback, 0,
0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttri
bute>(v8::None), 0 /* on instance */}, |
8344 {"unforgeableLongAttribute", TestObjectV8Internal::unforgeableLongAttributeA
ttributeGetterCallback, TestObjectV8Internal::unforgeableLongAttributeAttributeS
etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::PROHIBITS_OVERWRITING
), static_cast<v8::PropertyAttribute>(v8::DontDelete), 0 /* on instance */}, | 8415 {"unforgeableLongAttribute", TestObjectV8Internal::unforgeableLongAttributeA
ttributeGetterCallback, TestObjectV8Internal::unforgeableLongAttributeAttributeS
etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::PROHIBITS_OVERWRITING
), static_cast<v8::PropertyAttribute>(v8::DontDelete), 0 /* on instance */}, |
| 8416 {"activityLoggingSetterOnlyLogPreviousValueAttribute", TestObjectV8Internal:
:activityLoggingSetterOnlyLogPreviousValueAttributeAttributeGetterCallback, Test
ObjectV8Internal::activityLoggingSetterOnlyLogPreviousValueAttributeAttributeSet
terCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v
8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
| 8417 {"activityLoggingLogPreviousValueInterfaceAttribute", TestObjectV8Internal::
activityLoggingLogPreviousValueInterfaceAttributeAttributeGetterCallback, TestOb
jectV8Internal::activityLoggingLogPreviousValueInterfaceAttributeAttributeSetter
Callback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::
PropertyAttribute>(v8::None), 0 /* on instance */}, |
8345 {"testInterfaceAttribute", TestObjectV8Internal::testInterfaceAttributeAttri
buteGetterCallback, TestObjectV8Internal::testInterfaceAttributeAttributeSetterC
allback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::P
ropertyAttribute>(v8::None), 0 /* on instance */}, | 8418 {"testInterfaceAttribute", TestObjectV8Internal::testInterfaceAttributeAttri
buteGetterCallback, TestObjectV8Internal::testInterfaceAttributeAttributeSetterC
allback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::P
ropertyAttribute>(v8::None), 0 /* on instance */}, |
8346 {"testInterfaceGarbageCollectedAttribute", TestObjectV8Internal::testInterfa
ceGarbageCollectedAttributeAttributeGetterCallback, TestObjectV8Internal::testIn
terfaceGarbageCollectedAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8
::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /
* on instance */}, | 8419 {"testInterfaceGarbageCollectedAttribute", TestObjectV8Internal::testInterfa
ceGarbageCollectedAttributeAttributeGetterCallback, TestObjectV8Internal::testIn
terfaceGarbageCollectedAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8
::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /
* on instance */}, |
8347 {"testInterfaceGarbageCollectedOrNullAttribute", TestObjectV8Internal::testI
nterfaceGarbageCollectedOrNullAttributeAttributeGetterCallback, TestObjectV8Inte
rnal::testInterfaceGarbageCollectedOrNullAttributeAttributeSetterCallback, 0, 0,
0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu
te>(v8::None), 0 /* on instance */}, | 8420 {"testInterfaceGarbageCollectedOrNullAttribute", TestObjectV8Internal::testI
nterfaceGarbageCollectedOrNullAttributeAttributeGetterCallback, TestObjectV8Inte
rnal::testInterfaceGarbageCollectedOrNullAttributeAttributeSetterCallback, 0, 0,
0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu
te>(v8::None), 0 /* on instance */}, |
8348 {"testInterfaceWillBeGarbageCollectedAttribute", TestObjectV8Internal::testI
nterfaceWillBeGarbageCollectedAttributeAttributeGetterCallback, TestObjectV8Inte
rnal::testInterfaceWillBeGarbageCollectedAttributeAttributeSetterCallback, 0, 0,
0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu
te>(v8::None), 0 /* on instance */}, | 8421 {"testInterfaceWillBeGarbageCollectedAttribute", TestObjectV8Internal::testI
nterfaceWillBeGarbageCollectedAttributeAttributeGetterCallback, TestObjectV8Inte
rnal::testInterfaceWillBeGarbageCollectedAttributeAttributeSetterCallback, 0, 0,
0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu
te>(v8::None), 0 /* on instance */}, |
8349 {"testInterfaceWillBeGarbageCollectedOrNullAttribute", TestObjectV8Internal:
:testInterfaceWillBeGarbageCollectedOrNullAttributeAttributeGetterCallback, Test
ObjectV8Internal::testInterfaceWillBeGarbageCollectedOrNullAttributeAttributeSet
terCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v
8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 8422 {"testInterfaceWillBeGarbageCollectedOrNullAttribute", TestObjectV8Internal:
:testInterfaceWillBeGarbageCollectedOrNullAttributeAttributeGetterCallback, Test
ObjectV8Internal::testInterfaceWillBeGarbageCollectedOrNullAttributeAttributeSet
terCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v
8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
8350 }; | 8423 }; |
8351 | 8424 |
8352 static const V8DOMConfiguration::AccessorConfiguration V8TestObjectAccessors[] =
{ | 8425 static const V8DOMConfiguration::AccessorConfiguration V8TestObjectAccessors[] =
{ |
8353 {"exposeJSAccessorsLongAttribute", TestObjectV8Internal::exposeJSAccessorsLo
ngAttributeAttributeGetterCallback, TestObjectV8Internal::exposeJSAccessorsLongA
ttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEF
AULT), static_cast<v8::PropertyAttribute>(v8::None)}, | 8426 {"exposeJSAccessorsLongAttribute", TestObjectV8Internal::exposeJSAccessorsLo
ngAttributeAttributeGetterCallback, TestObjectV8Internal::exposeJSAccessorsLongA
ttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEF
AULT), static_cast<v8::PropertyAttribute>(v8::None)}, |
8354 }; | 8427 }; |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8704 fromInternalPointer(object)->deref(); | 8777 fromInternalPointer(object)->deref(); |
8705 } | 8778 } |
8706 | 8779 |
8707 template<> | 8780 template<> |
8708 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea
tionContext, v8::Isolate* isolate) | 8781 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea
tionContext, v8::Isolate* isolate) |
8709 { | 8782 { |
8710 return toV8(impl, creationContext, isolate); | 8783 return toV8(impl, creationContext, isolate); |
8711 } | 8784 } |
8712 | 8785 |
8713 } // namespace WebCore | 8786 } // namespace WebCore |
OLD | NEW |