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

Unified Diff: third_party/WebKit/LayoutTests/media/video-positive-start-time-seek-after-start-time.html

Issue 2268373002: clean up media tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/LayoutTests/media/video-positive-start-time-seek-after-start-time.html
diff --git a/third_party/WebKit/LayoutTests/media/video-positive-start-time-seek-after-start-time.html b/third_party/WebKit/LayoutTests/media/video-positive-start-time-seek-after-start-time.html
index a7c2ec2ff1c7ca5b745fbe311d3a227c20ee092d..d314bc4137e471722865855bc39863f59e0c3652 100644
--- a/third_party/WebKit/LayoutTests/media/video-positive-start-time-seek-after-start-time.html
+++ b/third_party/WebKit/LayoutTests/media/video-positive-start-time-seek-after-start-time.html
@@ -2,18 +2,16 @@
<title>video with a postive start time and a seek after start time</title>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
-<div id="log"></div>
-<video controls></video>
+<video></video>
<script>
async_test(function(t) {
var video = document.querySelector('video');
- video.onloadeddata = t.step_func(function() {
+ video.onloadeddata = t.step_func_done(function() {
assert_equals(video.currentTime, 5, 'currentTime');
// FIXME: Once Chrome correctly exposes seekable ranges for media with
// positive start times, verify video.seekable.start(0) here.
- t.done();
});
video.src = 'resources/test-positive-start-time.webm#t=5';

Powered by Google App Engine
This is Rietveld 408576698