Changeset 110168 in webkit
- Timestamp:
- Mar 8, 2012 7:50:55 AM (12 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r110167 r110168 1 2012-03-08 Victor Carbune <vcarbune@adobe.com> 2 3 Fix flaky test by decreasing granularity of cues (cues cover longer time 4 intervals). The flakiness seems to appear because the video is paused 5 synchronously, while missed events events are dispatched asynchronously. 6 7 It can happen that multiple cues are actually missed cues, hence more exit 8 events are dispatched together, but the video was paused before the actual 9 dispatch. 10 11 https://bugs.webkit.org/show_bug.cgi?id=80067 12 13 Reviewed by Eric Carlson. 14 15 * media/track/captions-webvtt/simple-captions.vtt: 16 * media/track/track-cues-pause-on-exit-expected.txt: 17 * media/track/track-cues-pause-on-exit.html: 18 1 19 2012-03-08 Ádám Kallai <kadam@inf.u-szeged.hu> 2 20 -
trunk/LayoutTests/media/track/captions-webvtt/simple-captions.vtt
r108406 r110168 2 2 3 3 0 4 00:00:0 5.000 --> 00:00:05.2004 00:00:04.000 --> 00:00:04.500 5 5 First cue 6 6 7 7 1 8 00:00:0 5.210 --> 00:00:05.4008 00:00:04.500 --> 00:00:05.000 9 9 Lorem 10 10 11 11 2 12 00:00:05. 410 --> 00:00:05.60012 00:00:05.000 --> 00:00:05.500 13 13 ipsum 14 14 15 15 3 16 00:00:05. 610 --> 00:00:05.70017 dolor 16 00:00:05.500 --> 00:00:05.501 17 Missed cue with pause-on-exit -
trunk/LayoutTests/media/track/track-cues-pause-on-exit-expected.txt
r108406 r110168 24 24 EXPECTED (currentCue.id == '3') OK 25 25 EXPECTED (video.paused == 'false') OK 26 EVENT(ended)27 26 END OF TEST 28 27 -
trunk/LayoutTests/media/track/track-cues-pause-on-exit.html
r108406 r110168 42 42 testExpected("video.paused", currentCueNumber % 2 == 0); 43 43 44 if (currentCueNumber % 2 == 0) {44 if (currentCueNumber % 2 == 0) 45 45 run("video.play()"); 46 } 46 47 if (currentCueNumber == 3) 48 endTest(); 47 49 48 50 currentCueNumber++; … … 62 64 } 63 65 64 waitForEvent('ended', endTest);65 66 66 waitForEvent('canplaythrough', function() { 67 video.currentTime = 4. 70;67 video.currentTime = 4.00; 68 68 videoCanPlayThrough = true; 69 69
Note: See TracChangeset
for help on using the changeset viewer.