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

Side by Side Diff: LayoutTests/compositing/video/video-reflection.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, 2 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../media/media-file.js"></script> 4 <script src="../../media/media-file.js"></script>
5 <script src="../../media/video-test.js"></script> 5 <script src="../../media/video-test.js"></script>
6 <script type="text/javascript"> 6 <script type="text/javascript">
7 if (window.testRunner) { 7 if (window.testRunner) {
8 window.testRunner.dumpAsText(true); 8 window.testRunner.dumpAsTextWithPixelResults();
9 window.testRunner.waitUntilDone(); 9 window.testRunner.waitUntilDone();
10 } 10 }
11 function runTest() { 11 function runTest() {
12 video = document.getElementById('video'); 12 video = document.getElementById('video');
13 video.addEventListener('canplaythrough', canplaythrough, true); 13 video.addEventListener('canplaythrough', canplaythrough, true);
14 video.src = findMediaFile('video', '../../media/content/test'); 14 video.src = findMediaFile('video', '../../media/content/test');
15 } 15 }
16 function canplaythrough(e) { 16 function canplaythrough(e) {
17 var video = e.target; 17 var video = e.target;
18 video.addEventListener('seeked', seeked, true); 18 video.addEventListener('seeked', seeked, true);
(...skipping 11 matching lines...) Expand all
30 -webkit-box-reflect: below 0px; 30 -webkit-box-reflect: below 0px;
31 border: 3px solid red; 31 border: 3px solid red;
32 } 32 }
33 </style> 33 </style>
34 </head> 34 </head>
35 <body onload="runTest()"> 35 <body onload="runTest()">
36 <video id="video"></video> 36 <video id="video"></video>
37 </body> 37 </body>
38 </html> 38 </html>
39 39
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698