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

Issue 2277543002: DevTools: Simplify DOMBreakpointsSidebarPane inspected URL (Closed)

Created:
4 years, 4 months ago by chenwilliam
Modified:
4 years, 3 months ago
Reviewers:
lushnikov
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: Simplify DOMBreakpointsSidebarPane inspected URL Previously the restoreBreakpoints method implictly relied on the inspected URL being set to the current inspected URL. This CL simplifies the logic for setting the inspected URL and ensures that the inspected URL is always accurate in the process of restoring breakpoints. BUG=627296, 634510 Committed: https://crrev.com/38ad51fd7da0f697fef9464ee0af4f9456cedf69 Cr-Commit-Position: refs/heads/master@{#414219}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Minor refactor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -12 lines) Patch
M third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js View 1 2 chunks +6 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (6 generated)
chenwilliam
Closed my previous CL https://codereview.chromium.org/2255983002/ in favor of a small focused CL.
4 years, 4 months ago (2016-08-23 22:41:50 UTC) #3
lushnikov
https://codereview.chromium.org/2277543002/diff/1/third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js File third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js (right): https://codereview.chromium.org/2277543002/diff/1/third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js#newcode372 third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js:372: restoreBreakpoints: function(domModel, domDocument) no need to pass domModel in ...
4 years, 4 months ago (2016-08-23 23:26:07 UTC) #4
chenwilliam
Updated per feedback. https://codereview.chromium.org/2277543002/diff/1/third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js File third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js (right): https://codereview.chromium.org/2277543002/diff/1/third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js#newcode372 third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js:372: restoreBreakpoints: function(domModel, domDocument) On 2016/08/23 23:26:07, ...
4 years, 4 months ago (2016-08-24 00:18:52 UTC) #5
lushnikov
lgtm
4 years, 4 months ago (2016-08-24 21:28:22 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/2277543002/20001
4 years, 4 months ago (2016-08-24 21:33:28 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-25 00:30:00 UTC) #10
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/38ad51fd7da0f697fef9464ee0af4f9456cedf69 Cr-Commit-Position: refs/heads/master@{#414219}
4 years, 4 months ago (2016-08-25 00:31:35 UTC) #12
chenwilliam
4 years, 3 months ago (2016-08-29 19:52:14 UTC) #14
Message was sent while issue was closed.
On 2016/08/25 00:31:35, commit-bot: I haz the power wrote:
> Patchset 2 (id:??) landed as
> https://crrev.com/38ad51fd7da0f697fef9464ee0af4f9456cedf69
> Cr-Commit-Position: refs/heads/master@{#414219}

Just remembered and verified that this fixes this bug: crbug.com/634510

Powered by Google App Engine
This is Rietveld 408576698