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

Unified Diff: LayoutTests/media/controls-timeline-with-controller.html

Issue 1267953003: Re-Relanding 'Always notify the WebMediaPlayer of any seek' patch (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: copy seek-to-currentTime.html from web-platform-tests Created 5 years, 4 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 | « no previous file | LayoutTests/media/controls-timeline-with-controller-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/media/controls-timeline-with-controller.html
diff --git a/LayoutTests/media/controls-timeline-with-controller.html b/LayoutTests/media/controls-timeline-with-controller.html
index c861001de83a735c29cc96f812ad2da08598e51d..8bc4eff094cf5e63d1a4a95f6347a2191434878d 100644
--- a/LayoutTests/media/controls-timeline-with-controller.html
+++ b/LayoutTests/media/controls-timeline-with-controller.html
@@ -16,6 +16,12 @@
{
testExpected("video.controller.currentTime", 0);
testExpected("video.currentTime", 0);
+ // Wait for the seek initiated by the "bringing up to speed"
+ // step to complete.
+ waitForEventOnce('seeked', seeked);
+ });
+
+ var seeked = function() {
testExpected("video.seeking", false);
// click the middle of the timeline
@@ -31,7 +37,7 @@
testExpected("video.seeking", true);
endTest();
- });
+ }
</script>
</body>
</html>
« no previous file with comments | « no previous file | LayoutTests/media/controls-timeline-with-controller-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698