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

Unified Diff: third_party/WebKit/LayoutTests/media/video-no-autoplay.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-no-autoplay.html
diff --git a/third_party/WebKit/LayoutTests/media/video-no-autoplay.html b/third_party/WebKit/LayoutTests/media/video-no-autoplay.html
index 38920ceaa662a47be7e17f57a495ca0135e3081e..24550f2a04466771278bfbd8270fe9ad1a5591c3 100644
--- a/third_party/WebKit/LayoutTests/media/video-no-autoplay.html
+++ b/third_party/WebKit/LayoutTests/media/video-no-autoplay.html
@@ -1,17 +1,19 @@
<video controls></video>
<p>Test that play event does not fire when "src" set with no autoplay attribute.</p>
<script src=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=video-test.js></script>
<script>
testExpected("video.paused", true);
- waitForEvent('play', function () {
+ waitForEvent('play', function () {
logResult(false, "PLAY fired");
endTest();
} );
- function testPaused ()
- {
+ function testPaused ()
+ {
testExpected("video.paused", true);
endTest();
}

Powered by Google App Engine
This is Rietveld 408576698