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

Issue 2916803005: [inspector] Create InjectedScript per session in each context (Closed)

Created:
3 years, 6 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] Create InjectedScript per session in each context This gives sessions separate remote objects space and also makes command line api respect the session it was called from. BUG=chromium:590878 Review-Url: https://codereview.chromium.org/2916803005 Cr-Commit-Position: refs/heads/master@{#45708} Committed: https://chromium.googlesource.com/v8/v8/+/b5e81c7ccf304407190ebd4dcfef2388c447d7a0

Patch Set 1 #

Total comments: 4

Patch Set 2 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+595 lines, -88 lines) Patch
M src/inspector/injected-script.h View 3 chunks +4 lines, -2 lines 0 comments Download
M src/inspector/injected-script.cc View 4 chunks +7 lines, -5 lines 0 comments Download
M src/inspector/inspected-context.h View 1 3 chunks +5 lines, -5 lines 0 comments Download
M src/inspector/inspected-context.cc View 1 chunk +13 lines, -5 lines 0 comments Download
M src/inspector/v8-console.h View 3 chunks +45 lines, -24 lines 0 comments Download
M src/inspector/v8-console.cc View 1 11 chunks +44 lines, -36 lines 0 comments Download
M src/inspector/v8-inspector-session-impl.cc View 4 chunks +16 lines, -11 lines 0 comments Download
M test/inspector/inspector-test.cc View 2 chunks +15 lines, -0 lines 0 comments Download
M test/inspector/isolate-data.h View 1 chunk +1 line, -0 lines 0 comments Download
M test/inspector/isolate-data.cc View 2 chunks +21 lines, -0 lines 0 comments Download
M test/inspector/protocol-test.js View 1 chunk +4 lines, -0 lines 0 comments Download
A test/inspector/sessions/runtime-command-line-api.js View 1 chunk +76 lines, -0 lines 0 comments Download
A test/inspector/sessions/runtime-command-line-api-expected.txt View 1 chunk +211 lines, -0 lines 0 comments Download
A test/inspector/sessions/runtime-remote-object.js View 1 chunk +30 lines, -0 lines 0 comments Download
A test/inspector/sessions/runtime-remote-object-expected.txt View 1 chunk +103 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 14 (9 generated)
dgozman
Could you please take a look?
3 years, 6 months ago (2017-06-02 02:15:44 UTC) #2
kozy
lgtm https://codereview.chromium.org/2916803005/diff/1/src/inspector/inspected-context.h File src/inspector/inspected-context.h (right): https://codereview.chromium.org/2916803005/diff/1/src/inspector/inspected-context.h#newcode42 src/inspector/inspected-context.h:42: InjectedScript* getAnyInjectedScript() { Who use this method? https://codereview.chromium.org/2916803005/diff/1/src/inspector/v8-console.cc ...
3 years, 6 months ago (2017-06-03 11:16:15 UTC) #7
dgozman
https://codereview.chromium.org/2916803005/diff/1/src/inspector/inspected-context.h File src/inspector/inspected-context.h (right): https://codereview.chromium.org/2916803005/diff/1/src/inspector/inspected-context.h#newcode42 src/inspector/inspected-context.h:42: InjectedScript* getAnyInjectedScript() { On 2017/06/03 11:16:15, kozy wrote: > ...
3 years, 6 months ago (2017-06-05 17:08:11 UTC) #8
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/2916803005/20001
3 years, 6 months ago (2017-06-05 17:08:50 UTC) #11
commit-bot: I haz the power
3 years, 6 months ago (2017-06-05 17:37:34 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/b5e81c7ccf304407190ebd4dcfef2388c44...

Powered by Google App Engine
This is Rietveld 408576698