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

Unified Diff: LayoutTests/media/controls-restrained-media-controller.html

Issue 456343002: Relanding 'Always notify the MediaPlayer of any seek' patch (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed test failure Created 6 years 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 | « no previous file | LayoutTests/media/controls-timeline-with-controller.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/media/controls-restrained-media-controller.html
diff --git a/LayoutTests/media/controls-restrained-media-controller.html b/LayoutTests/media/controls-restrained-media-controller.html
index 739dcd205720052b5b1b7f174fa2e953dd1bcc6b..783f48a04898b5e1812777ad137568fb04e36ff8 100644
--- a/LayoutTests/media/controls-restrained-media-controller.html
+++ b/LayoutTests/media/controls-restrained-media-controller.html
@@ -13,8 +13,8 @@ video.src = findMediaFile('video', 'content/test');
if (window.testRunner) {
testRunner.waitUntilDone();
- video.addEventListener('canplay', function() {
+ window.setTimeout(function() {
philipj_slow 2014/12/15 14:52:38 Having a timeout is a recipe for future flakiness.
testRunner.notifyDone();
- });
+ }, 100);
}
</script>
« no previous file with comments | « no previous file | LayoutTests/media/controls-timeline-with-controller.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698