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 "V8TestObjectPython.h" | 8 #include "V8TestObjectPython.h" |
9 | 9 |
10 #include "HTMLNames.h" | 10 #include "HTMLNames.h" |
(...skipping 1466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1477 { | 1477 { |
1478 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); | 1478 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); |
1479 v8SetReturnValueInt(info, impl->activityLoggingAccessForAllWorldsLongAttribu
te()); | 1479 v8SetReturnValueInt(info, impl->activityLoggingAccessForAllWorldsLongAttribu
te()); |
1480 } | 1480 } |
1481 | 1481 |
1482 static void activityLoggingAccessForAllWorldsLongAttributeAttributeGetterCallbac
k(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) | 1482 static void activityLoggingAccessForAllWorldsLongAttributeAttributeGetterCallbac
k(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
1483 { | 1483 { |
1484 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 1484 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
1485 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 1485 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
1486 if (contextData && contextData->activityLogger()) | 1486 if (contextData && contextData->activityLogger()) |
1487 contextData->activityLogger()->log("TestObjectPython.activityLoggingAcce
ssForAllWorldsLongAttribute", 0, 0, "Getter"); | 1487 contextData->activityLogger()->logGetter("TestObjectPython.activityLoggi
ngAccessForAllWorldsLongAttribute"); |
1488 TestObjectPythonV8Internal::activityLoggingAccessForAllWorldsLongAttributeAt
tributeGetter(info); | 1488 TestObjectPythonV8Internal::activityLoggingAccessForAllWorldsLongAttributeAt
tributeGetter(info); |
1489 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 1489 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
1490 } | 1490 } |
1491 | 1491 |
1492 static void activityLoggingAccessForAllWorldsLongAttributeAttributeSetter(v8::Lo
cal<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 1492 static void activityLoggingAccessForAllWorldsLongAttributeAttributeSetter(v8::Lo
cal<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
1493 { | 1493 { |
1494 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gAccessForAllWorldsLongAttribute", "TestObjectPython", info.Holder(), info.GetIs
olate()); | 1494 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gAccessForAllWorldsLongAttribute", "TestObjectPython", info.Holder(), info.GetIs
olate()); |
1495 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); | 1495 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); |
1496 V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(jsValue, exceptionState), e
xceptionState); | 1496 V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(jsValue, exceptionState), e
xceptionState); |
1497 impl->setActivityLoggingAccessForAllWorldsLongAttribute(cppValue); | 1497 impl->setActivityLoggingAccessForAllWorldsLongAttribute(cppValue); |
1498 } | 1498 } |
1499 | 1499 |
1500 static void activityLoggingAccessForAllWorldsLongAttributeAttributeSetterCallbac
k(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbac
kInfo<void>& info) | 1500 static void activityLoggingAccessForAllWorldsLongAttributeAttributeSetterCallbac
k(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbac
kInfo<void>& info) |
1501 { | 1501 { |
1502 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 1502 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
1503 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 1503 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
1504 if (contextData && contextData->activityLogger()) { | 1504 if (contextData && contextData->activityLogger()) { |
1505 v8::Handle<v8::Value> loggerArg[] = { jsValue }; | 1505 v8::Handle<v8::Value> HACK; |
1506 contextData->activityLogger()->log("TestObjectPython.activityLoggingAcce
ssForAllWorldsLongAttribute", 1, &loggerArg[0], "Setter"); | 1506 contextData->activityLogger()->logSetter("TestObjectPython.activityLoggi
ngAccessForAllWorldsLongAttribute", jsValue, HACK); |
1507 } | 1507 } |
1508 TestObjectPythonV8Internal::activityLoggingAccessForAllWorldsLongAttributeAt
tributeSetter(jsValue, info); | 1508 TestObjectPythonV8Internal::activityLoggingAccessForAllWorldsLongAttributeAt
tributeSetter(jsValue, info); |
1509 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 1509 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
1510 } | 1510 } |
1511 | 1511 |
1512 static void activityLoggingGetterForAllWorldsLongAttributeAttributeGetter(const
v8::PropertyCallbackInfo<v8::Value>& info) | 1512 static void activityLoggingGetterForAllWorldsLongAttributeAttributeGetter(const
v8::PropertyCallbackInfo<v8::Value>& info) |
1513 { | 1513 { |
1514 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); | 1514 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); |
1515 v8SetReturnValueInt(info, impl->activityLoggingGetterForAllWorldsLongAttribu
te()); | 1515 v8SetReturnValueInt(info, impl->activityLoggingGetterForAllWorldsLongAttribu
te()); |
1516 } | 1516 } |
1517 | 1517 |
1518 static void activityLoggingGetterForAllWorldsLongAttributeAttributeGetterCallbac
k(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) | 1518 static void activityLoggingGetterForAllWorldsLongAttributeAttributeGetterCallbac
k(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
1519 { | 1519 { |
1520 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 1520 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
1521 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 1521 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
1522 if (contextData && contextData->activityLogger()) | 1522 if (contextData && contextData->activityLogger()) |
1523 contextData->activityLogger()->log("TestObjectPython.activityLoggingGett
erForAllWorldsLongAttribute", 0, 0, "Getter"); | 1523 contextData->activityLogger()->logGetter("TestObjectPython.activityLoggi
ngGetterForAllWorldsLongAttribute"); |
1524 TestObjectPythonV8Internal::activityLoggingGetterForAllWorldsLongAttributeAt
tributeGetter(info); | 1524 TestObjectPythonV8Internal::activityLoggingGetterForAllWorldsLongAttributeAt
tributeGetter(info); |
1525 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 1525 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
1526 } | 1526 } |
1527 | 1527 |
1528 static void activityLoggingGetterForAllWorldsLongAttributeAttributeSetter(v8::Lo
cal<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 1528 static void activityLoggingGetterForAllWorldsLongAttributeAttributeSetter(v8::Lo
cal<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
1529 { | 1529 { |
1530 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gGetterForAllWorldsLongAttribute", "TestObjectPython", info.Holder(), info.GetIs
olate()); | 1530 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gGetterForAllWorldsLongAttribute", "TestObjectPython", info.Holder(), info.GetIs
olate()); |
1531 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); | 1531 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); |
1532 V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(jsValue, exceptionState), e
xceptionState); | 1532 V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(jsValue, exceptionState), e
xceptionState); |
1533 impl->setActivityLoggingGetterForAllWorldsLongAttribute(cppValue); | 1533 impl->setActivityLoggingGetterForAllWorldsLongAttribute(cppValue); |
(...skipping 25 matching lines...) Expand all Loading... |
1559 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); | 1559 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); |
1560 V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(jsValue, exceptionState), e
xceptionState); | 1560 V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(jsValue, exceptionState), e
xceptionState); |
1561 impl->setActivityLoggingSetterForAllWorldsLongAttribute(cppValue); | 1561 impl->setActivityLoggingSetterForAllWorldsLongAttribute(cppValue); |
1562 } | 1562 } |
1563 | 1563 |
1564 static void activityLoggingSetterForAllWorldsLongAttributeAttributeSetterCallbac
k(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbac
kInfo<void>& info) | 1564 static void activityLoggingSetterForAllWorldsLongAttributeAttributeSetterCallbac
k(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbac
kInfo<void>& info) |
1565 { | 1565 { |
1566 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 1566 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
1567 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 1567 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
1568 if (contextData && contextData->activityLogger()) { | 1568 if (contextData && contextData->activityLogger()) { |
1569 v8::Handle<v8::Value> loggerArg[] = { jsValue }; | 1569 v8::Handle<v8::Value> HACK; |
1570 contextData->activityLogger()->log("TestObjectPython.activityLoggingSett
erForAllWorldsLongAttribute", 1, &loggerArg[0], "Setter"); | 1570 contextData->activityLogger()->logSetter("TestObjectPython.activityLoggi
ngSetterForAllWorldsLongAttribute", jsValue, HACK); |
1571 } | 1571 } |
1572 TestObjectPythonV8Internal::activityLoggingSetterForAllWorldsLongAttributeAt
tributeSetter(jsValue, info); | 1572 TestObjectPythonV8Internal::activityLoggingSetterForAllWorldsLongAttributeAt
tributeSetter(jsValue, info); |
1573 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 1573 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
1574 } | 1574 } |
1575 | 1575 |
1576 static void cachedAttributeAnyAttributeAttributeGetter(const v8::PropertyCallbac
kInfo<v8::Value>& info) | 1576 static void cachedAttributeAnyAttributeAttributeGetter(const v8::PropertyCallbac
kInfo<v8::Value>& info) |
1577 { | 1577 { |
1578 v8::Handle<v8::String> propertyName = v8AtomicString(info.GetIsolate(), "cac
hedAttributeAnyAttribute"); | 1578 v8::Handle<v8::String> propertyName = v8AtomicString(info.GetIsolate(), "cac
hedAttributeAnyAttribute"); |
1579 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); | 1579 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); |
1580 if (!impl->isValueDirty()) { | 1580 if (!impl->isValueDirty()) { |
(...skipping 663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2244 { | 2244 { |
2245 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); | 2245 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); |
2246 v8SetReturnValueInt(info, impl->activityLoggingAccessPerWorldBindingsLongAtt
ribute()); | 2246 v8SetReturnValueInt(info, impl->activityLoggingAccessPerWorldBindingsLongAtt
ribute()); |
2247 } | 2247 } |
2248 | 2248 |
2249 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterCal
lback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) | 2249 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterCal
lback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
2250 { | 2250 { |
2251 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 2251 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
2252 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 2252 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
2253 if (contextData && contextData->activityLogger()) | 2253 if (contextData && contextData->activityLogger()) |
2254 contextData->activityLogger()->log("TestObjectPython.activityLoggingAcce
ssPerWorldBindingsLongAttribute", 0, 0, "Getter"); | 2254 contextData->activityLogger()->logGetter("TestObjectPython.activityLoggi
ngAccessPerWorldBindingsLongAttribute"); |
2255 TestObjectPythonV8Internal::activityLoggingAccessPerWorldBindingsLongAttribu
teAttributeGetter(info); | 2255 TestObjectPythonV8Internal::activityLoggingAccessPerWorldBindingsLongAttribu
teAttributeGetter(info); |
2256 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 2256 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
2257 } | 2257 } |
2258 | 2258 |
2259 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetter(v8
::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 2259 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetter(v8
::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
2260 { | 2260 { |
2261 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gAccessPerWorldBindingsLongAttribute", "TestObjectPython", info.Holder(), info.G
etIsolate()); | 2261 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gAccessPerWorldBindingsLongAttribute", "TestObjectPython", info.Holder(), info.G
etIsolate()); |
2262 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); | 2262 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); |
2263 V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(jsValue, exceptionState), e
xceptionState); | 2263 V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(jsValue, exceptionState), e
xceptionState); |
2264 impl->setActivityLoggingAccessPerWorldBindingsLongAttribute(cppValue); | 2264 impl->setActivityLoggingAccessPerWorldBindingsLongAttribute(cppValue); |
2265 } | 2265 } |
2266 | 2266 |
2267 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetterCal
lback(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCal
lbackInfo<void>& info) | 2267 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetterCal
lback(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCal
lbackInfo<void>& info) |
2268 { | 2268 { |
2269 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 2269 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
2270 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 2270 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
2271 if (contextData && contextData->activityLogger()) { | 2271 if (contextData && contextData->activityLogger()) { |
2272 v8::Handle<v8::Value> loggerArg[] = { jsValue }; | 2272 v8::Handle<v8::Value> HACK; |
2273 contextData->activityLogger()->log("TestObjectPython.activityLoggingAcce
ssPerWorldBindingsLongAttribute", 1, &loggerArg[0], "Setter"); | 2273 contextData->activityLogger()->logSetter("TestObjectPython.activityLoggi
ngAccessPerWorldBindingsLongAttribute", jsValue, HACK); |
2274 } | 2274 } |
2275 TestObjectPythonV8Internal::activityLoggingAccessPerWorldBindingsLongAttribu
teAttributeSetter(jsValue, info); | 2275 TestObjectPythonV8Internal::activityLoggingAccessPerWorldBindingsLongAttribu
teAttributeSetter(jsValue, info); |
2276 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 2276 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
2277 } | 2277 } |
2278 | 2278 |
2279 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterFor
MainWorld(const v8::PropertyCallbackInfo<v8::Value>& info) | 2279 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterFor
MainWorld(const v8::PropertyCallbackInfo<v8::Value>& info) |
2280 { | 2280 { |
2281 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); | 2281 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); |
2282 v8SetReturnValueInt(info, impl->activityLoggingAccessPerWorldBindingsLongAtt
ribute()); | 2282 v8SetReturnValueInt(info, impl->activityLoggingAccessPerWorldBindingsLongAtt
ribute()); |
2283 } | 2283 } |
2284 | 2284 |
2285 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterCal
lbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Valu
e>& info) | 2285 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterCal
lbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Valu
e>& info) |
2286 { | 2286 { |
2287 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 2287 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
2288 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 2288 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
2289 if (contextData && contextData->activityLogger()) | 2289 if (contextData && contextData->activityLogger()) |
2290 contextData->activityLogger()->log("TestObjectPython.activityLoggingAcce
ssPerWorldBindingsLongAttribute", 0, 0, "Getter"); | 2290 contextData->activityLogger()->logGetter("TestObjectPython.activityLoggi
ngAccessPerWorldBindingsLongAttribute"); |
2291 TestObjectPythonV8Internal::activityLoggingAccessPerWorldBindingsLongAttribu
teAttributeGetterForMainWorld(info); | 2291 TestObjectPythonV8Internal::activityLoggingAccessPerWorldBindingsLongAttribu
teAttributeGetterForMainWorld(info); |
2292 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 2292 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
2293 } | 2293 } |
2294 | 2294 |
2295 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetterFor
MainWorld(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& in
fo) | 2295 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetterFor
MainWorld(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& in
fo) |
2296 { | 2296 { |
2297 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gAccessPerWorldBindingsLongAttribute", "TestObjectPython", info.Holder(), info.G
etIsolate()); | 2297 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gAccessPerWorldBindingsLongAttribute", "TestObjectPython", info.Holder(), info.G
etIsolate()); |
2298 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); | 2298 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); |
2299 V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(jsValue, exceptionState), e
xceptionState); | 2299 V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(jsValue, exceptionState), e
xceptionState); |
2300 impl->setActivityLoggingAccessPerWorldBindingsLongAttribute(cppValue); | 2300 impl->setActivityLoggingAccessPerWorldBindingsLongAttribute(cppValue); |
2301 } | 2301 } |
2302 | 2302 |
2303 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetterCal
lbackForMainWorld(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8:
:PropertyCallbackInfo<void>& info) | 2303 static void activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetterCal
lbackForMainWorld(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8:
:PropertyCallbackInfo<void>& info) |
2304 { | 2304 { |
2305 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 2305 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
2306 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 2306 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
2307 if (contextData && contextData->activityLogger()) { | 2307 if (contextData && contextData->activityLogger()) { |
2308 v8::Handle<v8::Value> loggerArg[] = { jsValue }; | 2308 v8::Handle<v8::Value> HACK; |
2309 contextData->activityLogger()->log("TestObjectPython.activityLoggingAcce
ssPerWorldBindingsLongAttribute", 1, &loggerArg[0], "Setter"); | 2309 contextData->activityLogger()->logSetter("TestObjectPython.activityLoggi
ngAccessPerWorldBindingsLongAttribute", jsValue, HACK); |
2310 } | 2310 } |
2311 TestObjectPythonV8Internal::activityLoggingAccessPerWorldBindingsLongAttribu
teAttributeSetterForMainWorld(jsValue, info); | 2311 TestObjectPythonV8Internal::activityLoggingAccessPerWorldBindingsLongAttribu
teAttributeSetterForMainWorld(jsValue, info); |
2312 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 2312 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
2313 } | 2313 } |
2314 | 2314 |
2315 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) | 2315 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) |
2316 { | 2316 { |
2317 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); | 2317 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); |
2318 v8SetReturnValueInt(info, impl->activityLoggingAccessForIsolatedWorldsPerWor
ldBindingsLongAttribute()); | 2318 v8SetReturnValueInt(info, impl->activityLoggingAccessForIsolatedWorldsPerWor
ldBindingsLongAttribute()); |
2319 } | 2319 } |
2320 | 2320 |
2321 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8:
:Value>& info) | 2321 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8:
:Value>& info) |
2322 { | 2322 { |
2323 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 2323 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
2324 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 2324 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
2325 if (contextData && contextData->activityLogger()) | 2325 if (contextData && contextData->activityLogger()) |
2326 contextData->activityLogger()->log("TestObjectPython.activityLoggingAcce
ssForIsolatedWorldsPerWorldBindingsLongAttribute", 0, 0, "Getter"); | 2326 contextData->activityLogger()->logGetter("TestObjectPython.activityLoggi
ngAccessForIsolatedWorldsPerWorldBindingsLongAttribute"); |
2327 TestObjectPythonV8Internal::activityLoggingAccessForIsolatedWorldsPerWorldBi
ndingsLongAttributeAttributeGetter(info); | 2327 TestObjectPythonV8Internal::activityLoggingAccessForIsolatedWorldsPerWorldBi
ndingsLongAttributeAttributeGetter(info); |
2328 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 2328 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
2329 } | 2329 } |
2330 | 2330 |
2331 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void
>& info) | 2331 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void
>& info) |
2332 { | 2332 { |
2333 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gAccessForIsolatedWorldsPerWorldBindingsLongAttribute", "TestObjectPython", info
.Holder(), info.GetIsolate()); | 2333 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gAccessForIsolatedWorldsPerWorldBindingsLongAttribute", "TestObjectPython", info
.Holder(), info.GetIsolate()); |
2334 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); | 2334 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); |
2335 V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(jsValue, exceptionState), e
xceptionState); | 2335 V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(jsValue, exceptionState), e
xceptionState); |
2336 impl->setActivityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute
(cppValue); | 2336 impl->setActivityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute
(cppValue); |
2337 } | 2337 } |
2338 | 2338 |
2339 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, cons
t v8::PropertyCallbackInfo<void>& info) | 2339 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, cons
t v8::PropertyCallbackInfo<void>& info) |
2340 { | 2340 { |
2341 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 2341 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
2342 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 2342 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
2343 if (contextData && contextData->activityLogger()) { | 2343 if (contextData && contextData->activityLogger()) { |
2344 v8::Handle<v8::Value> loggerArg[] = { jsValue }; | 2344 v8::Handle<v8::Value> HACK; |
2345 contextData->activityLogger()->log("TestObjectPython.activityLoggingAcce
ssForIsolatedWorldsPerWorldBindingsLongAttribute", 1, &loggerArg[0], "Setter"); | 2345 contextData->activityLogger()->logSetter("TestObjectPython.activityLoggi
ngAccessForIsolatedWorldsPerWorldBindingsLongAttribute", jsValue, HACK); |
2346 } | 2346 } |
2347 TestObjectPythonV8Internal::activityLoggingAccessForIsolatedWorldsPerWorldBi
ndingsLongAttributeAttributeSetter(jsValue, info); | 2347 TestObjectPythonV8Internal::activityLoggingAccessForIsolatedWorldsPerWorldBi
ndingsLongAttributeAttributeSetter(jsValue, info); |
2348 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 2348 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
2349 } | 2349 } |
2350 | 2350 |
2351 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info) | 2351 static void activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info) |
2352 { | 2352 { |
2353 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); | 2353 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); |
2354 v8SetReturnValueInt(info, impl->activityLoggingAccessForIsolatedWorldsPerWor
ldBindingsLongAttribute()); | 2354 v8SetReturnValueInt(info, impl->activityLoggingAccessForIsolatedWorldsPerWor
ldBindingsLongAttribute()); |
2355 } | 2355 } |
(...skipping 24 matching lines...) Expand all Loading... |
2380 { | 2380 { |
2381 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); | 2381 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); |
2382 v8SetReturnValueInt(info, impl->activityLoggingGetterPerWorldBindingsLongAtt
ribute()); | 2382 v8SetReturnValueInt(info, impl->activityLoggingGetterPerWorldBindingsLongAtt
ribute()); |
2383 } | 2383 } |
2384 | 2384 |
2385 static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeGetterCal
lback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) | 2385 static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeGetterCal
lback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
2386 { | 2386 { |
2387 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 2387 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
2388 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 2388 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
2389 if (contextData && contextData->activityLogger()) | 2389 if (contextData && contextData->activityLogger()) |
2390 contextData->activityLogger()->log("TestObjectPython.activityLoggingGett
erPerWorldBindingsLongAttribute", 0, 0, "Getter"); | 2390 contextData->activityLogger()->logGetter("TestObjectPython.activityLoggi
ngGetterPerWorldBindingsLongAttribute"); |
2391 TestObjectPythonV8Internal::activityLoggingGetterPerWorldBindingsLongAttribu
teAttributeGetter(info); | 2391 TestObjectPythonV8Internal::activityLoggingGetterPerWorldBindingsLongAttribu
teAttributeGetter(info); |
2392 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 2392 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
2393 } | 2393 } |
2394 | 2394 |
2395 static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeSetter(v8
::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 2395 static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeSetter(v8
::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
2396 { | 2396 { |
2397 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gGetterPerWorldBindingsLongAttribute", "TestObjectPython", info.Holder(), info.G
etIsolate()); | 2397 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gGetterPerWorldBindingsLongAttribute", "TestObjectPython", info.Holder(), info.G
etIsolate()); |
2398 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); | 2398 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); |
2399 V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(jsValue, exceptionState), e
xceptionState); | 2399 V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(jsValue, exceptionState), e
xceptionState); |
2400 impl->setActivityLoggingGetterPerWorldBindingsLongAttribute(cppValue); | 2400 impl->setActivityLoggingGetterPerWorldBindingsLongAttribute(cppValue); |
(...skipping 10 matching lines...) Expand all Loading... |
2411 { | 2411 { |
2412 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); | 2412 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); |
2413 v8SetReturnValueInt(info, impl->activityLoggingGetterPerWorldBindingsLongAtt
ribute()); | 2413 v8SetReturnValueInt(info, impl->activityLoggingGetterPerWorldBindingsLongAtt
ribute()); |
2414 } | 2414 } |
2415 | 2415 |
2416 static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeGetterCal
lbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Valu
e>& info) | 2416 static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeGetterCal
lbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Valu
e>& info) |
2417 { | 2417 { |
2418 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 2418 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
2419 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 2419 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
2420 if (contextData && contextData->activityLogger()) | 2420 if (contextData && contextData->activityLogger()) |
2421 contextData->activityLogger()->log("TestObjectPython.activityLoggingGett
erPerWorldBindingsLongAttribute", 0, 0, "Getter"); | 2421 contextData->activityLogger()->logGetter("TestObjectPython.activityLoggi
ngGetterPerWorldBindingsLongAttribute"); |
2422 TestObjectPythonV8Internal::activityLoggingGetterPerWorldBindingsLongAttribu
teAttributeGetterForMainWorld(info); | 2422 TestObjectPythonV8Internal::activityLoggingGetterPerWorldBindingsLongAttribu
teAttributeGetterForMainWorld(info); |
2423 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 2423 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
2424 } | 2424 } |
2425 | 2425 |
2426 static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeSetterFor
MainWorld(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& in
fo) | 2426 static void activityLoggingGetterPerWorldBindingsLongAttributeAttributeSetterFor
MainWorld(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& in
fo) |
2427 { | 2427 { |
2428 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gGetterPerWorldBindingsLongAttribute", "TestObjectPython", info.Holder(), info.G
etIsolate()); | 2428 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gGetterPerWorldBindingsLongAttribute", "TestObjectPython", info.Holder(), info.G
etIsolate()); |
2429 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); | 2429 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); |
2430 V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(jsValue, exceptionState), e
xceptionState); | 2430 V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(jsValue, exceptionState), e
xceptionState); |
2431 impl->setActivityLoggingGetterPerWorldBindingsLongAttribute(cppValue); | 2431 impl->setActivityLoggingGetterPerWorldBindingsLongAttribute(cppValue); |
(...skipping 10 matching lines...) Expand all Loading... |
2442 { | 2442 { |
2443 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); | 2443 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); |
2444 v8SetReturnValueInt(info, impl->activityLoggingGetterForIsolatedWorldsPerWor
ldBindingsLongAttribute()); | 2444 v8SetReturnValueInt(info, impl->activityLoggingGetterForIsolatedWorldsPerWor
ldBindingsLongAttribute()); |
2445 } | 2445 } |
2446 | 2446 |
2447 static void activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8:
:Value>& info) | 2447 static void activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8:
:Value>& info) |
2448 { | 2448 { |
2449 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 2449 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
2450 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 2450 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
2451 if (contextData && contextData->activityLogger()) | 2451 if (contextData && contextData->activityLogger()) |
2452 contextData->activityLogger()->log("TestObjectPython.activityLoggingGett
erForIsolatedWorldsPerWorldBindingsLongAttribute", 0, 0, "Getter"); | 2452 contextData->activityLogger()->logGetter("TestObjectPython.activityLoggi
ngGetterForIsolatedWorldsPerWorldBindingsLongAttribute"); |
2453 TestObjectPythonV8Internal::activityLoggingGetterForIsolatedWorldsPerWorldBi
ndingsLongAttributeAttributeGetter(info); | 2453 TestObjectPythonV8Internal::activityLoggingGetterForIsolatedWorldsPerWorldBi
ndingsLongAttributeAttributeGetter(info); |
2454 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 2454 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
2455 } | 2455 } |
2456 | 2456 |
2457 static void activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void
>& info) | 2457 static void activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeA
ttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void
>& info) |
2458 { | 2458 { |
2459 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gGetterForIsolatedWorldsPerWorldBindingsLongAttribute", "TestObjectPython", info
.Holder(), info.GetIsolate()); | 2459 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin
gGetterForIsolatedWorldsPerWorldBindingsLongAttribute", "TestObjectPython", info
.Holder(), info.GetIsolate()); |
2460 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); | 2460 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); |
2461 V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(jsValue, exceptionState), e
xceptionState); | 2461 V8TRYCATCH_EXCEPTION_VOID(int, cppValue, toInt32(jsValue, exceptionState), e
xceptionState); |
2462 impl->setActivityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttribute
(cppValue); | 2462 impl->setActivityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttribute
(cppValue); |
(...skipping 4041 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6504 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); | 6504 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); |
6505 impl->activityLoggingAccessForAllWorldsMethod(); | 6505 impl->activityLoggingAccessForAllWorldsMethod(); |
6506 } | 6506 } |
6507 | 6507 |
6508 static void activityLoggingAccessForAllWorldsMethodMethodCallback(const v8::Func
tionCallbackInfo<v8::Value>& info) | 6508 static void activityLoggingAccessForAllWorldsMethodMethodCallback(const v8::Func
tionCallbackInfo<v8::Value>& info) |
6509 { | 6509 { |
6510 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 6510 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
6511 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 6511 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
6512 if (contextData && contextData->activityLogger()) { | 6512 if (contextData && contextData->activityLogger()) { |
6513 Vector<v8::Handle<v8::Value> > loggerArgs = toNativeArguments<v8::Handle
<v8::Value> >(info, 0); | 6513 Vector<v8::Handle<v8::Value> > loggerArgs = toNativeArguments<v8::Handle
<v8::Value> >(info, 0); |
6514 contextData->activityLogger()->log("TestObjectPython.activityLoggingAcce
ssForAllWorldsMethod", info.Length(), loggerArgs.data(), "Method"); | 6514 contextData->activityLogger()->logMethod("TestObjectPython.activityLoggi
ngAccessForAllWorldsMethod", info.Length(), loggerArgs.data()); |
6515 } | 6515 } |
6516 TestObjectPythonV8Internal::activityLoggingAccessForAllWorldsMethodMethod(in
fo); | 6516 TestObjectPythonV8Internal::activityLoggingAccessForAllWorldsMethodMethod(in
fo); |
6517 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 6517 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
6518 } | 6518 } |
6519 | 6519 |
6520 static void callWithScriptStateVoidMethodMethod(const v8::FunctionCallbackInfo<v
8::Value>& info) | 6520 static void callWithScriptStateVoidMethodMethod(const v8::FunctionCallbackInfo<v
8::Value>& info) |
6521 { | 6521 { |
6522 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); | 6522 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); |
6523 ScriptState* currentState = ScriptState::current(); | 6523 ScriptState* currentState = ScriptState::current(); |
6524 if (!currentState) | 6524 if (!currentState) |
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6937 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); | 6937 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); |
6938 impl->activityLoggingForAllWorldsPerWorldBindingsVoidMethod(); | 6938 impl->activityLoggingForAllWorldsPerWorldBindingsVoidMethod(); |
6939 } | 6939 } |
6940 | 6940 |
6941 static void activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallback(
const v8::FunctionCallbackInfo<v8::Value>& info) | 6941 static void activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallback(
const v8::FunctionCallbackInfo<v8::Value>& info) |
6942 { | 6942 { |
6943 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 6943 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
6944 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 6944 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
6945 if (contextData && contextData->activityLogger()) { | 6945 if (contextData && contextData->activityLogger()) { |
6946 Vector<v8::Handle<v8::Value> > loggerArgs = toNativeArguments<v8::Handle
<v8::Value> >(info, 0); | 6946 Vector<v8::Handle<v8::Value> > loggerArgs = toNativeArguments<v8::Handle
<v8::Value> >(info, 0); |
6947 contextData->activityLogger()->log("TestObjectPython.activityLoggingForA
llWorldsPerWorldBindingsVoidMethod", info.Length(), loggerArgs.data(), "Method")
; | 6947 contextData->activityLogger()->logMethod("TestObjectPython.activityLoggi
ngForAllWorldsPerWorldBindingsVoidMethod", info.Length(), loggerArgs.data()); |
6948 } | 6948 } |
6949 TestObjectPythonV8Internal::activityLoggingForAllWorldsPerWorldBindingsVoidM
ethodMethod(info); | 6949 TestObjectPythonV8Internal::activityLoggingForAllWorldsPerWorldBindingsVoidM
ethodMethod(info); |
6950 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 6950 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
6951 } | 6951 } |
6952 | 6952 |
6953 static void activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodForMainWo
rld(const v8::FunctionCallbackInfo<v8::Value>& info) | 6953 static void activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodForMainWo
rld(const v8::FunctionCallbackInfo<v8::Value>& info) |
6954 { | 6954 { |
6955 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); | 6955 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); |
6956 impl->activityLoggingForAllWorldsPerWorldBindingsVoidMethod(); | 6956 impl->activityLoggingForAllWorldsPerWorldBindingsVoidMethod(); |
6957 } | 6957 } |
6958 | 6958 |
6959 static void activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallbackF
orMainWorld(const v8::FunctionCallbackInfo<v8::Value>& info) | 6959 static void activityLoggingForAllWorldsPerWorldBindingsVoidMethodMethodCallbackF
orMainWorld(const v8::FunctionCallbackInfo<v8::Value>& info) |
6960 { | 6960 { |
6961 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 6961 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
6962 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 6962 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
6963 if (contextData && contextData->activityLogger()) { | 6963 if (contextData && contextData->activityLogger()) { |
6964 Vector<v8::Handle<v8::Value> > loggerArgs = toNativeArguments<v8::Handle
<v8::Value> >(info, 0); | 6964 Vector<v8::Handle<v8::Value> > loggerArgs = toNativeArguments<v8::Handle
<v8::Value> >(info, 0); |
6965 contextData->activityLogger()->log("TestObjectPython.activityLoggingForA
llWorldsPerWorldBindingsVoidMethod", info.Length(), loggerArgs.data(), "Method")
; | 6965 contextData->activityLogger()->logMethod("TestObjectPython.activityLoggi
ngForAllWorldsPerWorldBindingsVoidMethod", info.Length(), loggerArgs.data()); |
6966 } | 6966 } |
6967 TestObjectPythonV8Internal::activityLoggingForAllWorldsPerWorldBindingsVoidM
ethodMethodForMainWorld(info); | 6967 TestObjectPythonV8Internal::activityLoggingForAllWorldsPerWorldBindingsVoidM
ethodMethodForMainWorld(info); |
6968 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 6968 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
6969 } | 6969 } |
6970 | 6970 |
6971 static void activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethod(con
st v8::FunctionCallbackInfo<v8::Value>& info) | 6971 static void activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethod(con
st v8::FunctionCallbackInfo<v8::Value>& info) |
6972 { | 6972 { |
6973 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); | 6973 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); |
6974 impl->activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethod(); | 6974 impl->activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethod(); |
6975 } | 6975 } |
6976 | 6976 |
6977 static void activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethodCall
back(const v8::FunctionCallbackInfo<v8::Value>& info) | 6977 static void activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethodCall
back(const v8::FunctionCallbackInfo<v8::Value>& info) |
6978 { | 6978 { |
6979 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 6979 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
6980 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); | 6980 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge
tCurrentContext()); |
6981 if (contextData && contextData->activityLogger()) { | 6981 if (contextData && contextData->activityLogger()) { |
6982 Vector<v8::Handle<v8::Value> > loggerArgs = toNativeArguments<v8::Handle
<v8::Value> >(info, 0); | 6982 Vector<v8::Handle<v8::Value> > loggerArgs = toNativeArguments<v8::Handle
<v8::Value> >(info, 0); |
6983 contextData->activityLogger()->log("TestObjectPython.activityLoggingForI
solatedWorldsPerWorldBindingsVoidMethod", info.Length(), loggerArgs.data(), "Met
hod"); | 6983 contextData->activityLogger()->logMethod("TestObjectPython.activityLoggi
ngForIsolatedWorldsPerWorldBindingsVoidMethod", info.Length(), loggerArgs.data()
); |
6984 } | 6984 } |
6985 TestObjectPythonV8Internal::activityLoggingForIsolatedWorldsPerWorldBindings
VoidMethodMethod(info); | 6985 TestObjectPythonV8Internal::activityLoggingForIsolatedWorldsPerWorldBindings
VoidMethodMethod(info); |
6986 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 6986 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
6987 } | 6987 } |
6988 | 6988 |
6989 static void activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethodForM
ainWorld(const v8::FunctionCallbackInfo<v8::Value>& info) | 6989 static void activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethodMethodForM
ainWorld(const v8::FunctionCallbackInfo<v8::Value>& info) |
6990 { | 6990 { |
6991 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); | 6991 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); |
6992 impl->activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethod(); | 6992 impl->activityLoggingForIsolatedWorldsPerWorldBindingsVoidMethod(); |
6993 } | 6993 } |
(...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7789 fromInternalPointer(object)->deref(); | 7789 fromInternalPointer(object)->deref(); |
7790 } | 7790 } |
7791 | 7791 |
7792 template<> | 7792 template<> |
7793 v8::Handle<v8::Value> toV8NoInline(TestObjectPython* impl, v8::Handle<v8::Object
> creationContext, v8::Isolate* isolate) | 7793 v8::Handle<v8::Value> toV8NoInline(TestObjectPython* impl, v8::Handle<v8::Object
> creationContext, v8::Isolate* isolate) |
7794 { | 7794 { |
7795 return toV8(impl, creationContext, isolate); | 7795 return toV8(impl, creationContext, isolate); |
7796 } | 7796 } |
7797 | 7797 |
7798 } // namespace WebCore | 7798 } // namespace WebCore |
OLD | NEW |