Changeset 87583 in webkit
- Timestamp:
- May 27, 2011 4:18:07 PM (13 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r87579 r87583 1 2011-05-27 Steve Lacey <sjl@chromium.org> 2 3 Reviewed by Eric Carlson. 4 5 The behaviour of controls-after-reload was causing 6 layoutTestController in DumpRenderTree to misbehave causing a reported 7 failure in the test run after it (controls-css-overload). 8 9 Effectively, notifyDone() ended up getting called again after the test 10 was being torn down. 11 12 This change removes the unneeded seek at the end of the test (as we 13 should have already seeked to 0. 14 15 https://bugs.webkit.org/show_bug.cgi?id=60132 16 17 * media/controls-after-reload.html: 18 * platform/chromium/test_expectations.txt: 19 1 20 2011-05-27 Adam Klein <adamk@chromium.org> 2 21 -
trunk/LayoutTests/media/controls-after-reload.html
r84409 r87583 4 4 <script> 5 5 var video; 6 var loadedCount = 0;7 6 8 7 if (window.layoutTestController) … … 11 10 function finish() 12 11 { 13 video. pause();14 video.currentTime = 0; 12 video.removeEventListener("seeked", finish); 13 15 14 if (window.layoutTestController) 16 15 layoutTestController.notifyDone(); … … 19 18 function playing() 20 19 { 20 video.removeEventListener("playing", playing); 21 21 22 // Ensure that the frame is always the same in pixel result. 22 23 video.addEventListener("seeked", finish); … … 27 28 function canplaythrough() 28 29 { 29 if (!loadedCount) { 30 video.src = findMediaFile("video", "content/test"); 31 video.load(); 32 video.play(); 33 video.addEventListener("playing", playing); 34 } 35 loadedCount++; 30 video.removeEventListener("canplaythrough", canplaythrough); 31 32 video.src = findMediaFile("video", "content/test"); 33 video.addEventListener("playing", playing); 34 video.play(); 36 35 } 37 36 … … 42 41 43 42 video.src = findMediaFile("video", "content/counting"); 44 video.load();45 43 } 46 44 </script> -
trunk/LayoutTests/platform/chromium/test_expectations.txt
r87579 r87583 3633 3633 // webkit roll : 84350:84431 3634 3634 BUGDPRANKE MAC LINUX : transitions/interrupt-zero-duration.html = TEXT PASS 3635 BUGWK60132 BUGCR80771 : media/controls-css-overload.html = TIMEOUT PASS3636 3635 BUGDPRANKE WIN LINUX : animations/change-one-anim.html = TEXT PASS 3637 3636
Note: See TracChangeset
for help on using the changeset viewer.