Bug 129770

Summary: Implement VideoTrackList.selectedIndex
Product: WebKit Reporter: Brendan Long <b.long>
Component: MediaAssignee: Brendan Long <b.long>
Status: RESOLVED FIXED    
Severity: Normal CC: calvaris, cdumez, commit-queue, eric.carlson, esprehn+autocc, glenn, gyuyoung.kim, jer.noble, kondapallykalyan, philipj, sergio
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Brendan Long 2014-03-05 19:13:37 PST
We're missing selectedIndex:

interface VideoTrackList : EventTarget {
  readonly attribute unsigned long length;
  getter VideoTrack (unsigned long index);
  VideoTrack? getTrackById(DOMString id);
  readonly attribute long selectedIndex;

           attribute EventHandler onchange;
           attribute EventHandler onaddtrack;
           attribute EventHandler onremovetrack;
};

http://www.w3.org/html/wg/drafts/html/CR/embedded-content-0.html#videotracklist
Comment 1 Brendan Long 2014-03-05 19:29:54 PST
Created attachment 225938 [details]
Patch
Comment 2 WebKit Commit Bot 2014-03-06 09:31:21 PST
Comment on attachment 225938 [details]
Patch

Clearing flags on attachment: 225938

Committed r165194: <http://trac.webkit.org/changeset/165194>
Comment 3 WebKit Commit Bot 2014-03-06 09:31:24 PST
All reviewed patches have been landed.  Closing bug.