Index: LayoutTests/media/controls-timeline-with-controller.html |
diff --git a/LayoutTests/media/controls-timeline-with-controller.html b/LayoutTests/media/controls-timeline-with-controller.html |
index c861001de83a735c29cc96f812ad2da08598e51d..8bc4eff094cf5e63d1a4a95f6347a2191434878d 100644 |
--- a/LayoutTests/media/controls-timeline-with-controller.html |
+++ b/LayoutTests/media/controls-timeline-with-controller.html |
@@ -16,6 +16,12 @@ |
{ |
testExpected("video.controller.currentTime", 0); |
testExpected("video.currentTime", 0); |
+ // Wait for the seek initiated by the "bringing up to speed" |
+ // step to complete. |
+ waitForEventOnce('seeked', seeked); |
+ }); |
+ |
+ var seeked = function() { |
testExpected("video.seeking", false); |
// click the middle of the timeline |
@@ -31,7 +37,7 @@ |
testExpected("video.seeking", true); |
endTest(); |
- }); |
+ } |
</script> |
</body> |
</html> |