Title: [119268] trunk/LayoutTests
Revision
119268
Author
[email protected]
Date
2012-06-01 12:58:16 -0700 (Fri, 01 Jun 2012)

Log Message

[chromium] Unskip http/tests/media/video-buffered.html
https://bugs.webkit.org/show_bug.cgi?id=87568

Reviewed by Eric Carlson.

* http/tests/media/video-buffered-expected.txt:
* http/tests/media/video-buffered.html:
* platform/chromium/test_expectations.txt:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (119267 => 119268)


--- trunk/LayoutTests/ChangeLog	2012-06-01 19:57:46 UTC (rev 119267)
+++ trunk/LayoutTests/ChangeLog	2012-06-01 19:58:16 UTC (rev 119268)
@@ -1,3 +1,14 @@
+2012-06-01  Ami Fischman  <[email protected]>
+
+        [chromium] Unskip http/tests/media/video-buffered.html
+        https://bugs.webkit.org/show_bug.cgi?id=87568
+
+        Reviewed by Eric Carlson.
+
+        * http/tests/media/video-buffered-expected.txt:
+        * http/tests/media/video-buffered.html:
+        * platform/chromium/test_expectations.txt:
+
 2012-06-01  Ryosuke Niwa  <[email protected]>
 
         Another Chromium test expectation update per the bug 88124.

Modified: trunk/LayoutTests/http/tests/media/video-buffered-expected.txt (119267 => 119268)


--- trunk/LayoutTests/http/tests/media/video-buffered-expected.txt	2012-06-01 19:57:46 UTC (rev 119267)
+++ trunk/LayoutTests/http/tests/media/video-buffered-expected.txt	2012-06-01 19:58:16 UTC (rev 119268)
@@ -1,5 +1,6 @@
 Start playing a video with preloading enabled, do a seek near the end and check multiple buffered timeranges have been created.
 
+EVENT(playing)
 EXPECTED (video.buffered.length == '1') OK
 RUN(video.currentTime = video.duration - 0.5)
 EVENT(ended)

Modified: trunk/LayoutTests/http/tests/media/video-buffered.html (119267 => 119268)


--- trunk/LayoutTests/http/tests/media/video-buffered.html	2012-06-01 19:57:46 UTC (rev 119267)
+++ trunk/LayoutTests/http/tests/media/video-buffered.html	2012-06-01 19:58:16 UTC (rev 119268)
@@ -8,11 +8,11 @@
 <script src=""
 <script src=""
 <script>
-    function delayedSeek() {
+    waitForEvent("ended", ended);
+    waitForEvent('playing', function() {
         testExpected("video.buffered.length", 1, "==");
         run("video.currentTime = video.duration - 0.5");
-        waitForEvent("ended", ended);
-    }
+    });
 
     function ended() {
         testExpected("video.buffered.length", 2, "==");
@@ -21,11 +21,12 @@
 
     function start () {
         video = document.getElementById('video');
-        video.src = ""
+        var mediaFile = findMediaFile("audio", "../../../media/content/test");
+        var type = mimeTypeForExtension(mediaFile.split('.').pop());
+        video.src = "" + mediaFile + "&throttle=100&type=" + type;
 
         video.play();
-        setTimeout(delayedSeek, 1000);
-     }
+    }
 </script>
 </body>
 </html>

Modified: trunk/LayoutTests/platform/chromium/test_expectations.txt (119267 => 119268)


--- trunk/LayoutTests/platform/chromium/test_expectations.txt	2012-06-01 19:57:46 UTC (rev 119267)
+++ trunk/LayoutTests/platform/chromium/test_expectations.txt	2012-06-01 19:58:16 UTC (rev 119268)
@@ -1107,9 +1107,6 @@
 // Test is intentionally SLOW as we're waiting for a connection timeout.
 BUGCR73609 SLOW : http/tests/media/video-play-stall.html = TEXT PASS
 
-// We haven't implemented detailed buffered ranged yet.
-BUGCR103513 SKIP : http/tests/media/video-buffered.html = PASS
-
 // These refer to the webkitHasClosedCaptions / webkitSupportsFullscreen
 // methods on the media elements themselves. We're not going to implement them.
 WONTFIX SKIP : media/media-captions.html = TIMEOUT
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to