| OLD | NEW |
| 1 function scheduleTestFunction() | 1 function scheduleTestFunction() |
| 2 { | 2 { |
| 3 setTimeout(testFunction, 0); | 3 setTimeout(testFunction, 0); |
| 4 } | 4 } |
| 5 | 5 |
| 6 var initialize_DebuggerTest = function() { | 6 var initialize_DebuggerTest = function() { |
| 7 | 7 |
| 8 InspectorTest.preloadPanel("sources"); | 8 InspectorTest.preloadPanel("sources"); |
| 9 | 9 |
| 10 InspectorTest.startDebuggerTest = function(callback, quiet) | 10 InspectorTest.startDebuggerTest = function(callback, quiet) |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 var results = []; | 273 var results = []; |
| 274 options = options || {}; | 274 options = options || {}; |
| 275 | 275 |
| 276 function printCallFrames(callFrames) | 276 function printCallFrames(callFrames) |
| 277 { | 277 { |
| 278 var printed = 0; | 278 var printed = 0; |
| 279 for (var i = 0; i < callFrames.length; i++) { | 279 for (var i = 0; i < callFrames.length; i++) { |
| 280 var frame = callFrames[i]; | 280 var frame = callFrames[i]; |
| 281 var script = frame.location().script(); | 281 var script = frame.location().script(); |
| 282 var uiLocation = WebInspector.debuggerWorkspaceBinding.rawLocationTo
UILocation(frame.location()); | 282 var uiLocation = WebInspector.debuggerWorkspaceBinding.rawLocationTo
UILocation(frame.location()); |
| 283 var isFramework = WebInspector.BlackboxSupport.isBlackboxedURL(scrip
t.sourceURL); | 283 var isFramework = WebInspector.blackboxManager.isBlackboxedRawLocati
on(frame.location()); |
| 284 if (options.dropFrameworkCallFrames && isFramework) | 284 if (options.dropFrameworkCallFrames && isFramework) |
| 285 continue; | 285 continue; |
| 286 var url; | 286 var url; |
| 287 var lineNumber; | 287 var lineNumber; |
| 288 if (uiLocation && uiLocation.uiSourceCode.project().type() !== WebIn
spector.projectTypes.Debugger) { | 288 if (uiLocation && uiLocation.uiSourceCode.project().type() !== WebIn
spector.projectTypes.Debugger) { |
| 289 url = uiLocation.uiSourceCode.name(); | 289 url = uiLocation.uiSourceCode.name(); |
| 290 lineNumber = uiLocation.lineNumber + 1; | 290 lineNumber = uiLocation.lineNumber + 1; |
| 291 } else { | 291 } else { |
| 292 url = WebInspector.displayNameForURL(script.sourceURL); | 292 url = WebInspector.displayNameForURL(script.sourceURL); |
| 293 lineNumber = frame.location().lineNumber + 1; | 293 lineNumber = frame.location().lineNumber + 1; |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 568 } | 568 } |
| 569 | 569 |
| 570 InspectorTest.selectThread = function(target) | 570 InspectorTest.selectThread = function(target) |
| 571 { | 571 { |
| 572 var threadsPane = WebInspector.panels.sources.sidebarPanes.threads; | 572 var threadsPane = WebInspector.panels.sources.sidebarPanes.threads; |
| 573 var listItem = threadsPane._debuggerModelToListItems.get(WebInspector.Debugg
erModel.fromTarget(target)); | 573 var listItem = threadsPane._debuggerModelToListItems.get(WebInspector.Debugg
erModel.fromTarget(target)); |
| 574 threadsPane._onListItemClick(listItem); | 574 threadsPane._onListItemClick(listItem); |
| 575 } | 575 } |
| 576 | 576 |
| 577 }; | 577 }; |
| OLD | NEW |