Bug 138806 - media/track/track-in-band-cues-added-once.html fails sometimes
Summary: media/track/track-in-band-cues-added-once.html fails sometimes
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Eric Carlson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-11-17 13:49 PST by Alexey Proskuryakov
Modified: 2015-01-29 16:04 PST (History)
3 users (show)

See Also:


Attachments
Proposed patch. (6.56 KB, patch)
2015-01-29 14:48 PST, 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 Alexey Proskuryakov 2014-11-17 13:49:56 PST
I'm seeing these failures again:

@@ -24,5 +24,10 @@
 EVENT(seeked)
 EXPECTED (inbandTrack1.cues.length > '0') OK
 RUN(video.pause())
+Found unexpected cue starting at 0.2 FAIL
+Found unexpected cue starting at 1.0008333333333332 FAIL
+Found unexpected cue starting at 1.7682333333333333 FAIL
+Found unexpected cue starting at 2.4355333333333333 FAIL
+Found unexpected cue starting at 2.769233333333333 FAIL
 END OF TEST
Comment 1 Radar WebKit Bug Importer 2014-11-17 13:50:29 PST
<rdar://problem/19006312>
Comment 2 Alexey Proskuryakov 2014-11-17 13:52:27 PST
Marked as flaky in <http://trac.webkit.org/r176228>.
Comment 3 Eric Carlson 2015-01-29 13:05:11 PST
As with bug 140974, it looks like this happens when AVFoundation doesn't deliver the first cue when playback starts - presumably because of startup latency.
Comment 4 Eric Carlson 2015-01-29 14:48:43 PST
Created attachment 245652 [details]
Proposed patch.
Comment 5 Brent Fulgham 2015-01-29 15:02:36 PST
Comment on attachment 245652 [details]
Proposed patch.

r=me
Comment 6 WebKit Commit Bot 2015-01-29 16:04:37 PST
Comment on attachment 245652 [details]
Proposed patch.

Clearing flags on attachment: 245652

Committed r179378: <http://trac.webkit.org/changeset/179378>
Comment 7 WebKit Commit Bot 2015-01-29 16:04:41 PST
All reviewed patches have been landed.  Closing bug.