[Webkit-unassigned] [Bug 134976] REGRESSION(r171033) [GTK] media/media-controls-invalid-url.html and media/video-fast-seek.html fail

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 21 04:45:07 PDT 2017


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

Ms2ger <Ms2ger at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Ms2ger at igalia.com

--- Comment #3 from Ms2ger <Ms2ger at igalia.com> ---
(In reply to Carlos Alberto Lopez Perez from comment #0)
> Revision r171033 <http://trac.webkit.org/r171033> has caused the 2 following
> tests to fail on the GTK port:
> 
>   media/media-controls-invalid-url.html [ Failure ]

Current result:

This tests that media element controls are reset to their default state when the src is changed to an invalid url.

This test only runs in DRT!


EVENT(canplaythrough)
EXPECTED (getTimeLineValue() == '0') OK
EVENT(seeked)
EXPECTED (getTimeLineValue() == '1') OK
EVENT(error)
EXPECTED (getTimeLineValue() == '0'), OBSERVED '1' FAIL
END OF TEST


Two problems here:

- We don't update the displayed duration after an error event.
- Even if we did update it from the error handler, the failing check runs before mediaControls's error handler. (A setTimeout(0) in the test would probably be enough to fix that, though.)

Also note that the test fails the same way on mac: bug 67716.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170821/2d03074a/attachment-0001.html>


More information about the webkit-unassigned mailing list