Bug 156851 - LayoutTest http/tests/media/hls/video-controls-live-stream.html is sometimes flaky
Summary: LayoutTest http/tests/media/hls/video-controls-live-stream.html is sometimes ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Eric Carlson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-04-21 08:35 PDT by Eric Carlson
Modified: 2016-04-21 11:11 PDT (History)
3 users (show)

See Also:


Attachments
Proposed patch. (1.56 KB, patch)
2016-04-21 08:40 PDT, Eric Carlson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Carlson 2016-04-21 08:35:40 PDT
This test occasionally fails with the following diff:

+EVENT(canplaythrough)
+EVENT(play)
 EVENT(canplaythrough)
 EVENT(play)
 EXPECTED (video.duration == 'Infinity') OK

This happens because 'canplaythrough' fires every time the readyState reaches HAVE_ENOUGH_DATA, which can happen an arbitrary number of times.
Comment 1 Eric Carlson 2016-04-21 08:37:05 PDT
<rdar://problem/25792102>
Comment 2 Eric Carlson 2016-04-21 08:40:09 PDT
Created attachment 276929 [details]
Proposed patch.
Comment 3 Daniel Bates 2016-04-21 08:55:11 PDT
Comment on attachment 276929 [details]
Proposed patch.

r=me
Comment 4 WebKit Commit Bot 2016-04-21 11:10:59 PDT
Comment on attachment 276929 [details]
Proposed patch.

Clearing flags on attachment: 276929

Committed r199824: <http://trac.webkit.org/changeset/199824>
Comment 5 WebKit Commit Bot 2016-04-21 11:11:03 PDT
All reviewed patches have been landed.  Closing bug.