Bug 124789 - Fire "change" event on TextTrackList when a TextTrack's mode changes
Summary: Fire "change" event on TextTrackList when a TextTrack's mode changes
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brendan Long
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-22 13:31 PST by Brendan Long
Modified: 2013-11-22 14:22 PST (History)
8 users (show)

See Also:


Attachments
Patch (5.36 KB, patch)
2013-11-22 13:41 PST, Brendan Long
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brendan Long 2013-11-22 13:31:53 PST
TextTrackList has gained the same "change" event as AudioTrackList and VideoTrackList:

> Whenever a text track that is in a media element's list of text tracks has its text track mode change value, the user agent must run the following steps for the media element:
>
>    If the media element's pending text track change notification flag is set, abort these steps.
>
>    Set the media element's pending text track change notification flag.
>
>    Queue a task that runs the following substeps:
>
>        Unset the media element's pending text track change notification flag.
>
>        Fire a simple event named change at the media element's textTracks attribute's TextTrackList object.

http://www.w3.org/TR/html5/embedded-content-0.html#texttracklist
Comment 1 Brendan Long 2013-11-22 13:41:42 PST
Created attachment 217712 [details]
Patch
Comment 2 WebKit Commit Bot 2013-11-22 14:21:59 PST
Comment on attachment 217712 [details]
Patch

Clearing flags on attachment: 217712

Committed r159714: <http://trac.webkit.org/changeset/159714>
Comment 3 WebKit Commit Bot 2013-11-22 14:22:01 PST
All reviewed patches have been landed.  Closing bug.