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

Unified Diff: third_party/WebKit/LayoutTests/media/video-capture-preview.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-preview.html
diff --git a/third_party/WebKit/LayoutTests/media/video-capture-preview.html b/third_party/WebKit/LayoutTests/media/video-capture-preview.html
index fe7d08f3c5c6f93c2c08cc38f5e0366dc8960af5..93fdfff951771fb65ae169fa5dd29d471c42467c 100644
--- a/third_party/WebKit/LayoutTests/media/video-capture-preview.html
+++ b/third_party/WebKit/LayoutTests/media/video-capture-preview.html
@@ -2,6 +2,8 @@
<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>
@@ -10,7 +12,7 @@
var previewURL = "";
var localStream = null;
-if (window.internals)
+if (window.internals)
window.internals.settings.setMediaPlaybackRequiresUserGesture(true);
function startPreview()
@@ -64,6 +66,5 @@ function playPreview()
<body onload="playPreview()">
<video width="320" height="240" autoplay="autoplay"></video>
-</body>
-</html>
-
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698