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

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

Issue 1267953003: Re-Relanding 'Always notify the WebMediaPlayer of any seek' patch (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: address comments Created 5 years, 4 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