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

Unified Diff: LayoutTests/media/track/track-css-matching-timestamps.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
Index: LayoutTests/media/track/track-css-matching-timestamps.html
diff --git a/LayoutTests/media/track/track-css-matching-timestamps.html b/LayoutTests/media/track/track-css-matching-timestamps.html
index d18504b839488c674b104a8a5901668ded9f8777..1bb317213b0fccbdbe6227de8e46d9dab21f6e5a 100644
--- a/LayoutTests/media/track/track-css-matching-timestamps.html
+++ b/LayoutTests/media/track/track-css-matching-timestamps.html
@@ -56,7 +56,7 @@
video.src = findMediaFile('video', '../content/test');
video.id = "testvideo";
waitForEvent('seeked', seeked);
- waitForEvent('canplaythrough', function() { video.currentTime = seekTimes[0]; });
+ waitForEventOnce('canplaythrough', function() { video.currentTime = seekTimes[0]; });
}
</script>
« no previous file with comments | « LayoutTests/media/track/track-css-matching.html ('k') | LayoutTests/media/track/track-cue-nothing-to-render.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698