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

Unified Diff: third_party/WebKit/LayoutTests/media/video-durationchange-on-ended.html

Issue 2123083002: Delete video-durationchange-on-ended.html test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | third_party/WebKit/LayoutTests/media/video-durationchange-on-ended-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/media/video-durationchange-on-ended.html
diff --git a/third_party/WebKit/LayoutTests/media/video-durationchange-on-ended.html b/third_party/WebKit/LayoutTests/media/video-durationchange-on-ended.html
deleted file mode 100644
index e8b94bc56ba9a155e114c36ecffb656411e70b75..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/video-durationchange-on-ended.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956
- (Please avoid writing new tests using video-test.js) -->
- <script src=video-test.js></script>
- </head>
- <body>
- <p>Verify there is a 'durationchange' event just before 'ended' event if the initially reported duration exceeds the actual data.</p>
- <script>
- var initialReportedDuration = -1;
-
- video = document.createElement('video');
- document.body.appendChild(video);
- video.src = "content/truncated.webm";
- video.play();
- waitForEvent('durationchange', function() {
- // Note the initial reported duration
- if (initialReportedDuration == -1)
- initialReportedDuration = video.duration;
- });
-
- waitForEventAndEnd('ended', function() {
- // Verify that the actual duration is less than
- // the initial reported duration
- testExpected("video.duration < initialReportedDuration", true);
- });
- </script>
- </body>
-</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/media/video-durationchange-on-ended-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698