LayoutTests/ChangeLog

 12011-02-21 Anna Cavender <annacc@chromium.org>
 2
 3 Reviewed by NOBODY (OOPS!).
 4
 5 Fix for media/video-replaces-poster.html. The test was failing because it assumes the results of a seek will be immediately available, when in fact the seek is asynchronous. I did not remove the line in test-expectations because rebaselines for many (all?) platforms will likely be needed after this patch lands. See also, http://code.google.com/p/chromium/issues/detail?id=60244
 6 https://bugs.webkit.org/show_bug.cgi?id=54910
 7
 8 * media/video-replaces-poster.html:
 9
1102011-02-21 Csaba Osztrogonác <ossy@webkit.org>
211
312 Unreviewed.

LayoutTests/media/video-replaces-poster.html

11<!DOCTYPE html>
22<html>
33<head>
4  <script src="video-paint-test.js"></script>
54 <script src="../http/tests/media/media-file.js"></script>
65 <script type="text/javascript" charset="utf-8">
 6 if (window.layoutTestController)
 7 layoutTestController.waitUntilDone();
78 function doSetup()
89 {
910 var video = document.getElementsByTagName('video')[0];

1213 video.pause();
1314 video.currentTime = 1; // so the snapshot always has the same frame.
1415 });
15  init();
 16 video.addEventListener("seeked", function() {
 17 if (window.layoutTestController)
 18 layoutTestController.notifyDone();
 19 });
1620 }
1721 window.addEventListener('load', doSetup, false);
1822 </script>