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

Unified Diff: third_party/WebKit/LayoutTests/media/video-source.html

Issue 1810513002: Media element resource selection algorithm should "await a stable state" Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase, microtask changes, layouttest updation Created 4 years, 3 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
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;

Powered by Google App Engine
This is Rietveld 408576698