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

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

Issue 187193002: Fix an issue that subtitle is not shown for native fullscreen video that is inside an iframe (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: addressing comments 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
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 3
4 logConsole(); 4 logConsole();
5 5
6 if (window.testRunner) { 6 if (window.testRunner) {
7 testRunner.dumpAsText(); 7 if (window.runPixelTests)
8 testRunner.dumpAsTextWithPixelResults();
9 else
10 testRunner.dumpAsText();
8 testRunner.waitUntilDone(); 11 testRunner.waitUntilDone();
9 } 12 }
10 13
11 function runWithKeyDown(fn) 14 function runWithKeyDown(fn)
12 { 15 {
13 // FIXME: WKTR does not yet support the keyDown() message. Do a mouseDown h ere 16 // FIXME: WKTR does not yet support the keyDown() message. Do a mouseDown h ere
14 // instead until keyDown support is added. 17 // instead until keyDown support is added.
15 var eventName = !window.testRunner || eventSender.keyDown ? 'keypress' : 'mo usedown' 18 var eventName = !window.testRunner || eventSender.keyDown ? 'keypress' : 'mo usedown'
16 19
17 function thunk() { 20 function thunk() {
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 else 158 else
156 consoleWrite(text + " <span style='color:red'>FAIL</span>"); 159 consoleWrite(text + " <span style='color:red'>FAIL</span>");
157 } 160 }
158 161
159 function consoleWrite(text) 162 function consoleWrite(text)
160 { 163 {
161 if (testEnded) 164 if (testEnded)
162 return; 165 return;
163 logConsole().innerHTML += text + "<br>"; 166 logConsole().innerHTML += text + "<br>";
164 } 167 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698