Summary: | Unset the active flag when TextTrackCues go away | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Anna Cavender <annacc> | ||||||
Component: | Media | Assignee: | Eric Carlson <eric.carlson> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | dglazkov, eric.carlson, vcarbune, webkit-bug-importer, webkit.review.bot | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 43668 | ||||||||
Attachments: |
|
Description
Anna Cavender
2011-11-16 14:49:16 PST
Created attachment 125930 [details]
Proposed patch
We already clear a cue's active flag when it is removed from the track, and existing tests check that. We were not clearing active flags when the media element's readyState is set to HAVE_NOTHING, this patch does that. Comment on attachment 125930 [details] Proposed patch Attachment 125930 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/11460118 New failing tests: media/track/track-cue-mutable-text.html media/track/track-active-cues.html Created attachment 126357 [details]
Updated patch.
Comment on attachment 126357 [details] Updated patch. Attachment 126357 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/11480402 New failing tests: media/track/track-cue-mutable-text.html Comment on attachment 126357 [details]
Updated patch.
Code change looks good to me, but please check why media/track/track-cue-mutable-text.html is failing on cr-linux. Maybe it just needs to be skipped. Conditional r+ assuming that test failure can be fixed.
|