This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26095 - Unselecting all video tracks should fire a change event
Summary: Unselecting all video tracks should fire a change event
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-14 13:19 UTC by contributor
Modified: 2014-08-28 18:49 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2014-06-14 13:19:06 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#toggle-video-track
Complete: http://www.whatwg.org/c#toggle-video-track
Referrer: 

Comment:
Unselecting all video tracks should fire a change event

Posted from: 213.112.154.79
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36 OPR/22.0.1471.40 (Edition Next)
Comment 1 Philip Jägenstedt 2014-06-14 13:44:44 UTC
"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 means that unselecting the video track with e.g. "video.videoTracks[0].selected = false" will not fire a change event, which seems wrong.
Comment 2 contributor 2014-08-28 18:49:34 UTC
Checked in as WHATWG revision r8723.
Check-in comment: Fire 'change' when unselected a video track too.
http://html5.org/tools/web-apps-tracker?from=8722&to=8723