[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

philn at webkit.org philn at webkit.org
Wed Dec 22 11:26:02 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 84b521f0d1eccc5013476f8ed49f15a457cdcec4
Author: philn at webkit.org <philn at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Jul 23 06:47:03 2010 +0000

    2010-07-22  Philippe Normand  <pnormand at igalia.com>
    
            Reviewed by Eric Carlson.
    
            media/video-duration-known-after-eos.html test is slow
            https://bugs.webkit.org/show_bug.cgi?id=42809
    
            Seek near the end of the media to speed the test up.
    
            * media/video-duration-known-after-eos-expected.txt:
            * media/video-duration-known-after-eos.html:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63953 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 0db9fe6..6563ac5 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,15 @@
+2010-07-22  Philippe Normand  <pnormand at igalia.com>
+
+        Reviewed by Eric Carlson.
+
+        media/video-duration-known-after-eos.html test is slow
+        https://bugs.webkit.org/show_bug.cgi?id=42809
+
+        Seek near the end of the media to speed the test up.
+
+        * media/video-duration-known-after-eos-expected.txt:
+        * media/video-duration-known-after-eos.html:
+
 2010-07-22  Shinichiro Hamaji  <hamaji at chromium.org>
 
         Unreviewed. Add expectations for Qt and Gtk.
diff --git a/LayoutTests/media/video-duration-known-after-eos-expected.txt b/LayoutTests/media/video-duration-known-after-eos-expected.txt
index e067c52..9c0550b 100644
--- a/LayoutTests/media/video-duration-known-after-eos-expected.txt
+++ b/LayoutTests/media/video-duration-known-after-eos-expected.txt
@@ -2,6 +2,7 @@ Tests that duration is known after playback ended.
 
 
 RUN(video.play())
+RUN(video.currentTime = video.duration - 0.2)
 EXPECTED (video.duration > '0') OK
 END OF TEST
 
diff --git a/LayoutTests/media/video-duration-known-after-eos.html b/LayoutTests/media/video-duration-known-after-eos.html
index f706027..9efa0f3 100644
--- a/LayoutTests/media/video-duration-known-after-eos.html
+++ b/LayoutTests/media/video-duration-known-after-eos.html
@@ -14,11 +14,17 @@
                 endTest();
             }
 
+            function playing()
+            {
+                run("video.currentTime = video.duration - 0.2");
+            }
+
             function start()
             {
                 findMediaElement();
 
                 video.addEventListener("ended", ended);
+                video.addEventListener("playing", playing);
 
                 video.src = findMediaFile("video", "content/test");
                 consoleWrite("");

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list