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> |