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

Unified Diff: third_party/WebKit/LayoutTests/media/resources/auto-play-in-sandbox-with-allow-scripts-iframe.html

Issue 2146923002: Convert auto-play-in-sandbox* tests to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address nit Created 4 years, 5 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
« no previous file with comments | « third_party/WebKit/LayoutTests/media/auto-play-in-sandbox-with-allow-scripts-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « third_party/WebKit/LayoutTests/media/auto-play-in-sandbox-with-allow-scripts-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698