Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(296)

Issue 2906153002: [inspector] Support multiple sessions per context group (Closed)

Created:
3 years, 7 months ago by dgozman
Modified:
3 years, 6 months ago
Reviewers:
kozy
CC:
v8-reviews_googlegroups.com, devtools-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[inspector] Support multiple sessions per context group This patch adds ability to connect multiple sessions to a single context group. This is an experimental feature, which is already supported in test harness. So far covered runtime domain with tests (and found a bug thanks to the test). More tests to follow in next patches, probably with code adjustments as well. BUG=chromium:590878 Review-Url: https://codereview.chromium.org/2906153002 Cr-Commit-Position: refs/heads/master@{#45667} Committed: https://chromium.googlesource.com/v8/v8/+/375bea1c45e4ce1f71d9a2ab3a3c6e38a5833eed

Patch Set 1 #

Patch Set 2 : compiles, tests pass #

Patch Set 3 : simple test #

Patch Set 4 : runtime tests #

Patch Set 5 : rebased #

Patch Set 6 : setSkipAllPauses test #

Total comments: 6

Patch Set 7 : using set per kozy@ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1129 lines, -138 lines) Patch
M src/inspector/injected-script.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/inspector/inspected-context.h View 1 2 3 4 5 6 3 chunks +6 lines, -3 lines 0 comments Download
M src/inspector/inspected-context.cc View 1 2 3 4 5 6 2 chunks +12 lines, -2 lines 0 comments Download
M src/inspector/v8-console.cc View 1 6 chunks +35 lines, -39 lines 0 comments Download
M src/inspector/v8-console-message.cc View 1 2 chunks +10 lines, -11 lines 0 comments Download
M src/inspector/v8-debugger.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/inspector/v8-debugger.cc View 1 2 3 4 5 7 chunks +71 lines, -33 lines 0 comments Download
M src/inspector/v8-debugger-agent-impl.cc View 1 1 chunk +9 lines, -1 line 0 comments Download
M src/inspector/v8-inspector-impl.h View 1 2 chunks +6 lines, -5 lines 0 comments Download
M src/inspector/v8-inspector-impl.cc View 1 2 3 4 5 chunks +44 lines, -29 lines 0 comments Download
M src/inspector/v8-runtime-agent-impl.cc View 1 2 3 6 chunks +12 lines, -7 lines 0 comments Download
A test/inspector/debugger/set-skip-all-pauses.js View 1 2 3 4 5 1 chunk +31 lines, -0 lines 0 comments Download
A test/inspector/debugger/set-skip-all-pauses-expected.txt View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M test/inspector/isolate-data.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M test/inspector/isolate-data.cc View 1 2 3 3 chunks +49 lines, -6 lines 0 comments Download
A test/inspector/sessions/create-session.js View 1 2 3 1 chunk +58 lines, -0 lines 0 comments Download
A test/inspector/sessions/create-session-expected.txt View 1 2 3 1 chunk +132 lines, -0 lines 0 comments Download
A test/inspector/sessions/runtime-console-api-called.js View 1 2 3 1 chunk +38 lines, -0 lines 0 comments Download
A test/inspector/sessions/runtime-console-api-called-expected.txt View 1 2 3 1 chunk +217 lines, -0 lines 0 comments Download
A test/inspector/sessions/runtime-evaluate.js View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
A test/inspector/sessions/runtime-evaluate-exception.js View 1 2 3 1 chunk +59 lines, -0 lines 0 comments Download
A test/inspector/sessions/runtime-evaluate-exception-expected.txt View 1 2 3 1 chunk +277 lines, -0 lines 0 comments Download
A test/inspector/sessions/runtime-evaluate-expected.txt View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (15 generated)
dgozman
Alexei, could you please take a look?
3 years, 6 months ago (2017-05-30 23:36:03 UTC) #4
dgozman
Alexei, could you please take a look at this? It's ready for review!
3 years, 6 months ago (2017-05-31 23:43:00 UTC) #11
kozy
https://codereview.chromium.org/2906153002/diff/100001/src/inspector/inspected-context.h File src/inspector/inspected-context.h (right): https://codereview.chromium.org/2906153002/diff/100001/src/inspector/inspected-context.h#newcode35 src/inspector/inspected-context.h:35: bool isReported(int session_id) { return m_reported[session_id]; } auto it ...
3 years, 6 months ago (2017-06-01 09:43:45 UTC) #14
dgozman
https://codereview.chromium.org/2906153002/diff/100001/src/inspector/inspected-context.h File src/inspector/inspected-context.h (right): https://codereview.chromium.org/2906153002/diff/100001/src/inspector/inspected-context.h#newcode58 src/inspector/inspected-context.h:58: std::map<int, bool> m_reported; On 2017/06/01 09:43:45, kozy wrote: > ...
3 years, 6 months ago (2017-06-01 16:06:48 UTC) #15
kozy
lgtm
3 years, 6 months ago (2017-06-01 16:09:11 UTC) #16
dgozman
https://codereview.chromium.org/2906153002/diff/100001/src/inspector/inspected-context.h File src/inspector/inspected-context.h (right): https://codereview.chromium.org/2906153002/diff/100001/src/inspector/inspected-context.h#newcode35 src/inspector/inspected-context.h:35: bool isReported(int session_id) { return m_reported[session_id]; } On 2017/06/01 ...
3 years, 6 months ago (2017-06-01 21:04:59 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2906153002/120001
3 years, 6 months ago (2017-06-01 21:05:17 UTC) #20
commit-bot: I haz the power
3 years, 6 months ago (2017-06-01 21:34:08 UTC) #23
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/v8/v8/+/375bea1c45e4ce1f71d9a2ab3a3c6e38a58...

Powered by Google App Engine
This is Rietveld 408576698