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

Issue 2887903002: [DevTools] update decorations when there is no pending possibleBreakpoints (Closed)

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

Description

[DevTools] update decorations when there is no pending possibleBreakpoints Currently when user clicks by gutter: - we add fake breakpoint and request inline breakpoints, - as soon as breakpoint resolved we remove fake breakpoint, schedule removing of inline breakpoints and request inline breakpoints again. - as soon as possibleBreakpoints request is fulfilled we render inline decorations again. As result user can see blinking of inline breakpoints. To solve this issue with this CL we update inline decorations only when all pending possibleBreakpoints requests for current line are fulfilled. BUG=none R=pfeldman@chromium.org Review-Url: https://codereview.chromium.org/2887903002 Cr-Commit-Position: refs/heads/master@{#472499} Committed: https://chromium.googlesource.com/chromium/src/+/bd6ab69408c03fcb7c9efaddac139049e9e2e54c

Patch Set 1 #

Total comments: 1

Patch Set 2 : better tests #

Messages

Total messages: 16 (8 generated)
kozy
Pavel, please take a look.
3 years, 7 months ago (2017-05-16 18:44:30 UTC) #1
kozy
Dmitry, please take a look.
3 years, 7 months ago (2017-05-16 20:20:48 UTC) #4
dgozman
lgtm https://codereview.chromium.org/2887903002/diff/1/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js File third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js (right): https://codereview.chromium.org/2887903002/diff/1/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js#newcode1268 third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js:1268: this._didAddInlineDecorationsForTest(updateWasScheduled); Should we remove this flag?
3 years, 7 months ago (2017-05-16 22:54:20 UTC) #5
kozy
On 2017/05/16 22:54:20, dgozman wrote: > lgtm > > https://codereview.chromium.org/2887903002/diff/1/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js > File > third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js > ...
3 years, 7 months ago (2017-05-16 23:23:11 UTC) #6
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/2887903002/20001
3 years, 7 months ago (2017-05-16 23:24:56 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/455489)
3 years, 7 months ago (2017-05-17 01:46:21 UTC) #11
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/2887903002/20001
3 years, 7 months ago (2017-05-17 15:40:15 UTC) #13
commit-bot: I haz the power
3 years, 7 months ago (2017-05-17 18:13:46 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/bd6ab69408c03fcb7c9efaddac13...

Powered by Google App Engine
This is Rietveld 408576698