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

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-source-none-supported.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>no usable &lt;source&gt; test</title> 4 <title>no usable &lt;source&gt; test</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> 8 <script>
9 document.addEventListener("error", errorEvent, true); 9 document.addEventListener("error", errorEvent, true);
10 10
11 function errorEvent(evt) 11 function errorEvent(evt)
12 { 12 {
13 findMediaElement(); 13 findMediaElement();
14 consoleWrite("++ ERROR, src = " + relativeURL(event.target.src) + ", type = \"" + event.target.type + "\""); 14 consoleWrite("++ ERROR, src = " + relativeURL(event.target.src) + ", type = \"" + event.target.type + "\"");
15 testExpected("event.target.tagName", "SOURCE", "=="); 15 testExpected("event.target.tagName", "SOURCE", "==");
(...skipping 25 matching lines...) Expand all
41 <video controls> 41 <video controls>
42 <source src="test.mp4" type="audio/x-chicken-face"> 42 <source src="test.mp4" type="audio/x-chicken-face">
43 <source src="test.ogv" type="video/x-higglety-pigglety"> 43 <source src="test.ogv" type="video/x-higglety-pigglety">
44 <source src="doesnotexist.mp4"> 44 <source src="doesnotexist.mp4">
45 </video> 45 </video>
46 46
47 <p>1. Test that no usable &lt;source&gt; element leaves the media element wi th 47 <p>1. Test that no usable &lt;source&gt; element leaves the media element wi th
48 networkState == NETWORK_NO_SOURCE</p> 48 networkState == NETWORK_NO_SOURCE</p>
49 </body> 49 </body>
50 </html> 50 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698