v8/test/inspector
kozyatinskiy 754736d26c [inspector] async stacks for Promise.then calls...
... which were done after the promise has been resolved.

Goal of this CL - change promise instrumentation to support better callbacks, chained after promise resolution and prepare instrumentation for adding new asyncTaskCreated instrumentation.

Instrumentation changes:
- asyncTaskScheduled(recurring) when promise is fulfilled or rejected,
- asyncTaskCancelled when promise is collected (since [1] we can be sure that promise will survive scheduled microtasks).

Minor changes:
- async task type in inspector <-> debugger API transferred by enum instead of string,
- Debug manages async task ids based on promise objects.

More details: https://docs.google.com/document/d/1u19N45f1gSF7M39mGsycJEK3IPyJgIXCBnWyiPeuJFE

[1] https://codereview.chromium.org/2581503003/

BUG=chromium:632829,v8:5738
R=dgozman@chromium.org,yangguo@chromium.org,gsathya@chromium.org

Review-Url: https://codereview.chromium.org/2578923002
Cr-Commit-Position: refs/heads/master@{#42178}
2017-01-10 12:54:12 +00:00
..
console Avoid using stale InspectedContext pointers 2016-10-26 20:27:12 +00:00
cpu-profiler [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
debugger [inspector] async stacks for Promise.then calls... 2017-01-10 12:54:12 +00:00
runtime [inspector] async stacks for Promise.then calls... 2017-01-10 12:54:12 +00:00
BUILD.gn Properly define v8_enable_inspector and its override in GN. 2016-11-21 19:29:38 +00:00
DEPS [inspector] introduce limit for amount of stored async stacks 2016-12-18 17:04:40 +00:00
inspector-impl.cc [inspector] removed old v8_inspector::Channel API 2016-11-29 19:31:23 +00:00
inspector-impl.h [inspector] added inspector test runner [part 3] 2016-10-02 18:10:39 +00:00
inspector-test.cc [inspector] introduce limit for amount of stored async stacks 2016-12-18 17:04:40 +00:00
inspector.gyp Fix inspector test in components build 2016-10-18 20:08:12 +00:00
inspector.isolate [inspector] conditionally copy files for inspector test. 2016-10-24 10:57:37 +00:00
inspector.status [wasm] Add guard regions to end of WebAssembly.Memory buffers 2016-11-17 20:29:13 +00:00
json-parse-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
json-parse.js [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
OWNERS [inspector] added inspector test runner [part 1] 2016-09-30 15:52:46 +00:00
protocol-test.js [inspector] add async instrumentation for setTimeout in tests 2016-12-13 19:41:22 +00:00
task-runner.cc [inspector] add async instrumentation for setTimeout in tests 2016-12-13 19:41:22 +00:00
task-runner.h [inspector] add async instrumentation for setTimeout in tests 2016-12-13 19:41:22 +00:00
testcfg.py [inspector] added inspector test runner [part 4] 2016-10-02 19:41:28 +00:00