OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE HTML> | |
2 | |
3 <!-- READ BEFORE UPDATING: | |
4 If this test is updated make sure to increment the "revision" value of the | |
5 associated test in content/test/gpu/page_sets/pixel_tests.py. This will ensure | |
6 that the baseline images are regenerated on the next run. | |
7 --> | |
8 | |
9 <html> | |
10 <head> | |
11 <title>MP4 Video test</title> | |
12 <style type="text/css"> | |
13 .nomargin { | |
14 margin: 0px auto; | |
15 } | |
16 </style> | |
17 <script> | |
18 var g_swapsBeforeAck = 15; | |
19 | |
20 function main() | |
21 { | |
22 waitForFinish(); | |
23 } | |
24 | |
25 | |
26 function waitForFinish() | |
27 { | |
28 if (g_swapsBeforeAck == 0) { | |
29 domAutomationController.setAutomationId(1); | |
30 domAutomationController.send("SUCCESS"); | |
Ken Russell (switch to Gerrit)
2017/03/28 01:21:52
It looks to me like this test might currently be f
| |
31 } else { | |
32 g_swapsBeforeAck--; | |
33 window.requestAnimationFrame(waitForFinish); | |
34 } | |
35 } | |
36 </script> | |
37 </head> | |
38 <body onload="main()"> | |
39 <div id="container" style="position:absolute; top:0px; left:0px"> | |
40 <video class="nomargin"> | |
41 <source src="../media/bear.mp4" type="video/mp4"> | |
42 </video> | |
43 </div> | |
44 </body> | |
45 </html> | |
OLD | NEW |