v8/test/inspector/sessions
Andrey Kosyakov f656eab592 DevTools: add support for system-unique execution context ids
This adds ExecutionContextDescription.uniqueId for a system-unique
way to identify an execution context and supports it in Runtime.evaluate.
This allows a client to avoid accidentally executing an expression
in a context different from that originally intended if a navigation
occurs while Runtime.evaluate is in flight.

Design doc: https://docs.google.com/document/d/1vGVWvKP9FTTX6kimcUJR_PAfVgDeIzXXITFpl0SyghQ

Bug: v8:11268, chromium:1101897
Change-Id: I4c6bec562ffc85312559316f639d641780144039
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2594538
Commit-Queue: Andrey Kosyakov <caseq@chromium.org>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#71869}
2020-12-23 05:15:47 +00:00
..
create-session-expected.txt DevTools: add support for system-unique execution context ids 2020-12-23 05:15:47 +00:00
create-session.js
debugger-stepping-and-breakpoints-expected.txt [inspector] do not resume on agent disable if there is other agents 2018-05-03 06:23:12 +00:00
debugger-stepping-and-breakpoints.js [inspector] do not resume on agent disable if there is other agents 2018-05-03 06:23:12 +00:00
pause-on-console-assert-expected.txt [inspector] forEachSession iterates in predictable order 2017-08-10 15:39:06 +00:00
pause-on-console-assert.js [inspector] Make pausing on console.assert work with multiple sessions 2017-06-05 18:41:00 +00:00
runtime-command-line-api-expected.txt Revert "[inspector] RemoteObject.description should be empty for primitive type" 2018-05-31 18:52:08 +00:00
runtime-command-line-api.js [inspector] Create InjectedScript per session in each context 2017-06-05 17:37:25 +00:00
runtime-console-api-called-expected.txt WIP: [parser] Fix arrow function name inferring 2019-01-08 08:10:03 +00:00
runtime-console-api-called.js
runtime-evaluate-exception-expected.txt WIP: [parser] Fix arrow function name inferring 2019-01-08 08:10:03 +00:00
runtime-evaluate-exception.js Use Isolate::GetEnteredOrMicrotaskContext instead of GetEnteredContext 2018-11-13 13:58:00 +00:00
runtime-evaluate-expected.txt Revert "[inspector] RemoteObject.description should be empty for primitive type" 2018-05-31 18:52:08 +00:00
runtime-evaluate.js
runtime-remote-object-expected.txt Revert "inspector: return [[StableObjectId]] as internal property" 2018-12-06 21:47:22 +00:00
runtime-remote-object.js [inspector] Create InjectedScript per session in each context 2017-06-05 17:37:25 +00:00