Title: [149526] trunk/LayoutTests
Revision
149526
Author
[email protected]
Date
2013-05-03 11:26:47 -0700 (Fri, 03 May 2013)

Log Message

Revert to old results on Lion.

Unreviewed.

Results were updated in (http://trac.webkit.org/changeset/149503) but that is compiled
out on Lion (http://trac.webkit.org/changeset/149510).

* platform/mac-lion/media/video-controls-captions-trackmenu-localized-expected.txt: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (149525 => 149526)


--- trunk/LayoutTests/ChangeLog	2013-05-03 18:08:58 UTC (rev 149525)
+++ trunk/LayoutTests/ChangeLog	2013-05-03 18:26:47 UTC (rev 149526)
@@ -1,3 +1,14 @@
+2013-05-03  Stephanie Lewis  <[email protected]>
+
+        Revert to old results on Lion.
+
+        Unreviewed.
+
+        Results were updated in (http://trac.webkit.org/changeset/149503) but that is compiled 
+        out on Lion (http://trac.webkit.org/changeset/149510).
+
+        * platform/mac-lion/media/video-controls-captions-trackmenu-localized-expected.txt: Added.
+
 2013-05-03  Joone Hur  <[email protected]>
 
         Unreviewed EFL gardening.

Added: trunk/LayoutTests/platform/mac-lion/media/video-controls-captions-trackmenu-localized-expected.txt (0 => 149526)


--- trunk/LayoutTests/platform/mac-lion/media/video-controls-captions-trackmenu-localized-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/mac-lion/media/video-controls-captions-trackmenu-localized-expected.txt	2013-05-03 18:26:47 UTC (rev 149526)
@@ -0,0 +1,25 @@
+Test that captions and subtitles menu items are localized.
+
+EVENT(canplaythrough)
+
+*** Set the user language preference.
+RUN(internals.setUserPreferredLanguages(['en']))
+Heading should be labelled 'Subtitles'
+EXPECTED (trackListSection.textContent == 'Subtitles') OK
+
+First item in captions menu should be labelled 'Off'
+EXPECTED (item.textContent == 'Off') OK
+
+Second item in captions menu should be labelled 'Automatic (English)'
+EXPECTED (item.textContent == 'Automatic (English)') OK
+
+Third item in captions menu should be labelled 'English CC'
+EXPECTED (item.textContent == 'English CC'), OBSERVED 'Laugh Track (English-United States)' FAIL
+
+Fourth item in captions menu should be labelled 'Laugh Track (English-United States)'
+EXPECTED (item.textContent == 'Laugh Track (English-United States)'), OBSERVED 'Unknown SDH' FAIL
+
+Fifth item in captions menu should be labelled 'Unknown SDH'
+TypeError: 'undefined' is not an object (evaluating 'item.textContent')
+END OF TEST
+
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to