Index: third_party/WebKit/LayoutTests/media/video-source.html |
diff --git a/third_party/WebKit/LayoutTests/media/video-source.html b/third_party/WebKit/LayoutTests/media/video-source.html |
index 1f4b6b5c58cbf53a5b95908d7e5d6e0a4735bd98..850467a35121450d7d12b7f10d92d8e4a10c543f 100644 |
--- a/third_party/WebKit/LayoutTests/media/video-source.html |
+++ b/third_party/WebKit/LayoutTests/media/video-source.html |
@@ -3,15 +3,14 @@ |
<script src="../resources/testharness.js"></script> |
<script src="../resources/testharnessreport.js"></script> |
<script src="media-file.js"></script> |
-<video> |
- <source></source> |
-</video> |
+<video></video> |
<script> |
async_test(function(t) { |
var video = document.querySelector("video"); |
- var source = document.querySelector("source"); |
+ var source = document.createElement("source"); |
var mediaFile = findMediaFile("video", "content/test"); |
source.src = mediaFile; |
+ video.appendChild(source); |
video.onloadstart = t.step_func_done(function() { |
var url = video.currentSrc; |