Index: LayoutTests/media/autoplay-with-preload-none.html |
diff --git a/LayoutTests/media/autoplay.html b/LayoutTests/media/autoplay-with-preload-none.html |
similarity index 82% |
copy from LayoutTests/media/autoplay.html |
copy to LayoutTests/media/autoplay-with-preload-none.html |
index ca59be325e0c3c18f55759b24e6354649e8b6360..732295c2d7610ba02686e6fb846c2a88dc977e2e 100644 |
--- a/LayoutTests/media/autoplay.html |
+++ b/LayoutTests/media/autoplay-with-preload-none.html |
@@ -1,6 +1,5 @@ |
<!doctype html> |
-<!-- original: https://github.com/w3c/web-platform-tests/blob/6b3893bb99f70e4238011dbcd1f380891e89ec5e/html/semantics/embedded-content-0/media-elements/autoplay.html --> |
-<title>autoplay</title> |
+<title>autoplay with preload set to none.</title> |
<script src="../resources/testharness.js"></script> |
<script src="../resources/testharnessreport.js"></script> |
<script src="media-file.js"></script> |
@@ -12,6 +11,7 @@ function autoplay_test(tagName, src) |
{ |
var e = document.createElement(tagName); |
e.src = src; |
+ e.preload = "none"; |
e.autoplay = true; |
var actual_events = []; |
var expected_events = ['canplay', 'play', 'playing', 'canplaythrough']; |
@@ -28,7 +28,7 @@ function autoplay_test(tagName, src) |
} |
})); |
}); |
- }, tagName + '.autoplay'); |
+ }, tagName + '.autoplay with preload="none"'); |
} |
autoplay_test('audio', findMediaFile('audio', 'content/test')); |