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

Unified Diff: LayoutTests/media/media-controller-effective-playback-rate.html

Issue 574883002: Fix media layout tests that made invalid assumptions about timeupdate. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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/media-controller-effective-playback-rate.html
diff --git a/LayoutTests/media/media-controller-effective-playback-rate.html b/LayoutTests/media/media-controller-effective-playback-rate.html
index e0d28631db9727e37d01066e75ea2a994524a62c..143509ff984af6ec9205cd1f0814da375aa56b41 100644
--- a/LayoutTests/media/media-controller-effective-playback-rate.html
+++ b/LayoutTests/media/media-controller-effective-playback-rate.html
@@ -26,6 +26,12 @@
testExpected("video.controller.playbackRate", 1);
testExpected("video.playbackRate", 0);
+ // Wait for bringing up to speed step to complete.
acolwell GONE FROM CHROMIUM 2014/09/16 21:46:13 nit: perhaps mention that "bringing up to speed" i
scherkus (not reviewing) 2014/09/16 22:13:31 Done.
+ waitForEventOnce('seeked', seeked);
+ };
+
+ var seeked = function()
+ {
// Initiate playback and verify that time moves forward.
run("video.play()");
waitForEventOnce("play", play);

Powered by Google App Engine
This is Rietveld 408576698