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

Unified Diff: LayoutTests/media/video-click-dblckick-standalone.html

Issue 3691003: Merge 69043 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/517/
Patch Set: Created 10 years, 2 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/video-click-dblckick-standalone.html
===================================================================
--- LayoutTests/media/video-click-dblckick-standalone.html (revision 69498)
+++ LayoutTests/media/video-click-dblckick-standalone.html (working copy)
@@ -16,7 +16,10 @@
function test()
{
video = document.getElementById('fr').contentDocument.getElementsByTagName('video')[0];
- video.addEventListener('canplaythrough', test2);
+ if (video.readyState >= 4)
+ test2();
+ else
+ video.addEventListener('canplaythrough', test2);
}
function test2()
{
« no previous file with comments | « LayoutTests/media/remove-from-document-before-load-expected.txt ('k') | LayoutTests/media/video-controls-rendering.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698