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/video-seek-past-end-playing.html

Issue 17395006: Fix LayoutTests that assume canplay, playing, and canplaythrough will only fire once. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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/video-seek-past-end-playing.html
diff --git a/LayoutTests/media/video-seek-past-end-playing.html b/LayoutTests/media/video-seek-past-end-playing.html
index 9191d3b9164fd7b319c2017e0488ed5c60109a80..15aac4a71a7cb25fe19705aa289e92e9e464c927 100644
--- a/LayoutTests/media/video-seek-past-end-playing.html
+++ b/LayoutTests/media/video-seek-past-end-playing.html
@@ -8,7 +8,7 @@
<script>
var timeupdateEventCount = 0;
- waitForEvent('canplaythrough', function () {
+ waitForEventOnce('canplaythrough', function () {
testExpected("video.paused", true);
run("video.play()");
testExpected("video.paused", false);

Powered by Google App Engine
This is Rietveld 408576698