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

Unified Diff: Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js

Issue 1345103005: Unflake inspector/sources/debugger-breakpoints/debugger-reload-breakpoints-with-source-maps.html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « Source/devtools/front_end/bindings/CompilerScriptMapping.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js
diff --git a/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js b/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js
index 093d128a648073e600ef6f87cd831e116e301262..acee9f857a2a89ddf6f93eb6cd5a15790610bf3f 100644
--- a/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js
+++ b/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js
@@ -83,6 +83,7 @@ WebInspector.JavaScriptBreakpointsSidebarPane.prototype = {
/**
* @param {?string} content
+ * @this {WebInspector.JavaScriptBreakpointsSidebarPane}
*/
function didRequestContent(content)
{
@@ -95,9 +96,10 @@ WebInspector.JavaScriptBreakpointsSidebarPane.prototype = {
var snippetStartIndex = columnNumber > 100 ? columnNumber : 0;
snippetElement.textContent = lineText.substr(snippetStartIndex).trimEnd(maxSnippetLength);
}
+ this.didReceiveBreakpointLineForTest(uiLocation.uiSourceCode);
}
- uiLocation.uiSourceCode.requestContent(didRequestContent);
+ uiLocation.uiSourceCode.requestContent(didRequestContent.bind(this));
element._data = uiLocation;
var currentElement = this.listElement.firstChild;
@@ -115,6 +117,13 @@ WebInspector.JavaScriptBreakpointsSidebarPane.prototype = {
},
/**
+ * @param {!WebInspector.UISourceCode} uiSourceCode
+ */
+ didReceiveBreakpointLineForTest: function(uiSourceCode)
+ {
+ },
+
+ /**
* @param {!WebInspector.Event} event
*/
_breakpointRemoved: function(event)
« no previous file with comments | « Source/devtools/front_end/bindings/CompilerScriptMapping.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698