Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/media/autoplay-muted.html |
| diff --git a/third_party/WebKit/LayoutTests/media/autoplay-muted.html b/third_party/WebKit/LayoutTests/media/autoplay-muted.html |
| index 2de88e10382cf8471b7711599dbd5f349cf0e3bf..5354465f752bf570403ac6438f5d91d9b2c68d67 100644 |
| --- a/third_party/WebKit/LayoutTests/media/autoplay-muted.html |
| +++ b/third_party/WebKit/LayoutTests/media/autoplay-muted.html |
| @@ -1,5 +1,9 @@ |
| <!DOCTYPE html> |
| +<html> |
| +<head> |
|
esprehn
2016/06/21 21:28:41
you don't need <head> or <html>, just add <body>.
mlamouri (slow - plz ping)
2016/06/21 21:32:11
I could but having <title> outside of <head> isn't
esprehn
2016/06/21 21:36:39
The <title> won't be outside the head, just like i
|
| <title>Test for autoplay of muted video</title> |
| +</head> |
| +<body> |
| <script src="../resources/testharness.js"></script> |
| <script src="../resources/testharnessreport.js"></script> |
| <script src="media-file.js"></script> |
| @@ -35,6 +39,7 @@ |
| async_test(function(t) { |
| var e = createMutedVideoElement(); |
| e.autoplay = true; |
| + document.body.appendChild(e); |
| var expectedEvents = [ 'canplay', 'play', 'playing']; |
| var eventWatcher = new EventWatcher(t, e, expectedEvents); |
| @@ -100,3 +105,5 @@ |
| createMutedVideoElement().play()); |
| }, "Test that muted videos don't autoplay when the setting is disabled"); |
| </script> |
| +</body> |
| +</html> |
|
esprehn
2016/06/21 21:28:41
remove
|