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 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
585 setTimeout(step, 100); | 585 setTimeout(step, 100); |
586 } | 586 } |
587 | 587 |
588 function runTest(enableWatchDogWhileDebugging) | 588 function runTest(enableWatchDogWhileDebugging) |
589 { | 589 { |
590 if (!window.testRunner) | 590 if (!window.testRunner) |
591 return; | 591 return; |
592 | 592 |
593 testRunner.dumpAsText(); | 593 testRunner.dumpAsText(); |
594 testRunner.waitUntilDone(); | 594 testRunner.waitUntilDone(); |
595 testRunner.display(); | |
596 | 595 |
597 function initializeFrontend(initializationFunctions) | 596 function initializeFrontend(initializationFunctions) |
598 { | 597 { |
599 if (window.InspectorTest) { | 598 if (window.InspectorTest) { |
600 InspectorTest.pageLoaded(); | 599 InspectorTest.pageLoaded(); |
601 return; | 600 return; |
602 } | 601 } |
603 | 602 |
604 InspectorTest = {}; | 603 InspectorTest = {}; |
605 | 604 |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
732 evaluateInWebInspector: function(callId, script) | 731 evaluateInWebInspector: function(callId, script) |
733 { | 732 { |
734 window.opener.postMessage(["evaluateInWebInspector", callId, script], "*
"); | 733 window.opener.postMessage(["evaluateInWebInspector", callId, script], "*
"); |
735 }, | 734 }, |
736 | 735 |
737 display: function() { } | 736 display: function() { } |
738 } | 737 } |
739 | 738 |
740 if (!window.testRunner && window.opener) | 739 if (!window.testRunner && window.opener) |
741 window.testRunner = new StandaloneTestRunnerStub(); | 740 window.testRunner = new StandaloneTestRunnerStub(); |
OLD | NEW |