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

Side by Side Diff: third_party/WebKit/LayoutTests/media/unsupported-tracks.html

Issue 2062673002: Convert unsupported* and video-append* tests to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 <video controls></video> 1 <!DOCTYPE html>
2 <p>Test that QuickTime file with unsupported track types only generates an error .<p> 2 <title>Test that QuickTime file with unsupported track types only, generates an error.</title>
3 <script src=media-file.js></script> 3 <script src="../resources/testharness.js"></script>
4 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 4 <script src="../resources/testharnessreport.js"></script>
5 (Please avoid writing new tests using video-test.js) --> 5 <script src="media-file.js"></script>
6 <script src=video-test.js></script> 6 <video></video>
7 <script> 7 <script>
8 video.src = findMediaFile("video", "content/unsupported_track"); 8 async_test(function(t) {
9 waitForEvent("error", function () { 9 var video = document.querySelector("video");
10 testExpected("video.error", null, "!="); 10 video.src = findMediaFile("video", "content/unsupported_track");
11 endTest(); 11 video.onerror = t.step_func_done();
12 }); 12 });
13 </script> 13 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698