Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Side by Side Diff: LayoutTests/http/tests/inspector/inspector-test.js

Issue 183703003: Remove more testRunner.display() calls from LayoutTests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Ditch fast/text/font-initial changes too Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698