WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
129748
VideoTrackList onchange event should only fire if a track is selected, not deselected
https://bugs.webkit.org/show_bug.cgi?id=129748
Summary
VideoTrackList onchange event should only fire if a track is selected, not de...
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
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug