Skip to content
  • commit-queue@webkit.org's avatar
    Track controls show metadata and chapter tracks · e9e9f05d
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=122468
    
    Patch by Brendan Long <b.long@cablelabs.com> on 2013-10-10
    Reviewed by Darin Adler.
    
    Source/WebCore:
    
    Test: media/video-controls-captions-trackmenu-only-captions-descriptions-and-subtitles.html
    
    * page/CaptionUserPreferences.cpp:
    (WebCore::CaptionUserPreferences::sortedTrackListForMenu): Only show captions, descriptions and subtitles in the track controls.
    
    LayoutTests:
    
    Add a test to make sure we don't show metadata and chapter tracks in the track controls.
    
    * media/video-controls-captions-trackmenu-only-captions-descriptions-and-subtitles-expected.txt: Added.
    * media/video-controls-captions-trackmenu-only-captions-descriptions-and-subtitles.html: Added.
    * platform/efl/TestExpectations: Skip, uses caption button, not track menu.
    * platform/mac/TestExpectations: Skip, track menu tests all fail on Mac.
    * platform/win/TestExpectations: Same.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157290 268f45c...
    e9e9f05d