| 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 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 474 setTimeout(step, 100); | 474 setTimeout(step, 100); |
| 475 } | 475 } |
| 476 | 476 |
| 477 function runTest(enableWatchDogWhileDebugging) | 477 function runTest(enableWatchDogWhileDebugging) |
| 478 { | 478 { |
| 479 if (!window.testRunner) | 479 if (!window.testRunner) |
| 480 return; | 480 return; |
| 481 | 481 |
| 482 testRunner.dumpAsText(); | 482 testRunner.dumpAsText(); |
| 483 testRunner.waitUntilDone(); | 483 testRunner.waitUntilDone(); |
| 484 testRunner.display(); | |
| 485 | 484 |
| 486 function initializeFrontend(initializationFunctions) | 485 function initializeFrontend(initializationFunctions) |
| 487 { | 486 { |
| 488 if (window.InspectorTest) { | 487 if (window.InspectorTest) { |
| 489 InspectorTest.pageLoaded(); | 488 InspectorTest.pageLoaded(); |
| 490 return; | 489 return; |
| 491 } | 490 } |
| 492 | 491 |
| 493 InspectorTest = {}; | 492 InspectorTest = {}; |
| 494 | 493 |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 618 evaluateInWebInspector: function(callId, script) | 617 evaluateInWebInspector: function(callId, script) |
| 619 { | 618 { |
| 620 window.opener.postMessage(["evaluateInWebInspector", callId, script], "*
"); | 619 window.opener.postMessage(["evaluateInWebInspector", callId, script], "*
"); |
| 621 }, | 620 }, |
| 622 | 621 |
| 623 display: function() { } | 622 display: function() { } |
| 624 } | 623 } |
| 625 | 624 |
| 626 if (!window.testRunner && window.opener) | 625 if (!window.testRunner && window.opener) |
| 627 window.testRunner = new StandaloneTestRunnerStub(); | 626 window.testRunner = new StandaloneTestRunnerStub(); |
| OLD | NEW |