v8/test/inspector/runtime
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
..
await-promise-expected.txt [inspector] async stacks for Promise.then calls... 2017-01-10 12:54:12 +00:00
await-promise.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
call-function-on-async-expected.txt [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
call-function-on-async.js [inspector] introduced Script::TYPE_INSPECTOR 2016-11-17 04:39:47 +00:00
clear-of-command-line-api-expected.txt [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
clear-of-command-line-api.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
compile-script-expected.txt [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
compile-script.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
console-api-repeated-in-console-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
console-api-repeated-in-console.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
console-assert-expected.txt [inspector] make console.assert much faster 2016-11-23 17:09:50 +00:00
console-assert.js [inspector] make console.assert much faster 2016-11-23 17:09:50 +00:00
console-deprecated-methods-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
console-deprecated-methods.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
console-line-and-column-expected.txt [inspector] introduced exceptionThrown support in test runner 2016-10-05 15:08:14 +00:00
console-line-and-column.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
console-log-doesnt-run-microtasks-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
console-log-doesnt-run-microtasks.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
console-timestamp-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
console-timestamp.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
evaluate-async-expected.txt [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
evaluate-async-with-wrap-error-expected.txt [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
evaluate-async-with-wrap-error.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
evaluate-async.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
evaluate-empty-stack-expected.txt [debug] remove JSON debug protocol related tests. 2016-11-24 10:43:22 +00:00
evaluate-empty-stack.js [debug] remove JSON debug protocol related tests. 2016-11-24 10:43:22 +00:00
evaluate-with-context-id-equal-zero-expected.txt [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
evaluate-with-context-id-equal-zero.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
evaluate-with-generate-preview-expected.txt Show functions in object previews 2016-12-07 22:34:13 +00:00
evaluate-with-generate-preview.js Show functions in object previews 2016-12-07 22:34:13 +00:00
exception-thrown-expected.txt [inspector] introduced exceptionThrown support in test runner 2016-10-05 15:08:14 +00:00
exception-thrown.js [inspector] introduced exceptionThrown support in test runner 2016-10-05 15:08:14 +00:00
get-properties-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
get-properties-on-proxy-expected.txt [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
get-properties-on-proxy.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
get-properties-preview-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
get-properties-preview.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
get-properties.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
length-or-size-description-expected.txt Re-land of Use parenthesis in descriptions for array/map/set lengths/sizes 2016-12-02 01:26:45 +00:00
length-or-size-description.js Re-land of Use parenthesis in descriptions for array/map/set lengths/sizes 2016-12-02 01:26:45 +00:00
property-on-console-proto-expected.txt [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
property-on-console-proto.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
protocol-works-with-different-locale-expected.txt [inspector] fix timestamp formatting with non C locales 2016-10-13 20:32:07 +00:00
protocol-works-with-different-locale.js [inspector] fix timestamp formatting with non C locales 2016-10-13 20:32:07 +00:00
run-script-async-expected.txt [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
run-script-async.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
set-or-map-entries-expected.txt Re-land of Use parenthesis in descriptions for array/map/set lengths/sizes 2016-12-02 01:26:45 +00:00
set-or-map-entries.js [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00