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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/inspector/sources/debugger/breakpoint-manager-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 var initialize_BreakpointManagerTest = function() { 1 var initialize_BreakpointManagerTest = function() {
2 2
3 InspectorTest.uiSourceCodes = {}; 3 InspectorTest.uiSourceCodes = {};
4 4
5 InspectorTest.dumpTargetIds = false; 5 InspectorTest.dumpTargetIds = false;
6 6
7 InspectorTest.initializeDefaultMappingOnTarget = function (target) { 7 InspectorTest.initializeDefaultMappingOnTarget = function (target) {
8 var defaultMapping = { 8 var defaultMapping = {
9 rawLocationToUILocation: function(rawLocation) 9 rawLocationToUILocation: function(rawLocation)
10 { 10 {
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 } 139 }
140 140
141 this._scheduleSetBeakpointCallback(callback, breakpointId, [WebInspector .DebuggerModel.Location.fromPayload(this._target, location)]); 141 this._scheduleSetBeakpointCallback(callback, breakpointId, [WebInspector .DebuggerModel.Location.fromPayload(this._target, location)]);
142 }, 142 },
143 143
144 removeBreakpoint: function(breakpointId, callback) 144 removeBreakpoint: function(breakpointId, callback)
145 { 145 {
146 InspectorTest.addResult(" " + InspectorTest.dumpTarget(this) + "debug gerModel.removeBreakpoint(" + breakpointId + ")"); 146 InspectorTest.addResult(" " + InspectorTest.dumpTarget(this) + "debug gerModel.removeBreakpoint(" + breakpointId + ")");
147 delete this._breakpoints[breakpointId]; 147 delete this._breakpoints[breakpointId];
148 if (callback) 148 if (callback)
149 callback(); 149 setTimeout(callback, 0);
150 }, 150 },
151 151
152 setBreakpointsActive: function() { }, 152 setBreakpointsActive: function() { },
153 153
154 createLiveLocation: function(rawLocation, updateDelegate) 154 createLiveLocation: function(rawLocation, updateDelegate)
155 { 155 {
156 return this._scripts[rawLocation.scriptId].createLiveLocation(rawLocatio n, updateDelegate); 156 return this._scripts[rawLocation.scriptId].createLiveLocation(rawLocatio n, updateDelegate);
157 }, 157 },
158 158
159 scriptForId: function(scriptId) 159 scriptForId: function(scriptId)
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 { 323 {
324 InspectorTest.dumpBreakpointLocations(breakpointManager); 324 InspectorTest.dumpBreakpointLocations(breakpointManager);
325 next(); 325 next();
326 } 326 }
327 327
328 InspectorTest.dumpBreakpointLocations(breakpointManager); 328 InspectorTest.dumpBreakpointLocations(breakpointManager);
329 InspectorTest.resetBreakpointManager(breakpointManager, finish); 329 InspectorTest.resetBreakpointManager(breakpointManager, finish);
330 } 330 }
331 331
332 } 332 }
OLDNEW
« 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