Bug 129748
| Summary: | VideoTrackList onchange event should only fire if a track is selected, not deselected | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Brendan Long <b.long> |
| Component: | Media | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Brendan Long
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Brendan Long
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..