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>VP9 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 function waitForFinish() |
| 26 { |
| 27 if (g_swapsBeforeAck == 0) { |
| 28 domAutomationController.setAutomationId(1); |
| 29 domAutomationController.send("SUCCESS"); |
| 30 } else { |
| 31 g_swapsBeforeAck--; |
| 32 window.requestAnimationFrame(waitForFinish); |
| 33 } |
| 34 } |
| 35 </script> |
| 36 </head> |
| 37 <body onload="main()"> |
| 38 <div id="container" style="position:absolute; top:0px; left:0px"> |
| 39 <video class="nomargin"> |
| 40 <source src="../media/bear-vp9.webm" type="video/webm"> |
| 41 </video> |
| 42 </div> |
| 43 </body> |
| 44 </html> |
OLD | NEW |