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

Unified Diff: LayoutTests/media/video-playbackrate.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/video-frame-size-change.html ('k') | LayoutTests/media/video-played.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/media/video-playbackrate.html
diff --git a/LayoutTests/media/video-playbackrate.html b/LayoutTests/media/video-playbackrate.html
index 4999ff3bb001e6db9a7dabf7fd7ee27447247b04..0ef2fc7ec897216e2d974269a49cedeceffcb57a 100644
--- a/LayoutTests/media/video-playbackrate.html
+++ b/LayoutTests/media/video-playbackrate.html
@@ -85,7 +85,7 @@
function start()
{
findMediaElement();
- waitForEvent('canplaythrough', canplaythrough);
+ waitForEventOnce('canplaythrough', canplaythrough);
waitForEvent('ended', ended);
waitForEvent('ratechange', ratechange);
@@ -97,7 +97,7 @@
</head>
<body onload="start()">
-
+
<video controls > </video>
<ol>
<li>'playbackRate' should not change when play() is called.</li>
« no previous file with comments | « LayoutTests/media/video-frame-size-change.html ('k') | LayoutTests/media/video-played.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698