| 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 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 586 function contextCreated() | 586 function contextCreated() |
| 587 { | 587 { |
| 588 target.runtimeModel.removeEventListener(WebInspector.RuntimeModel.Events
.ExecutionContextCreated, contextCreated); | 588 target.runtimeModel.removeEventListener(WebInspector.RuntimeModel.Events
.ExecutionContextCreated, contextCreated); |
| 589 callback(target.runtimeModel.executionContexts()[0]); | 589 callback(target.runtimeModel.executionContexts()[0]); |
| 590 } | 590 } |
| 591 } | 591 } |
| 592 | 592 |
| 593 InspectorTest.selectThread = function(target) | 593 InspectorTest.selectThread = function(target) |
| 594 { | 594 { |
| 595 var threadsPane = self.runtime.sharedInstance(WebInspector.ThreadsSidebarPan
e); | 595 var threadsPane = self.runtime.sharedInstance(WebInspector.ThreadsSidebarPan
e); |
| 596 var listItem = threadsPane._debuggerModelToListItems.get(WebInspector.Debugg
erModel.fromTarget(target)); | 596 var listItem = threadsPane._listItemForTarget(target); |
| 597 threadsPane._onListItemClick(listItem); | 597 threadsPane._onListItemClick(listItem); |
| 598 } | 598 } |
| 599 | 599 |
| 600 InspectorTest.evaluateOnCurrentCallFrame = function(code) | 600 InspectorTest.evaluateOnCurrentCallFrame = function(code) |
| 601 { | 601 { |
| 602 return new Promise(succ => InspectorTest.debuggerModel.evaluateOnSelectedCal
lFrame(code, "console", false, true, false, false, InspectorTest.safeWrap(succ))
); | 602 return new Promise(succ => InspectorTest.debuggerModel.evaluateOnSelectedCal
lFrame(code, "console", false, true, false, false, InspectorTest.safeWrap(succ))
); |
| 603 } | 603 } |
| 604 | 604 |
| 605 }; | 605 }; |
| OLD | NEW |