Bug 156851

Summary: LayoutTest http/tests/media/hls/video-controls-live-stream.html is sometimes flaky
Product: WebKit Reporter: Eric Carlson <eric.carlson>
Component: MediaAssignee: Eric Carlson <eric.carlson>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, dbates, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Proposed patch. none

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.