[Webkit-unassigned] [Bug 54685] Remove flakiness from media/video-poster.html (in service of http://crbug.com/60845)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 21 14:33:44 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=54685





--- Comment #6 from Eric Carlson <eric.carlson at apple.com>  2011-02-21 14:33:45 PST ---
(From update of attachment 83110)

> LayoutTests/media/video-poster.html:90
> +          video.addEventListener("load", function() { testPoster(); });
> +          video.addEventListener("error", function() { testPoster(); });

This is bad is several ways and should not work at all, read the 'poster' section of the spec: http://www.w3.org/TR/html5/video.html#attr-video-poster.

As per the spec, a <video> element should NEVER fire a 'load' event, and should not fire an 'error' event if a poster fails to load. It is a bug that we fire these events, it looks we do as a side effect of using HTMLImageLoader to load the poster.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list