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

Unified Diff: LayoutTests/media/media-controls-invalid-url.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
« no previous file with comments | « LayoutTests/media/event-attributes.html ('k') | LayoutTests/media/media-element-play-after-eos.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/media/media-controls-invalid-url.html
diff --git a/LayoutTests/media/media-controls-invalid-url.html b/LayoutTests/media/media-controls-invalid-url.html
index 38a565c1e89f520cd7864efa40bd894aa0bd2fa7..c9860f88cc566656020a534677cc97084fdee065 100644
--- a/LayoutTests/media/media-controls-invalid-url.html
+++ b/LayoutTests/media/media-controls-invalid-url.html
@@ -12,7 +12,7 @@
video = document.getElementsByTagName("video")[0];
video.src = findMediaFile("video", "content/test");
- waitForEvent("canplaythrough", start);
+ waitForEventOnce("canplaythrough", start);
waitForEvent("seeked", seeked);
waitForEvent("error", error);
}
« no previous file with comments | « LayoutTests/media/event-attributes.html ('k') | LayoutTests/media/media-element-play-after-eos.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698