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.
<rdar://problem/25792102>
Created attachment 276929 [details] Proposed patch.
Comment on attachment 276929 [details] Proposed patch. r=me
Comment on attachment 276929 [details] Proposed patch. Clearing flags on attachment: 276929 Committed r199824: <http://trac.webkit.org/changeset/199824>
All reviewed patches have been landed. Closing bug.