| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |