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

Issue 2431223003: [DevTools]: Require explicit connection (Closed)

Created:
4 years, 2 months ago by eostroukhov
Modified:
4 years, 1 month ago
Reviewers:
dgozman, pfeldman
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools]: Require explicit connection Instead of immediately connecting to discovered remote targets, a connection node is now shown. User is now required to explicitly connect to a target. It is also possible to disconnect from such targets. BUG=650398 Committed: https://crrev.com/8815c41f286b76846313c9b1955507c7f5709fbf Cr-Commit-Position: refs/heads/master@{#429934}

Patch Set 1 #

Patch Set 2 : Redone on top of new API. #

Patch Set 3 : Fixed Node.JS connection title #

Total comments: 15

Patch Set 4 : Reworked - again #

Total comments: 35

Patch Set 5 : [DevTools]: Require explicit connection #

Patch Set 6 : Now threads view shows "subtargets" and not the "targets" #

Patch Set 7 : Code review comments were addressed #

Total comments: 8

Patch Set 8 : Updated & reformatted. #

Patch Set 9 : Tests pass now. #

Total comments: 28

Patch Set 10 : Comments were addressed #

Total comments: 10

Patch Set 11 : Review comments were addressed. #

Patch Set 12 : Addressed one last comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+422 lines, -67 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js View 1 2 3 4 5 6 7 8 9 10 8 chunks +135 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js View 1 2 3 4 5 6 7 8 9 10 3 chunks +16 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/ThreadsSidebarPane.js View 1 2 3 4 5 6 7 8 9 10 11 8 chunks +231 lines, -38 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/UIList.js View 1 2 3 4 5 6 7 8 9 10 3 chunks +22 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/uiList.css View 3 chunks +17 lines, -2 lines 0 comments Download

Messages

Total messages: 66 (42 generated)
eostroukhov
4 years, 2 months ago (2016-10-20 19:04:52 UTC) #6
dgozman
Could you please add a screenshot here or (better) to the bug? Also, I've just ...
4 years, 2 months ago (2016-10-20 20:37:02 UTC) #7
eostroukhov
I've redid the CL on top of new API - please take a look.
4 years, 1 month ago (2016-10-26 18:27:25 UTC) #9
eostroukhov
Fixed Node.JS connection title
4 years, 1 month ago (2016-10-26 18:39:40 UTC) #11
eostroukhov
I update the bug with the screenshots. I've shown the functionality to UX before sending ...
4 years, 1 month ago (2016-10-26 18:42:52 UTC) #14
dgozman
https://codereview.chromium.org/2431223003/diff/40001/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js File third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js (right): https://codereview.chromium.org/2431223003/diff/40001/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js#newcode167 third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js:167: targetConnection && targetConnection._attached(target); Why do we need this? https://codereview.chromium.org/2431223003/diff/40001/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js#newcode206 ...
4 years, 1 month ago (2016-10-26 22:14:06 UTC) #17
eostroukhov
Reworked once more, please take a look. https://codereview.chromium.org/2431223003/diff/40001/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js File third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js (right): https://codereview.chromium.org/2431223003/diff/40001/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js#newcode167 third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js:167: targetConnection && ...
4 years, 1 month ago (2016-10-27 23:42:25 UTC) #20
dgozman
https://codereview.chromium.org/2431223003/diff/60001/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js File third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js (right): https://codereview.chromium.org/2431223003/diff/60001/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js#newcode38 third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js:38: SubTargetConnectionCreated: Symbol("SubTargetCreated"), PendingConnectionCreated https://codereview.chromium.org/2431223003/diff/60001/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js#newcode225 third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js:225: var connection = this._pendingConnections.get(targetInfo.id); ...
4 years, 1 month ago (2016-10-28 18:31:36 UTC) #25
eostroukhov
Thanks for the review. I'e reddid the code, please take another look. https://codereview.chromium.org/2431223003/diff/60001/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js File third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js ...
4 years, 1 month ago (2016-11-01 20:28:15 UTC) #34
dgozman
https://codereview.chromium.org/2431223003/diff/120001/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js File third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js (left): https://codereview.chromium.org/2431223003/diff/120001/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js#oldcode73 third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js:73: this._agent.detachFromTarget(connection._targetId); I think it was important to send this ...
4 years, 1 month ago (2016-11-01 22:07:40 UTC) #35
eostroukhov
Please take a look. There is still one failing test I am tracking - but ...
4 years, 1 month ago (2016-11-02 21:55:53 UTC) #38
eostroukhov
Tests pass (at least on my machine)
4 years, 1 month ago (2016-11-02 22:20:26 UTC) #40
dgozman
Mostly style and naming comments. https://codereview.chromium.org/2431223003/diff/160001/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js File third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js (right): https://codereview.chromium.org/2431223003/diff/160001/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js#newcode22 third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js:22: this._subtargets = new Map(); ...
4 years, 1 month ago (2016-11-02 23:20:40 UTC) #42
eostroukhov
Thank you for the review. I addressed the comments, please take another look. https://codereview.chromium.org/2431223003/diff/160001/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js File ...
4 years, 1 month ago (2016-11-03 17:25:52 UTC) #47
eostroukhov
Thank you for the review. I addressed the comments, please take another look.
4 years, 1 month ago (2016-11-03 17:25:53 UTC) #48
dgozman
lgtm with comments https://codereview.chromium.org/2431223003/diff/160001/third_party/WebKit/Source/devtools/front_end/sources/UIList.js File third_party/WebKit/Source/devtools/front_end/sources/UIList.js (right): https://codereview.chromium.org/2431223003/diff/160001/third_party/WebKit/Source/devtools/front_end/sources/UIList.js#newcode230 third_party/WebKit/Source/devtools/front_end/sources/UIList.js:230: Promise.resolve(handler(event)).then(() => link.disabled = false); On ...
4 years, 1 month ago (2016-11-03 21:21:30 UTC) #51
eostroukhov
Thank you for the review, I addressed the comments. https://codereview.chromium.org/2431223003/diff/160001/third_party/WebKit/Source/devtools/front_end/sources/UIList.js File third_party/WebKit/Source/devtools/front_end/sources/UIList.js (right): https://codereview.chromium.org/2431223003/diff/160001/third_party/WebKit/Source/devtools/front_end/sources/UIList.js#newcode230 third_party/WebKit/Source/devtools/front_end/sources/UIList.js:230: ...
4 years, 1 month ago (2016-11-03 22:44:50 UTC) #52
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/2431223003/220001
4 years, 1 month ago (2016-11-03 22:45:54 UTC) #55
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/325069)
4 years, 1 month ago (2016-11-04 00:33:47 UTC) #57
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/2431223003/220001
4 years, 1 month ago (2016-11-04 00:36:50 UTC) #59
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/330776)
4 years, 1 month ago (2016-11-04 02:14:03 UTC) #61
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/2431223003/220001
4 years, 1 month ago (2016-11-04 15:55:46 UTC) #63
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 1 month ago (2016-11-04 17:34:16 UTC) #64
commit-bot: I haz the power
4 years, 1 month ago (2016-11-04 17:37:00 UTC) #66
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/8815c41f286b76846313c9b1955507c7f5709fbf
Cr-Commit-Position: refs/heads/master@{#429934}

Powered by Google App Engine
This is Rietveld 408576698