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

Side by Side Diff: LayoutTests/compositing/video-page-visibility.html

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 <html> 1 <html>
2 <head> 2 <head>
3 <style> 3 <style>
4 video { 4 video {
5 width: 400px; 5 width: 400px;
6 height: 300px; 6 height: 300px;
7 } 7 }
8 </style> 8 </style>
9 <script type="text/javascript" charset="utf-8"> 9 <script type="text/javascript" charset="utf-8">
10 if (window.testRunner) { 10 if (window.testRunner) {
11 testRunner.dumpAsText(true); 11 testRunner.dumpAsTextWithPixelResults();
12 testRunner.waitUntilDone(); 12 testRunner.waitUntilDone();
13 } 13 }
14 </script> 14 </script>
15 </head> 15 </head>
16 <body> 16 <body>
17 <video></video> 17 <video></video>
18 <script> 18 <script>
19 var video = document.getElementsByTagName('video')[0]; 19 var video = document.getElementsByTagName('video')[0];
20 video.src = 'resources/video.' + (video.canPlayType('video/ogg') ? 'ogv' : ' mp4'); 20 video.src = 'resources/video.' + (video.canPlayType('video/ogg') ? 'ogv' : ' mp4');
21 video.addEventListener('canplaythrough', function() { 21 video.addEventListener('canplaythrough', function() {
22 if (window.testRunner) { 22 if (window.testRunner) {
23 testRunner.display(); 23 testRunner.display();
24 testRunner.setPageVisibility("hidden"); 24 testRunner.setPageVisibility("hidden");
25 testRunner.display(); 25 testRunner.display();
26 testRunner.notifyDone(); 26 testRunner.notifyDone();
27 } 27 }
28 }, false); 28 }, false);
29 </script> 29 </script>
30 </body> 30 </body>
31 </html> 31 </html>
OLDNEW
« no previous file with comments | « LayoutTests/compositing/tiny-layer-rotated.html ('k') | LayoutTests/compositing/video/video-controls-layer-creation.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698