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

Unified Diff: LayoutTests/media/track/track-cue-nothing-to-render.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-nothing-to-render.html
diff --git a/LayoutTests/media/track/track-cue-nothing-to-render.html b/LayoutTests/media/track/track-cue-nothing-to-render.html
index f5cb292bd35a08a371e60b87f0c01daa91ee77e4..5ef62c282a8d222ddb1db72b7a1d431af17f217c 100644
--- a/LayoutTests/media/track/track-cue-nothing-to-render.html
+++ b/LayoutTests/media/track/track-cue-nothing-to-render.html
@@ -49,7 +49,7 @@
testTrack = document.querySelector('track');
video.src = findMediaFile('video', '../content/counting');
waitForEvent('seeked', seeked);
- waitForEvent('canplaythrough', function() { video.currentTime = .5; });
+ waitForEventOnce('canplaythrough', function() { video.currentTime = .5; });
}
</script>
« no previous file with comments | « LayoutTests/media/track/track-css-matching-timestamps.html ('k') | LayoutTests/media/track/track-cue-rendering.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698