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

Side by Side Diff: LayoutTests/media/video-source-error.html

Issue 147933002: Remove the media attribute from the resource selection algorithm (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/media/video-source-error-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html lang="en"> 1 <html lang="en">
2 <head> 2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
4 <title>&lt;video&gt; and &lt;source&gt; error test</title> 4 <title>&lt;video&gt; and &lt;source&gt; error test</title>
5 <script src=media-file.js></script> 5 <script src=media-file.js></script>
6 <script src=video-test.js></script> 6 <script src=video-test.js></script>
7 7
8 <script> 8 <script>
9 9
10 var sources = []; 10 var sources = [];
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 waitForEvent('loadeddata', loadeddata); 53 waitForEvent('loadeddata', loadeddata);
54 } 54 }
55 </script> 55 </script>
56 </head> 56 </head>
57 57
58 <body> 58 <body>
59 59
60 <video controls> 60 <video controls>
61 <source id=missing-src type="video/blahblah"> 61 <source id=missing-src type="video/blahblah">
62 <source id=bogus-type src=content/test.mp4 type="video/blahblah"> 62 <source id=bogus-type src=content/test.mp4 type="video/blahblah">
63 <source id=unsupported-media-query src=content/test.mp4 media=print>
64 <source id=missing-file src=content/error2.mpeg type=video/mpeg> 63 <source id=missing-file src=content/error2.mpeg type=video/mpeg>
65 <source id=format-error src="content/unsupported_track.mov"> 64 <source id=format-error src="content/unsupported_track.mov">
66 <source id=supported-format-mp4 src=content/test.mp4 type="video/mp4 ; codecs=&quot;avc1.4D400C&quot;"> 65 <source id=supported-format-mp4 src=content/test.mp4 type="video/mp4 ; codecs=&quot;avc1.4D400C&quot;">
67 <source id=supported-format-ogv src=content/test.ogv type="video/ogg "> 66 <source id=supported-format-ogv src=content/test.ogv type="video/ogg ">
68 </video> 67 </video>
69 68
70 <p>1. Test that errors fired while evaluating/loading &lt;source&gt; ele ments are fired at the 69 <p>1. Test that errors fired while evaluating/loading &lt;source&gt; ele ments are fired at the
71 &lt;source&gt; and not at the &lt;video&gt; element. 70 &lt;source&gt; and not at the &lt;video&gt; element.
72 <br>2. Verifiy that an 'error' event fired while processing/loading a &l t;source&gt; element 71 <br>2. Verifiy that an 'error' event fired while processing/loading a &l t;source&gt; element
73 does not set the media element's 'error' attribute.</p> 72 does not set the media element's 'error' attribute.</p>
74 73
75 <script>start()</script> 74 <script>start()</script>
76 </body> 75 </body>
77 </html> 76 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/media/video-source-error-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698