Index: third_party/WebKit/LayoutTests/media/resources/auto-play-in-sandbox-with-allow-scripts-iframe.html |
diff --git a/third_party/WebKit/LayoutTests/media/resources/auto-play-in-sandbox-with-allow-scripts-iframe.html b/third_party/WebKit/LayoutTests/media/resources/auto-play-in-sandbox-with-allow-scripts-iframe.html |
index e545710937ff14b36949135933f3d793c953cdc3..2494b0a13ccbf451c9882c1965559ec115f32717 100644 |
--- a/third_party/WebKit/LayoutTests/media/resources/auto-play-in-sandbox-with-allow-scripts-iframe.html |
+++ b/third_party/WebKit/LayoutTests/media/resources/auto-play-in-sandbox-with-allow-scripts-iframe.html |
@@ -1,17 +1,3 @@ |
+<!DOCTYPE html> |
<base href=".."> |
-<video autoplay controls></video> |
-<p>Test that play event fires when "src" set with an autoplay attribute in a sandbox with allows-scripts.</p> |
-<script src=media-file.js></script> |
-<!-- TODO(foolip): 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 () { |
- logResult(true, "PLAY fired"); |
- endTest(); |
- } ); |
- |
- video.src = findMediaFile("video", "content/test"); |
-</script> |
+<video autoplay></video> |