Title: [114650] trunk/LayoutTests
- Revision
- 114650
- Author
- [email protected]
- Date
- 2012-04-19 10:53:37 -0700 (Thu, 19 Apr 2012)
Log Message
Space out captions-fast.vtt to prevent flakiness in media/track/track-mode.html.
https://bugs.webkit.org/show_bug.cgi?id=83878
Reviewed by Eric Carlson.
* media/track/captions-webvtt/captions-fast.vtt:
* media/track/track-mode-expected.txt:
* media/track/track-mode.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (114649 => 114650)
--- trunk/LayoutTests/ChangeLog 2012-04-19 17:11:15 UTC (rev 114649)
+++ trunk/LayoutTests/ChangeLog 2012-04-19 17:53:37 UTC (rev 114650)
@@ -1,3 +1,14 @@
+2012-04-19 Anna Cavender <[email protected]>
+
+ Space out captions-fast.vtt to prevent flakiness in media/track/track-mode.html.
+ https://bugs.webkit.org/show_bug.cgi?id=83878
+
+ Reviewed by Eric Carlson.
+
+ * media/track/captions-webvtt/captions-fast.vtt:
+ * media/track/track-mode-expected.txt:
+ * media/track/track-mode.html:
+
2012-04-19 Yury Semikhatsky <[email protected]>
Web Inspector: make constructors and diff heap snapshot data grids use viewport
Modified: trunk/LayoutTests/media/track/captions-webvtt/captions-fast.vtt (114649 => 114650)
--- trunk/LayoutTests/media/track/captions-webvtt/captions-fast.vtt 2012-04-19 17:11:15 UTC (rev 114649)
+++ trunk/LayoutTests/media/track/captions-webvtt/captions-fast.vtt 2012-04-19 17:53:37 UTC (rev 114650)
@@ -1,17 +1,13 @@
WEBVTT
1
-00:00:00.000 --> 00:00:00.200
+00:00:00.000 --> 00:00:00.300
Lorem
2
-00:00:00.200 --> 00:00:00.500
+00:00:00.300 --> 00:00:00.700
ipsum
3
-00:00:00.800 --> 00:00:01.100
+00:00:01.200 --> 00:00:01.500
dolor
-
-4
-00:00:01.400 --> 00:00:01.700
-sit
Modified: trunk/LayoutTests/media/track/track-mode-expected.txt (114649 => 114650)
--- trunk/LayoutTests/media/track/track-mode-expected.txt 2012-04-19 17:11:15 UTC (rev 114649)
+++ trunk/LayoutTests/media/track/track-mode-expected.txt 2012-04-19 17:53:37 UTC (rev 114650)
@@ -23,15 +23,15 @@
RUN(textTrack.mode = '1')
EXPECTED (textTrack.mode == '1') OK
EXPECTED (video.textTracks[0].mode == '1') OK
-EXPECTED (textTrack.cues.length == '4') OK
+EXPECTED (textTrack.cues.length == '3') OK
++ 'TextTrack.SHOWING'
RUN(textTrack.mode = '2')
EXPECTED (textTrack.mode == '2') OK
EXPECTED (video.textTracks[0].mode == '2') OK
-EXPECTED (textTrack.cues.length == '4') OK
+EXPECTED (textTrack.cues.length == '3') OK
-++ 6 events expected while mode = TextTrack.SHOWING
+++ 4 events expected while mode = TextTrack.SHOWING
EVENT(cuechange)
Cue entered: ipsum
EXPECTED (textTrack.activeCues.length == '1') OK
@@ -42,10 +42,5 @@
EXPECTED (textTrack.activeCues.length == '1') OK
EVENT(cuechange)
EXPECTED (textTrack.activeCues.length == '0') OK
-EVENT(cuechange)
-Cue entered: sit
-EXPECTED (textTrack.activeCues.length == '1') OK
-EVENT(cuechange)
-EXPECTED (textTrack.activeCues.length == '0') OK
END OF TEST
Modified: trunk/LayoutTests/media/track/track-mode.html (114649 => 114650)
--- trunk/LayoutTests/media/track/track-mode.html 2012-04-19 17:11:15 UTC (rev 114649)
+++ trunk/LayoutTests/media/track/track-mode.html 2012-04-19 17:53:37 UTC (rev 114650)
@@ -48,7 +48,7 @@
video.src = "" "../content/test");
video.play();
// Wait for end of first cue (no events should fire while track is disabled).
- setTimeout(testHiddenAndShowing, 300);
+ setTimeout(testHiddenAndShowing, 400);
consoleWrite("++ 0 events expected while mode = TextTrack.DISABLED");
consoleWrite("");
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes