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

Issue 2491983002: [DevTools] reworked JavaScriptBreakpointsSidebarPane.js (Closed)

Created:
4 years, 1 month ago by kozy
Modified:
4 years, 1 month ago
Reviewers:
dgozman, lushnikov
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] reworked JavaScriptBreakpointsSidebarPane.js - sidebar shows one entry for all breakpoints in the line, - sidebar updates changed lines at the end of JS task after all breakpoint removed and breakpoint added events. BUG=chromium:566801 R=lushnikov@chromium.org,dgozman@chromium.org Committed: https://crrev.com/3655eb5ce80540b03a07b8fba1d3c8d6f5ae806a Cr-Commit-Position: refs/heads/master@{#432004}

Patch Set 1 #

Total comments: 2

Patch Set 2 : addressed comment #

Patch Set 3 : rework of rework #

Patch Set 4 : addressed offline comments #

Total comments: 17

Patch Set 5 : addressed all comments #

Patch Set 6 : fixed closure compilation #

Patch Set 7 : rebased + better tests #

Total comments: 18

Patch Set 8 : addressed comments #

Patch Set 9 : labal :( #

Unified diffs Side-by-side diffs Delta from patch set Stats (+285 lines, -318 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js View 1 2 3 4 5 6 7 1 chunk +16 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-move-breakpoints.html View 1 2 3 4 5 6 7 3 chunks +12 lines, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-move-breakpoints-expected.txt View 1 2 3 4 5 6 7 1 chunk +5 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/script-formatter-breakpoints-1.html View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/script-formatter-breakpoints-1-expected.txt View 1 2 3 4 5 6 1 chunk +3 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/debugger-reload-breakpoints-with-source-maps.html View 1 2 3 4 5 6 7 1 chunk +26 lines, -55 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/debugger-reload-breakpoints-with-source-maps-expected.txt View 1 2 3 4 5 6 7 1 chunk +6 lines, -8 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/disable-breakpoints.html View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/disable-breakpoints-expected.txt View 1 2 3 4 5 6 2 chunks +3 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/set-breakpoint.html View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/set-breakpoint-expected.txt View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/set-conditional-breakpoint.html View 1 2 3 4 5 6 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/set-conditional-breakpoint-expected.txt View 1 2 3 4 5 6 2 chunks +2 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/click-gutter-breakpoint.html View 1 2 3 4 5 6 1 chunk +3 lines, -8 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/click-gutter-breakpoint-expected.txt View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-formatter-breakpoints-2.html View 1 2 3 4 5 6 2 chunks +7 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-formatter-breakpoints-2-expected.txt View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-formatter-breakpoints-3.html View 1 2 3 4 5 6 1 chunk +9 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-formatter-breakpoints-3-expected.txt View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger/js-with-inline-stylesheets.html View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger/js-with-inline-stylesheets-expected.txt View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/components/breakpointsList.css View 1 2 3 1 chunk +28 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js View 1 2 3 4 5 6 7 8 1 chunk +153 lines, -194 lines 0 comments Download

Messages

Total messages: 24 (11 generated)
kozy
Dmitry and Andrey, please take a look.
4 years, 1 month ago (2016-11-10 19:17:26 UTC) #1
lushnikov
(as per offline discussion) Let's try to render this every time from scratch so that ...
4 years, 1 month ago (2016-11-11 04:24:54 UTC) #3
kozy
I tried to make this state-less but found a problem. This component uses hover to ...
4 years, 1 month ago (2016-11-11 17:21:13 UTC) #4
kozy
Dmitry and Andrey, please take another look!
4 years, 1 month ago (2016-11-12 02:17:56 UTC) #5
lushnikov
https://codereview.chromium.org/2491983002/diff/60001/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js File third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js (right): https://codereview.chromium.org/2491983002/diff/60001/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js#newcode8 third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js:8: WebInspector.JavaScriptBreakpointsSidebarPane = class extends WebInspector.VBox { Use WebInspector.ThrottledWidget!!! https://codereview.chromium.org/2491983002/diff/60001/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js#newcode41 ...
4 years, 1 month ago (2016-11-12 02:57:07 UTC) #6
kozy
All done, please take another look! https://codereview.chromium.org/2491983002/diff/60001/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js File third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js (right): https://codereview.chromium.org/2491983002/diff/60001/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js#newcode8 third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js:8: WebInspector.JavaScriptBreakpointsSidebarPane = class ...
4 years, 1 month ago (2016-11-12 03:39:05 UTC) #7
kozy
Ready for review, please take a look. - JavaScriptSidebarPane resuses entry elements as much as ...
4 years, 1 month ago (2016-11-13 06:27:23 UTC) #10
lushnikov
lgtm https://codereview.chromium.org/2491983002/diff/120001/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js File third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js (right): https://codereview.chromium.org/2491983002/diff/120001/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js#newcode428 third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js:428: InspectorTest.waitBreakpointSidebarPane = function() nit: you can avoid exposing ...
4 years, 1 month ago (2016-11-14 18:56:15 UTC) #13
kozy
thanks! all done. https://codereview.chromium.org/2491983002/diff/120001/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js File third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js (right): https://codereview.chromium.org/2491983002/diff/120001/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js#newcode428 third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js:428: InspectorTest.waitBreakpointSidebarPane = function() On 2016/11/14 18:56:15, ...
4 years, 1 month ago (2016-11-14 19:45:26 UTC) #14
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/2491983002/140001
4 years, 1 month ago (2016-11-14 19:47:03 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/2491983002/160001
4 years, 1 month ago (2016-11-14 20:21:27 UTC) #20
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 1 month ago (2016-11-15 00:12:23 UTC) #22
commit-bot: I haz the power
4 years, 1 month ago (2016-11-15 00:14:50 UTC) #24
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/3655eb5ce80540b03a07b8fba1d3c8d6f5ae806a
Cr-Commit-Position: refs/heads/master@{#432004}

Powered by Google App Engine
This is Rietveld 408576698