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

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-source-add-after-remove.html

Issue 2015503002: Move TODO(philipj) to TODO(foolip) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Add &lt;source> after removing failed candidate</title> 4 <title>Add &lt;source> after removing failed candidate</title>
5 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 5 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956
6 (Please avoid writing new tests using video-test.js) --> 6 (Please avoid writing new tests using video-test.js) -->
7 <script src=video-test.js></script> 7 <script src=video-test.js></script>
8 <script src=media-file.js></script> 8 <script src=media-file.js></script>
9 <script> 9 <script>
10 function error() 10 function error()
11 { 11 {
12 findMediaElement(); 12 findMediaElement();
13 video.removeChild(video.firstChild); 13 video.removeChild(video.firstChild);
14 var source = document.createElement("source"); 14 var source = document.createElement("source");
15 source.src = findMediaFile("video", "content/test"); 15 source.src = findMediaFile("video", "content/test");
16 video.appendChild(source); 16 video.appendChild(source);
17 waitForEventAndEnd("loadedmetadata"); 17 waitForEventAndEnd("loadedmetadata");
18 } 18 }
19 </script> 19 </script>
20 </head> 20 </head>
21 21
22 <body> 22 <body>
23 <video><source onerror="error()"></video> 23 <video><source onerror="error()"></video>
24 </body> 24 </body>
25 </html> 25 </html>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/media/video-source.html ('k') | third_party/WebKit/LayoutTests/media/video-source-error.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698