Bug 129748

Summary: VideoTrackList onchange event should only fire if a track is selected, not deselected
Product: WebKit Reporter: Brendan Long <b.long>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Brendan Long
Reported 2014-03-05 11:15:00 PST
Relevant portion of the spec: > Whenever a track in a VideoTrackList *that was previously not selected is selected*, the user agent must queue a task to fire a simple event named change at the VideoTrackList object. This task must be queued before the task that fires the resize event, if any. http://www.w3.org/html/wg/drafts/html/CR/embedded-content-0.html#audiotracklist-and-videotracklist-objects Right now we fire events when a track is deselected also.
Attachments
Brendan Long
Comment 1 2014-03-05 19:27:47 PST
This is going to be hard to test for in WebKitGTK, since playbin won't let us completely turn video off (so setting selected = false just the video stream to whichever want playbin sicks). I'll probably do that first..
Note You need to log in before you can comment on or make changes to this bug.