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

Side by Side Diff: LayoutTests/fullscreen/full-screen-test.js

Issue 24438004: Rename testRunner.dumpAsText(true) to testRunner.dumpAsTextWithPixelResults() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more tests Created 7 years, 3 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 console = null; 1 var console = null;
2 var printFullTestDetails = true; // This is optionaly switched of by test whose tested values can differ. (see disableFullTestDetailsPrinting()) 2 var printFullTestDetails = true; // This is optionaly switched of by test whose tested values can differ. (see disableFullTestDetailsPrinting())
3 var runPixelTests;
4 3
5 logConsole(); 4 logConsole();
6 5
7 if (window.testRunner) { 6 if (window.testRunner) {
8 testRunner.dumpAsText(runPixelTests); 7 testRunner.dumpAsText();
9 testRunner.waitUntilDone(); 8 testRunner.waitUntilDone();
10 } 9 }
11 10
12 function runWithKeyDown(fn) 11 function runWithKeyDown(fn)
13 { 12 {
14 // FIXME: WKTR does not yet support the keyDown() message. Do a mouseDown h ere 13 // FIXME: WKTR does not yet support the keyDown() message. Do a mouseDown h ere
15 // instead until keyDown support is added. 14 // instead until keyDown support is added.
16 var eventName = !window.testRunner || eventSender.keyDown ? 'keypress' : 'mo usedown' 15 var eventName = !window.testRunner || eventSender.keyDown ? 'keypress' : 'mo usedown'
17 16
18 function thunk() { 17 function thunk() {
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 else 155 else
157 consoleWrite(text + " <span style='color:red'>FAIL</span>"); 156 consoleWrite(text + " <span style='color:red'>FAIL</span>");
158 } 157 }
159 158
160 function consoleWrite(text) 159 function consoleWrite(text)
161 { 160 {
162 if (testEnded) 161 if (testEnded)
163 return; 162 return;
164 logConsole().innerHTML += text + "<br>"; 163 logConsole().innerHTML += text + "<br>";
165 } 164 }
OLDNEW
« no previous file with comments | « LayoutTests/fullscreen/full-screen-table-section.html ('k') | LayoutTests/http/tests/images/jpeg-partial-load.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698