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

Unified Diff: third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js

Issue 2186753002: [DevTools] Track URL through the target (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: InspectedURLChanged now sends target and not just URL Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js
index 28a9d833438d37f9d140f08f465f420122691a1e..666eb55938463998ef8eaa2087227caa11388d09 100644
--- a/third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js
@@ -66,8 +66,8 @@ WebInspector.DOMBreakpointsSidebarPane.prototype = {
{
this._breakpointElements = {};
this.reset();
- var url = /** @type {string} */ (event.data);
- this._inspectedURL = url.removeURLFragment();
+ var target = /** @type {!WebInspector.Target} */ (event.data);
+ this._inspectedURL = target.inspectedURL().removeURLFragment();
dgozman 2016/07/27 20:24:23 if (target === WebInspector.targetManager().mainTa
eostroukhov-old 2016/07/27 21:39:46 Done.
},
/**

Powered by Google App Engine
This is Rietveld 408576698