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

Unified Diff: third_party/WebKit/LayoutTests/media/video-src-plus-source.html

Issue 1715303002: Add TODOs to convert from video-test.js to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add bug ref Created 4 years, 10 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-src-plus-source.html
diff --git a/third_party/WebKit/LayoutTests/media/video-src-plus-source.html b/third_party/WebKit/LayoutTests/media/video-src-plus-source.html
index 257a779c58d3372c475f022affe46dea77ebd50a..4b81eba244d7a6439313246a5aa383fa753bc3ea 100644
--- a/third_party/WebKit/LayoutTests/media/video-src-plus-source.html
+++ b/third_party/WebKit/LayoutTests/media/video-src-plus-source.html
@@ -1,19 +1,21 @@
<html>
<body>
+ <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
+ (Please avoid writing new tests using video-test.js) -->
<script src=video-test.js></script>
<script>
- mediaElement.addEventListener('loadedmetadata', function() {
+ mediaElement.addEventListener('loadedmetadata', function() {
failTest("'loadedmetadata' event fired" );
}, true);
- waitForEvent('loadstart', function () {
+ waitForEvent('loadstart', function () {
findMediaElement();
testExpected("relativeURL(video.currentSrc)", "content/bogus.mpeg");
consoleWrite("");
});
- waitForEvent('error', function () {
+ waitForEvent('error', function () {
findMediaElement();
testExpected("relativeURL(video.currentSrc)", "content/bogus.mpeg");
testExpected("mediaElement.error.code", MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED);
« no previous file with comments | « third_party/WebKit/LayoutTests/media/video-src-none.html ('k') | third_party/WebKit/LayoutTests/media/video-src-remove.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698