Bug 118477

Summary: [Mac] every enabled text track should be listed in the track menu
Product: WebKit Reporter: Eric Carlson <eric.carlson>
Component: MediaAssignee: Eric Carlson <eric.carlson>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, cdumez, commit-queue, dino, esprehn+autocc, glenn, gyuyoung.kim, jer.noble, rakuco, rniwa
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Proposed patch
jer.noble: review+, buildbot: commit-queue-
Archive of layout-test-results from webkit-ews-04 for mac-mountainlion
none
Archive of layout-test-results from webkit-ews-11 for mac-mountainlion-wk2
none
Updated patch none

Description Eric Carlson 2013-07-08 10:21:54 PDT
The logic that chooses text tracks for the track menu does not consider whether or not a track is visible, so it is possible for a track that is enabled and displaying cues to not be in the menu. This will cause a confusing user experience.
Comment 1 Eric Carlson 2013-07-08 10:31:19 PDT
<rdar://problem/13832062>
Comment 2 Eric Carlson 2013-07-08 10:36:03 PDT
Created attachment 206258 [details]
Proposed patch
Comment 3 Build Bot 2013-07-08 12:22:41 PDT
Comment on attachment 206258 [details]
Proposed patch

Attachment 206258 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.appspot.com/results/987835

New failing tests:
media/video-controls-captions-trackmenu-includes-enabled-track.html
Comment 4 Build Bot 2013-07-08 12:22:43 PDT
Created attachment 206263 [details]
Archive of layout-test-results from webkit-ews-04 for mac-mountainlion

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: webkit-ews-04  Port: mac-mountainlion  Platform: Mac OS X 10.8.3
Comment 5 Build Bot 2013-07-08 17:38:56 PDT
Comment on attachment 206258 [details]
Proposed patch

Attachment 206258 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/864468

New failing tests:
media/video-controls-captions-trackmenu-includes-enabled-track.html
Comment 6 Build Bot 2013-07-08 17:38:58 PDT
Created attachment 206286 [details]
Archive of layout-test-results from webkit-ews-11 for mac-mountainlion-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-11  Port: mac-mountainlion-wk2  Platform: Mac OS X 10.8.3
Comment 7 Eric Carlson 2013-07-09 09:47:57 PDT
Created attachment 206332 [details]
Updated patch
Comment 8 WebKit Commit Bot 2013-07-10 14:04:23 PDT
Comment on attachment 206332 [details]
Updated patch

Clearing flags on attachment: 206332

Committed r152547: <http://trac.webkit.org/changeset/152547>
Comment 9 WebKit Commit Bot 2013-07-10 14:04:28 PDT
All reviewed patches have been landed.  Closing bug.