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

Issue 2886643002: DevTools: do not kill breakpoints in case of persistence and auto-reconnecting target. (Closed)

Created:
3 years, 7 months ago by lushnikov
Modified:
3 years, 7 months ago
Reviewers:
dgozman
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/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: do not kill breakpoints in case of persistence and auto-reconnecting target. The investigation revealed: - BreakpointManager does not know how to set breakpoints in the UISourceCodes with exact URLs. For this reason, breakpoints are removed inside workers in case of multilpe workers launched with the same URL. - node.js reports file URLs which clash with the file URLs from persistence. This provokes the same illicit behavior in BreakpointManager. - the same would happen with file-url web sites with persistence folder This behavior is a conceptual issue of BreakpointManager, which is relied upon in different parts of BreakpointManager. Given the poor state of the things in the BreakpointManager, this patch suggests a trade-off solution for the issue: - it is localized to persistence only - it is localized to the case of URL collisition between FileSystem and network URLs Unfortunately, the attempts to write a test with workers failed due to the BreakpointManager's poor handling of breakpoints in workers. BUG=722636 R=dgozman Review-Url: https://codereview.chromium.org/2886643002 Cr-Commit-Position: refs/heads/master@{#472196} Committed: https://chromium.googlesource.com/chromium/src/+/35cd140e98c00020451a605fe01fad753b3bed33

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M third_party/WebKit/Source/devtools/front_end/bindings/BreakpointManager.js View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (11 generated)
lushnikov
please, take a look
3 years, 7 months ago (2017-05-16 16:43:07 UTC) #5
dgozman
lgtm
3 years, 7 months ago (2017-05-16 18:52:39 UTC) #10
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/2886643002/1
3 years, 7 months ago (2017-05-16 18:58:48 UTC) #12
commit-bot: I haz the power
3 years, 7 months ago (2017-05-16 19:49:39 UTC) #15
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/35cd140e98c00020451a605fe01f...

Powered by Google App Engine
This is Rietveld 408576698