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

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

Issue 431903003: Always notify the MediaPlayer of any seek. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modified on top of acolwell's patch Created 6 years, 5 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..a8d1bfcdcafa5fb7512a0a2ef9e4dc260862a5a1 100644
--- a/LayoutTests/media/media-controller-effective-playback-rate.html
+++ b/LayoutTests/media/media-controller-effective-playback-rate.html
@@ -13,7 +13,7 @@
// Set the rate on the media element so playback won't move forward.
video.playbackRate = 0;
- waitForEvent("canplay",canplay);
+ waitForEventOnce("canplay",canplay);
};
var canplay = function()
@@ -33,6 +33,10 @@
var play = function()
{
+ waitForEventOnce("playing", playing);
+ };
+
+ var playing = function() {
waitForEventOnce("timeupdate", timeupdate);
};

Powered by Google App Engine
This is Rietveld 408576698