Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Unified Diff: LayoutTests/media/controls-timeline-with-controller.html

Issue 456343002: Relanding 'Always notify the MediaPlayer of any seek' patch (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed test failures Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698