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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/media/media-source/mediasource-htmlmediaelement-lifetime.html

Issue 1715303002: Add TODOs to convert from video-test.js to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add bug ref Created 4 years, 10 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 <script src="/js-test-resources/js-test.js"></script> 4 <script src="/js-test-resources/js-test.js"></script>
5 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
6 (Please avoid writing new tests using video-test.js) -->
5 <script src="/media-resources/video-test.js"></script> 7 <script src="/media-resources/video-test.js"></script>
6 <script src="/w3c/resources/testharness.js"></script> 8 <script src="/w3c/resources/testharness.js"></script>
7 <script src="/w3c/resources/testharnessreport.js"></script> 9 <script src="/w3c/resources/testharnessreport.js"></script>
8 <script src="mediasource-util.js"></script> 10 <script src="mediasource-util.js"></script>
9 </head> 11 </head>
10 <body> 12 <body>
11 <div id="log"></div> 13 <div id="log"></div>
12 <script> 14 <script>
13 window.jsTestIsAsync = true; 15 window.jsTestIsAsync = true;
14 16
(...skipping 24 matching lines...) Expand all
39 test.done(); 41 test.done();
40 } 42 }
41 43
42 ms.addEventListener("sourceopen", test.step_func(sourceOpened)); 44 ms.addEventListener("sourceopen", test.step_func(sourceOpened));
43 video.addEventListener("durationchange", test.step_func(durationCh anged)); 45 video.addEventListener("durationchange", test.step_func(durationCh anged));
44 video.src = window.URL.createObjectURL(ms); 46 video.src = window.URL.createObjectURL(ms);
45 }, "Tests that the MediaSource keeps the HTMLMediaElement alive."); 47 }, "Tests that the MediaSource keeps the HTMLMediaElement alive.");
46 </script> 48 </script>
47 </body> 49 </body>
48 </html> 50 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698