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

Unified Diff: content/test/data/gpu/pixel_video_mp4.html

Issue 2769063006: Add GPU integration pixel tests for VP9 and MP4 video. (Closed)
Patch Set: better Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/test/data/gpu/pixel_video_vp9.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/gpu/pixel_video_mp4.html
diff --git a/content/test/data/gpu/pixel_video_mp4.html b/content/test/data/gpu/pixel_video_mp4.html
new file mode 100644
index 0000000000000000000000000000000000000000..6b66e06864bb82fb17a4419330baa74a09039b90
--- /dev/null
+++ b/content/test/data/gpu/pixel_video_mp4.html
@@ -0,0 +1,45 @@
+<!DOCTYPE HTML>
+
+<!-- READ BEFORE UPDATING:
+If this test is updated make sure to increment the "revision" value of the
+associated test in content/test/gpu/page_sets/pixel_tests.py. This will ensure
+that the baseline images are regenerated on the next run.
+-->
+
+<html>
+<head>
+<title>MP4 Video test</title>
+<style type="text/css">
+.nomargin {
+ margin: 0px auto;
+}
+</style>
+<script>
+var g_swapsBeforeAck = 15;
+
+function main()
+{
+ waitForFinish();
+}
+
+
+function waitForFinish()
+{
+ if (g_swapsBeforeAck == 0) {
+ domAutomationController.setAutomationId(1);
+ 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
+ } else {
+ g_swapsBeforeAck--;
+ window.requestAnimationFrame(waitForFinish);
+ }
+}
+</script>
+</head>
+<body onload="main()">
+<div id="container" style="position:absolute; top:0px; left:0px">
+<video class="nomargin">
+<source src="../media/bear.mp4" type="video/mp4">
+</video>
+</div>
+</body>
+</html>
« no previous file with comments | « no previous file | content/test/data/gpu/pixel_video_vp9.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698