Changeset 109921 in webkit
- Timestamp:
- Mar 6, 2012 8:10:58 AM (12 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r109918 r109921 1 2012-03-06 Philippe Normand <pnormand@igalia.com> 2 3 [GStreamer] media/video-played-collapse.html 4 https://bugs.webkit.org/show_bug.cgi?id=36165 5 6 Reviewed by Eric Carlson. 7 8 Refactored the test to minimize flakiness risks. 9 10 * media/video-played-collapse-expected.txt: 11 * media/video-played-collapse.html: 12 * platform/gtk/test_expectations.txt: 13 1 14 2012-03-06 Ulan Degenbaev <ulan@chromium.org> 2 15 -
trunk/LayoutTests/media/video-played-collapse-expected.txt
r42920 r109921 31 31 Test 11 OK 32 32 Test 12 OK 33 34 Test looping 35 RUN(video.loop = true) 33 36 RUN(video.play()) 34 37 RUN(video.pause()) … … 37 40 Test 14 OK 38 41 Test 15 OK 42 Test 16 OK 43 Test 17 OK 39 44 END OF TEST 40 45 -
trunk/LayoutTests/media/video-played-collapse.html
r79630 r109921 67 67 function TestLoopingAndPassToTheEnd() 68 68 { 69 playForMillisecs(100); // Triggers pause()70 return;71 69 consoleWrite("<br><b><em>Test looping</em></b>"); 72 73 var newTime = (video.duration - 0.05).toFixed(2); 74 runSilently("video.currentTime = " + newTime); 70 71 // Start playing near the end of the movie so it will loop quickly. 75 72 run("video.loop = true"); 73 var startTime = (video.duration - 0.05).toFixed(2); 74 runSilently("video.currentTime = " + startTime); 76 75 77 currentTimeRange = 0; // We'll end in the very first time range 78 79 timeRangeCount++; 80 expectedStartTimes[timeRangeCount-1] = newTime; 81 expectedEndTimes[timeRangeCount-1] = video.duration.toFixed(2); 76 // We will end in the very first time range 77 currentTimeRange = 0; 82 78 83 79 willPauseInExistingRange = true; 84 80 willExtendAnExistingRange = true; 85 81 86 playForMillisecs(100); // Triggers pause() 82 // Playing from near the end so we will create a new time range from startTime .. duration 83 timeRangeCount++; 84 expectedStartTimes[timeRangeCount-1] = startTime; 85 expectedEndTimes[timeRangeCount-1] = video.duration.toFixed(2); 86 87 // Have to play for long enough to loop and play into the existing range. 88 var playDuration = 1.25; 89 90 // Playback restarts from beginning, so expect the beginning of first time range to be 0. 91 expectedStartTimes[0] = 0; 92 playForMillisecs(secToMilli(playDuration)); // Triggers pause() 87 93 } 88 94 -
trunk/LayoutTests/platform/gtk/test_expectations.txt
r109712 r109921 15 15 16 16 BUGWK68878 : media/video-playing-and-pause.html = PASS TEXT 17 BUGWK36165 : media/video-played-collapse.html = PASS TEXT18 17 BUGWK54637 : media/video-display-toggle.html = PASS TEXT 19 18 BUGWK54637 : media/video-controls-in-media-document.html = PASS TEXT
Note: See TracChangeset
for help on using the changeset viewer.