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

Unified Diff: LayoutTests/media/track/track-cue-rendering-snap-to-lines-not-set.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-cue-rendering-snap-to-lines-not-set.html
diff --git a/LayoutTests/media/track/track-cue-rendering-snap-to-lines-not-set.html b/LayoutTests/media/track/track-cue-rendering-snap-to-lines-not-set.html
index 22eafe3e9544635531e0d239ae4ab73a33e2718b..4a30a86f4b1f7cf278e55e96f5f4e42dc9fa9bf5 100644
--- a/LayoutTests/media/track/track-cue-rendering-snap-to-lines-not-set.html
+++ b/LayoutTests/media/track/track-cue-rendering-snap-to-lines-not-set.html
@@ -94,7 +94,7 @@
// both are the second child in the shadow DOM.
controlsPanelElement = internals.shadowRoot(video).firstChild.firstChild;
- waitForEvent('canplaythrough', function() {
+ waitForEventOnce('canplaythrough', function() {
cueDisplayContainer = textTrackDisplayElement(video);
testInitialContainer();
runNextTestCase();
« no previous file with comments | « LayoutTests/media/track/track-cue-rendering-rtl.html ('k') | LayoutTests/media/track/track-cues-missed.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698