Title: [138219] trunk/LayoutTests
Revision
138219
Author
eric.carl...@apple.com
Date
2012-12-19 21:30:25 -0800 (Wed, 19 Dec 2012)

Log Message

Update video-controls-captions-trackmenu.html
https://bugs.webkit.org/show_bug.cgi?id=105455

Reviewed by Dean Jackson.

* media/video-controls-captions-trackmenu-expected.txt: Update results.
* media/video-controls-captions-trackmenu.html: Update test to account for sorted menu.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (138218 => 138219)


--- trunk/LayoutTests/ChangeLog	2012-12-20 05:28:21 UTC (rev 138218)
+++ trunk/LayoutTests/ChangeLog	2012-12-20 05:30:25 UTC (rev 138219)
@@ -1,3 +1,13 @@
+2012-12-19  Eric Carlson  <eric.carl...@apple.com>
+
+        Update video-controls-captions-trackmenu.html
+        https://bugs.webkit.org/show_bug.cgi?id=105455
+
+        Reviewed by Dean Jackson.
+
+        * media/video-controls-captions-trackmenu-expected.txt: Update results.
+        * media/video-controls-captions-trackmenu.html: Update test to account for sorted menu.
+
 2012-12-19  Filip Pizlo  <fpi...@apple.com>
 
         JSObject::ensure<IndexingType> should gracefully handle InterceptsGetOwn..., and should never be called when the 'this' is not an object

Modified: trunk/LayoutTests/media/video-controls-captions-trackmenu-expected.txt (138218 => 138219)


--- trunk/LayoutTests/media/video-controls-captions-trackmenu-expected.txt	2012-12-20 05:28:21 UTC (rev 138218)
+++ trunk/LayoutTests/media/video-controls-captions-trackmenu-expected.txt	2012-12-20 05:30:25 UTC (rev 138219)
@@ -12,10 +12,10 @@
 *** Turning captions on
 Found 5 menu items OK
 EXPECTED (video.textTracks.length == '4') OK
-Track 0 should be disabled
-EXPECTED (video.textTracks[0].mode == 'disabled') OK
-Track 1 should be showing
-EXPECTED (video.textTracks[1].mode == 'showing') OK
+Track 0 should be showing
+EXPECTED (video.textTracks[0].mode == 'showing') OK
+Track 1 should be disabled
+EXPECTED (video.textTracks[1].mode == 'disabled') OK
 Track 2 should be disabled
 EXPECTED (video.textTracks[2].mode == 'disabled') OK
 Track 3 should be disabled

Modified: trunk/LayoutTests/media/video-controls-captions-trackmenu.html (138218 => 138219)


--- trunk/LayoutTests/media/video-controls-captions-trackmenu.html	2012-12-20 05:28:21 UTC (rev 138218)
+++ trunk/LayoutTests/media/video-controls-captions-trackmenu.html	2012-12-20 05:30:25 UTC (rev 138219)
@@ -97,10 +97,10 @@
             function testCaptionsVisible()
             {
                 testExpected("video.textTracks.length", 4);
-                consoleWrite("Track 0 should be disabled");
-                testExpected("video.textTracks[0].mode", "disabled");
-                consoleWrite("Track 1 should be showing");
-                testExpected("video.textTracks[1].mode", "showing");
+                consoleWrite("Track 0 should be showing");
+                testExpected("video.textTracks[0].mode", "showing");
+                consoleWrite("Track 1 should be disabled");
+                testExpected("video.textTracks[1].mode", "disabled");
                 consoleWrite("Track 2 should be disabled");
                 testExpected("video.textTracks[2].mode", "disabled");
                 consoleWrite("Track 3 should be disabled");
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to