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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/media/video-error-abort.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/http/tests/media/video-error-abort.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/media/video-error-abort.html b/third_party/WebKit/LayoutTests/http/tests/media/video-error-abort.html
index abf1a37d588e8e829335c58d39f3ece812b9e873..08128d8e16510272e5a1d2eb5d9ac8faeb673c7a 100644
--- a/third_party/WebKit/LayoutTests/http/tests/media/video-error-abort.html
+++ b/third_party/WebKit/LayoutTests/http/tests/media/video-error-abort.html
@@ -3,6 +3,8 @@
<head>
<title>'abort' event test</title>
<script src=../../media-resources/media-file.js></script>
+ <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
+ (Please avoid writing new tests using video-test.js) -->
<script src=../../media-resources/video-test.js></script>
<script>
var didLoad = false;
@@ -13,8 +15,8 @@
testExpected("video.error", null);
if (didLoad)
- return;
- didLoad = true;
+ return;
+ didLoad = true;
// Force the element to reload, while the current movie is still loading,
// this should generate an 'abort' event

Powered by Google App Engine
This is Rietveld 408576698