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

Side by Side Diff: third_party/WebKit/LayoutTests/media/track/track-element-load-event.html

Issue 2268373002: clean up media tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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>Load event on the track element</title> 4 <title>Load event on the track element</title>
5 <script src="../../resources/testharness.js"></script> 5 <script src="../../resources/testharness.js"></script>
6 <script src="../../resources/testharnessreport.js"></script> 6 <script src="../../resources/testharnessreport.js"></script>
7 </head> 7 </head>
8 <body> 8 <body>
9 <div id="log"></div> 9 <script>
10 <script type="text/javascript">
11 10
12 var video; 11 var video;
13 12
14 // Setup 13 // Setup
15 14
16 setup(function(){ 15 setup(function(){
17 video = document.createElement('video'); 16 video = document.createElement('video');
18 document.body.appendChild(video); 17 document.body.appendChild(video);
19 }, {timeout: 5000}); 18 }, {timeout: 5000});
20 19
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 if (command === "mode") 63 if (command === "mode")
65 track.track.mode = 'hidden'; 64 track.track.mode = 'hidden';
66 65
67 if (command === "append") 66 if (command === "append")
68 video.appendChild(track); 67 video.appendChild(track);
69 }; 68 };
70 69
71 </script> 70 </script>
72 </body> 71 </body>
73 </html> 72 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698