v8/test
Alexey Kozyatinskiy 3a41b697cd [inspector] introduced stackTraceId and externalAsyncTask API
Sometimes we need to capture stack trace on one debugger and use it
later as a parent stack on another debugger (e.g. worker.postMessage).

This CL includes following addition to our protocol and v8-inspector.h:
  - added Runtime.StackTraceId, this id represents stack trace captured
    on debugger with given id,
  - protocol client can fetch Runtime.StackTrace by
    Runtime.StacKTraceId using Debugger.getStackTrace method,
  - externalParent field is added to Debugger.paused event, it may
    contain external parent stack trace,
  - V8Inspector::storeCurrentStackTrace captures current stack trace
    and returns V8StackTraceId for embedder this id can be used as
    argument for V8Inspector::externalAsyncTaskStarted and
    V8Inspector::externalAsyncTaskFinished method. Any async stack
    trace captured between these calls will get passed external stack
    trace as external parent. These methods are designed to be called
    on different debuggers. If async task is scheduled and started on
    one debugger user should continue to use asyncTask* API,
  - Debugger.enable methods returns unique debuggerId.

Bug: chromium:778796
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_chromium_rel_ng
Change-Id: I16aba0d04bfcea90f3e187e635a0588c92354539
Reviewed-on: https://chromium-review.googlesource.com/754183
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49582}
2017-11-22 16:33:06 +00:00
..
benchmarks [test] Refactor getting test outcomes from statusfile. 2017-11-21 15:00:24 +00:00
cctest [Memory] Rewrite platform OS Commit / Uncommit in terms of permissions. 2017-11-21 16:48:55 +00:00
common [wasm] Use activations of the interpreter in the fuzzers 2017-11-21 14:49:55 +00:00
debugger Remove env field from testcase. 2017-11-16 15:26:06 +00:00
fuzzer Remove always-on flags for RegExp dotAll and lookbehind 2017-11-17 16:47:19 +00:00
inspector [inspector] introduced stackTraceId and externalAsyncTask API 2017-11-22 16:33:06 +00:00
intl Remove env field from testcase. 2017-11-16 15:26:06 +00:00
js-perf-test [js-perf-test] Add Collection constructor and double type microbenchmarks 2017-11-16 07:21:05 +00:00
memory [snapshot] add tracking for builtin snapshot size. 2017-08-31 07:29:31 +00:00
message Remove env field from testcase. 2017-11-16 15:26:06 +00:00
mjsunit [mjsunit] Speed up regress-1257 2017-11-22 14:28:09 +00:00
mkgrokdump Remove shell info from testcase. 2017-11-16 15:42:26 +00:00
mozilla [test] Common statusfile flag format for mozilla and test262. 2017-11-20 14:20:24 +00:00
preparser Remove shell info from testcase. 2017-11-16 15:42:26 +00:00
promises-aplus Remove env field from testcase. 2017-11-16 15:26:06 +00:00
test262 [test] Refactor getting test outcomes from statusfile. 2017-11-21 15:00:24 +00:00
unittests Decouple SourcePositionTableBuilder from Zone 2017-11-21 12:56:13 +00:00
wasm-spec-tests [wasm] Update spec tests 2017-11-22 10:39:01 +00:00
webkit Remove env field from testcase. 2017-11-16 15:26:06 +00:00
bot_default.gyp
bot_default.isolate
BUILD.gn
default.gyp
default.isolate
optimize_for_size.gyp
optimize_for_size.isolate
perf.gyp
perf.isolate