Changeset 80098 in webkit


Ignore:
Timestamp:
Mar 1, 2011 11:34:22 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-03-01 Anna Cavender <annacc@chromium.org>

Reviewed by Eric Carlson.

Remove playing of video in media/video-replaces-poster.html and update text results.
https://bugs.webkit.org/show_bug.cgi?id=54910

  • media/video-replaces-poster-expected.txt: Added.
  • media/video-replaces-poster.html:
  • platform/chromium-win/media/video-replaces-poster-expected.txt: Removed.
  • platform/gtk/media/video-replaces-poster-expected.txt: Removed.
  • platform/mac/media/video-replaces-poster-expected.txt: Removed.
Location:
trunk/LayoutTests
Files:
1 added
3 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r80097 r80098  
     12011-03-01  Anna Cavender  <annacc@chromium.org>
     2
     3        Reviewed by Eric Carlson.
     4
     5        Remove playing of video in media/video-replaces-poster.html and update text results.
     6        https://bugs.webkit.org/show_bug.cgi?id=54910
     7
     8        * media/video-replaces-poster-expected.txt: Added.
     9        * media/video-replaces-poster.html:
     10        * platform/chromium-win/media/video-replaces-poster-expected.txt: Removed.
     11        * platform/gtk/media/video-replaces-poster-expected.txt: Removed.
     12        * platform/mac/media/video-replaces-poster-expected.txt: Removed.
     13
    1142011-03-01  Kent Tamura  <tkent@chromium.org>
    215
  • trunk/LayoutTests/media/video-replaces-poster.html

    r79630 r80098  
    33<head>
    44    <script src="media-file.js"></script>
     5    <script src="video-test.js"></script>
    56    <script type="text/javascript" charset="utf-8">
    6         if (window.layoutTestController)
    7             layoutTestController.waitUntilDone();
    87        function doSetup()
    98        {
    10             var video = document.getElementsByTagName('video')[0];
     9            findMediaElement();
    1110            video.src = findMediaFile('video', 'content/test');
    1211            video.addEventListener("canplaythrough", function () {
    13                 video.pause();
    1412                video.currentTime = 1;  // so the snapshot always has the same frame.
    1513            });
    1614            video.addEventListener("seeked", function() {
     15                testExpected(video.currentTime, 1);
    1716                if (window.layoutTestController)
    1817                    layoutTestController.notifyDone();
     
    2423<body>
    2524    <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=34966">https://bugs.webkit.org/show_bug.cgi?id=34966</a>. <br>
    26     You should see the video play below.</p>
     25    You should see the video below.</p>
    2726
    28     <video width="480" height="270" poster="content/abe.png" autoplay></video>
     27    <video width="480" height="270" poster="content/abe.png"></video>
    2928</body>
    3029</html>
Note: See TracChangeset for help on using the changeset viewer.