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

Unified Diff: LayoutTests/media/track/track-css-matching.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/track/track-css-matching.html
diff --git a/LayoutTests/media/track/track-css-matching.html b/LayoutTests/media/track/track-css-matching.html
index 8905895ce865fd6156d30b0a96230af1164dbe18..58f8fa715bc228c6eaf62f6e20134be244cec602 100644
--- a/LayoutTests/media/track/track-css-matching.html
+++ b/LayoutTests/media/track/track-css-matching.html
@@ -80,7 +80,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>

Powered by Google App Engine
This is Rietveld 408576698