Title: [198857] trunk/LayoutTests
Revision
198857
Author
[email protected]
Date
2016-03-30 15:05:04 -0700 (Wed, 30 Mar 2016)

Log Message

Fix the media test added in r185402
https://bugs.webkit.org/show_bug.cgi?id=156040

Reviewed by Simon Fraser.

* media/video-transformed-by-_javascript_.html: Load a valid media file.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (198856 => 198857)


--- trunk/LayoutTests/ChangeLog	2016-03-30 21:48:52 UTC (rev 198856)
+++ trunk/LayoutTests/ChangeLog	2016-03-30 22:05:04 UTC (rev 198857)
@@ -1,3 +1,12 @@
+2016-03-30  Eric Carlson  <[email protected]>
+
+        Fix the media test added in r185402
+        https://bugs.webkit.org/show_bug.cgi?id=156040
+
+        Reviewed by Simon Fraser.
+
+        * media/video-transformed-by-_javascript_.html: Load a valid media file.
+
 2016-03-30  Commit Queue  <[email protected]>
 
         Unreviewed, rolling out r198828.

Modified: trunk/LayoutTests/media/video-transformed-by-_javascript_.html (198856 => 198857)


--- trunk/LayoutTests/media/video-transformed-by-_javascript_.html	2016-03-30 21:48:52 UTC (rev 198856)
+++ trunk/LayoutTests/media/video-transformed-by-_javascript_.html	2016-03-30 22:05:04 UTC (rev 198857)
@@ -1,6 +1,7 @@
 <!DOCTYPE html>
 <html>
 <head>
+    <script src=""
     <script type="text/_javascript_">
         if (window.testRunner) {
             testRunner.dumpAsText();
@@ -21,11 +22,17 @@
             dumpLayers();
         }
 
-        window.addEventListener('load', rotate, false);
+        function start()
+        {
+            videoRotate.addEventListener('canplaythrough', rotate, false);
+            videoRotate.src = "" "content/test");
+        }
+
+        window.addEventListener('load', start, false);
 </script>
 </head>
 <body>
     <pre id="outText"></pre>
-    <video id="videoRotate" width="480" height="270" type="video/mp4" src=""
+    <video id="videoRotate" width="480" height="270"></video>
 </body>
-</html>
\ No newline at end of file
+</html>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to