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

Unified Diff: LayoutTests/media/track/track-cues-pause-on-exit.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: Fix event-attributes expectations. 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
« no previous file with comments | « LayoutTests/media/track/track-cues-missed.html ('k') | LayoutTests/media/track/track-cues-seeking.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/media/track/track-cues-pause-on-exit.html
diff --git a/LayoutTests/media/track/track-cues-pause-on-exit.html b/LayoutTests/media/track/track-cues-pause-on-exit.html
index 0f650d703618c5723f363421881c78debb77fca1..d728d7c10ea2b8e99a081647fed69c2435d3a1f2 100644
--- a/LayoutTests/media/track/track-cues-pause-on-exit.html
+++ b/LayoutTests/media/track/track-cues-pause-on-exit.html
@@ -66,7 +66,7 @@
video.src = findMediaFile("video", "../content/test");
}
- waitForEvent('canplaythrough', function() {
+ waitForEventOnce('canplaythrough', function() {
video.currentTime = 4.00;
videoCanPlayThrough = true;
« no previous file with comments | « LayoutTests/media/track/track-cues-missed.html ('k') | LayoutTests/media/track/track-cues-seeking.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698