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

Unified Diff: LayoutTests/media/video-seek-by-small-increment.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-by-small-increment.html
diff --git a/LayoutTests/media/video-seek-by-small-increment.html b/LayoutTests/media/video-seek-by-small-increment.html
index 12aa8ddcb830e27ed0b401427deecb7a4473a9ed..a9ec35294d47af7b55730d3ddebf2eee5c8ac2ed 100644
--- a/LayoutTests/media/video-seek-by-small-increment.html
+++ b/LayoutTests/media/video-seek-by-small-increment.html
@@ -42,7 +42,7 @@
findMediaElement();
video.src = findMediaFile("video", "content/test");
- waitForEvent('canplaythrough', attemptSeek);
+ waitForEventOnce('canplaythrough', attemptSeek);
waitForEvent('seeked', seeked);
waitForEvent('seeking');
waitForEvent('play');

Powered by Google App Engine
This is Rietveld 408576698