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

Unified Diff: third_party/WebKit/LayoutTests/media/video-capture-canvas.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-capture-canvas.html
diff --git a/third_party/WebKit/LayoutTests/media/video-capture-canvas.html b/third_party/WebKit/LayoutTests/media/video-capture-canvas.html
index f11faf5d0fc01bca6eb5ff4011e5f65c7e3423cc..85226aa23dec6bd17e6d7bface66b957b2786944 100644
--- a/third_party/WebKit/LayoutTests/media/video-capture-canvas.html
+++ b/third_party/WebKit/LayoutTests/media/video-capture-canvas.html
@@ -2,13 +2,15 @@
<html>
<head>
<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 src=video-played.js></script>
<script src="../resources/js-test.js"></script>
<script type="text/javascript">
-if (window.internals)
+if (window.internals)
window.internals.settings.setMediaPlaybackRequiresUserGesture(true);
function gotStream(stream)
@@ -64,6 +66,5 @@ function playPreview()
<body onload="playPreview()">
<video width="320" height="240" autoplay="autoplay"></video>
<canvas width="1" height="1" ></canvas>
-</body>
-</html>
-
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698