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

Unified Diff: LayoutTests/media/track/track-css-cue-lifetime.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-cue-lifetime.html
diff --git a/LayoutTests/media/track/track-css-cue-lifetime.html b/LayoutTests/media/track/track-css-cue-lifetime.html
index 6cf30c99741013c360cba594122dbac2fec7a952..c73922b624cdd1e0bcde1ea7de92d362ad6ac58c 100644
--- a/LayoutTests/media/track/track-css-cue-lifetime.html
+++ b/LayoutTests/media/track/track-css-cue-lifetime.html
@@ -57,7 +57,7 @@
video.src = findMediaFile('video', '../content/test');
video.id = "testvideo";
waitForEvent('seeked', seeked);
- waitForEvent('canplaythrough', function() { video.currentTime = initialTime; });
+ waitForEventOnce('canplaythrough', function() { video.currentTime = initialTime; });
}
</script>
« no previous file with comments | « LayoutTests/media/media-fragments/media-fragments.js ('k') | LayoutTests/media/track/track-css-matching.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698