Changeset 147679 in webkit


Ignore:
Timestamp:
Apr 4, 2013 4:35:40 PM (11 years ago)
Author:
eric.carlson@apple.com
Message:

Unreviewed, fix a test and some results missed in r147675

  • media/media-captions-expected.txt:
  • media/video-controls-captions-trackmenu-localized.html:
  • platform/mac/media/video-controls-captions-trackmenu-localized-expected.txt:
Location:
trunk/LayoutTests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r147676 r147679  
     12013-04-04  Eric Carlson  <eric.carlson@apple.com>
     2
     3        Unreviewed, fix a test and some results missed in r147675
     4
     5        * media/media-captions-expected.txt:
     6        * media/video-controls-captions-trackmenu-localized.html:
     7        * platform/mac/media/video-controls-captions-trackmenu-localized-expected.txt:
     8
    192013-04-04  Dave Michael  <dmichael@chromium.org>
    210
  • trunk/LayoutTests/media/media-captions-expected.txt

    r51191 r147679  
    88EVENT(loadstart)
    99EVENT(durationchange)
    10 EVENT(loadedmetadata)
     10EVENT(canplaythrough)
    1111EXPECTED (mediaElement.webkitHasClosedCaptions == 'false') OK
    1212EXPECTED (mediaElement.webkitClosedCaptionsVisible == 'false') OK
     
    1717EVENT(loadstart)
    1818EVENT(durationchange)
    19 EVENT(loadedmetadata)
     19EVENT(canplaythrough)
    2020EXPECTED (mediaElement.webkitHasClosedCaptions == 'true') OK
    2121EXPECTED (mediaElement.webkitClosedCaptionsVisible == 'false') OK
  • trunk/LayoutTests/media/video-controls-captions-trackmenu-localized.html

    r147000 r147679  
    4141
    4242            item = captionsEntries[1];
    43             consoleWrite("<br>Second item in captions menu should be labelled 'English CC'");
     43            consoleWrite("<br>Second item in captions menu should be labelled 'Automatic (English)'");
     44            testExpected("item.textContent", "Automatic (English)");
     45
     46
     47            item = captionsEntries[2];
     48            consoleWrite("<br>Third item in captions menu should be labelled 'English CC'");
    4449            testExpected("item.textContent", "English CC");
    4550
    46             item = captionsEntries[2];
    47             consoleWrite("<br>Third item in captions menu should be labelled 'Laugh Track (English-United States)'");
     51            item = captionsEntries[3];
     52            consoleWrite("<br>Fourth item in captions menu should be labelled 'Laugh Track (English-United States)'");
    4853            testExpected("item.textContent", "Laugh Track (English-United States)");
    4954
    50             item = captionsEntries[3];
    51             consoleWrite("<br>Fourth item in captions menu should be labelled 'Unknown SDH'");
     55            item = captionsEntries[4];
     56            consoleWrite("<br>Fifth item in captions menu should be labelled 'Unknown SDH'");
    5257            testExpected("item.textContent", "Unknown SDH");
    5358
  • trunk/LayoutTests/platform/mac/media/video-controls-captions-trackmenu-localized-expected.txt

    r147000 r147679  
    1111EXPECTED (item.textContent == 'Off') OK
    1212
    13 Second item in captions menu should be labelled 'English CC'
     13Second item in captions menu should be labelled 'Automatic (English)'
     14EXPECTED (item.textContent == 'Automatic (English)') OK
     15
     16Third item in captions menu should be labelled 'English CC'
    1417EXPECTED (item.textContent == 'English CC'), OBSERVED 'Laugh Track (English-United States)' FAIL
    1518
    16 Third item in captions menu should be labelled 'Laugh Track (English-United States)'
     19Fourth item in captions menu should be labelled 'Laugh Track (English-United States)'
    1720EXPECTED (item.textContent == 'Laugh Track (English-United States)'), OBSERVED 'Unknown SDH' FAIL
    1821
    19 Fourth item in captions menu should be labelled 'Unknown SDH'
     22Fifth item in captions menu should be labelled 'Unknown SDH'
    2023TypeError: 'undefined' is not an object (evaluating 'item.textContent')
    2124END OF TEST
Note: See TracChangeset for help on using the changeset viewer.