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

Unified Diff: LayoutTests/inspector/sources/debugger/breakpoint-manager.js

Issue 350403004: DevTools: Fix breakpoints in source mapped files after reload. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | « no previous file | LayoutTests/inspector/sources/debugger/breakpoint-manager-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/sources/debugger/breakpoint-manager.js
diff --git a/LayoutTests/inspector/sources/debugger/breakpoint-manager.js b/LayoutTests/inspector/sources/debugger/breakpoint-manager.js
index db4a988bd938f0f87d797f2d4464f18d214245db..fa2782cef9616dd4e1ad0bc4304f6c1fbed2e7ac 100644
--- a/LayoutTests/inspector/sources/debugger/breakpoint-manager.js
+++ b/LayoutTests/inspector/sources/debugger/breakpoint-manager.js
@@ -146,7 +146,7 @@ InspectorTest.DebuggerModelMock.prototype = {
InspectorTest.addResult(" " + InspectorTest.dumpTarget(this) + "debuggerModel.removeBreakpoint(" + breakpointId + ")");
delete this._breakpoints[breakpointId];
if (callback)
- callback();
+ setTimeout(callback, 0);
},
setBreakpointsActive: function() { },
« no previous file with comments | « no previous file | LayoutTests/inspector/sources/debugger/breakpoint-manager-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698