| OLD | NEW |
| 1 var initialize_InspectorTest = function() { | 1 var initialize_InspectorTest = function() { |
| 2 | 2 |
| 3 var results = []; | 3 var results = []; |
| 4 var resultsSynchronized = false; | 4 var resultsSynchronized = false; |
| 5 | 5 |
| 6 function consoleOutputHook(messageType) | 6 function consoleOutputHook(messageType) |
| 7 { | 7 { |
| 8 InspectorTest.addResult(messageType + ": " + Array.prototype.slice.call(argu
ments, 1)); | 8 InspectorTest.addResult(messageType + ": " + Array.prototype.slice.call(argu
ments, 1)); |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 607 | 607 |
| 608 WebInspector.TempFile = InspectorTest.TempFileMock; | 608 WebInspector.TempFile = InspectorTest.TempFileMock; |
| 609 | 609 |
| 610 WebInspector.targetManager.observeTargets({ | 610 WebInspector.targetManager.observeTargets({ |
| 611 targetAdded: function(target) | 611 targetAdded: function(target) |
| 612 { | 612 { |
| 613 if (!WebInspector.domModel) | 613 if (!WebInspector.domModel) |
| 614 WebInspector.domModel = target.domModel; | 614 WebInspector.domModel = target.domModel; |
| 615 if (!WebInspector.consoleModel) | 615 if (!WebInspector.consoleModel) |
| 616 WebInspector.consoleModel = target.consoleModel; | 616 WebInspector.consoleModel = target.consoleModel; |
| 617 if (!WebInspector.networkManager) |
| 618 WebInspector.networkManager = target.networkManager; |
| 617 }, | 619 }, |
| 618 | 620 |
| 619 targetRemoved: function(target) { } | 621 targetRemoved: function(target) { } |
| 620 }); | 622 }); |
| 621 | 623 |
| 622 }; // initialize_InspectorTest | 624 }; // initialize_InspectorTest |
| 623 | 625 |
| 624 var initializeCallId = 0; | 626 var initializeCallId = 0; |
| 625 var runTestCallId = 1; | 627 var runTestCallId = 1; |
| 626 var completeTestCallId = 2; | 628 var completeTestCallId = 2; |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 834 evaluateInWebInspector: function(callId, script) | 836 evaluateInWebInspector: function(callId, script) |
| 835 { | 837 { |
| 836 window.opener.postMessage(["evaluateInWebInspector", callId, script], "*
"); | 838 window.opener.postMessage(["evaluateInWebInspector", callId, script], "*
"); |
| 837 }, | 839 }, |
| 838 | 840 |
| 839 display: function() { } | 841 display: function() { } |
| 840 } | 842 } |
| 841 | 843 |
| 842 if (!window.testRunner && window.opener) | 844 if (!window.testRunner && window.opener) |
| 843 window.testRunner = new StandaloneTestRunnerStub(); | 845 window.testRunner = new StandaloneTestRunnerStub(); |
| OLD | NEW |