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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-7_2.html

Issue 2766913003: Fixed and improved content-security-policy/media-src tests (Closed)
Patch Set: Re-edited TestExpectations after a rebase-update to try to make the patch apply properly this time Created 3 years, 9 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>Audio element src attribute must match src list - positive test</titl e> 4 <title>Audio element src attribute must match src list - positive test</titl e>
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 <h1>Audio element src attribute must match src list - positive test</h1> 9 <h1>Audio element src attribute must match src list - positive test</h1>
10 <div id='log'></div> 10 <div id='log'></div>
(...skipping 10 matching lines...) Expand all
21 t.step( function () { 21 t.step( function () {
22 assert_unreached("Media error handler should be triggered for non-allo wed domain."); 22 assert_unreached("Media error handler should be triggered for non-allo wed domain.");
23 }); 23 });
24 t.done(); 24 t.done();
25 } 25 }
26 </script> 26 </script>
27 27
28 <audio id="audioObject" width="320" height="240" controls 28 <audio id="audioObject" width="320" height="240" controls
29 onloadeddata="media_loaded(source_test)"> 29 onloadeddata="media_loaded(source_test)">
30 <source id="audioSourceObject" 30 <source id="audioSourceObject"
31 type="audio/mpeg" 31 type="audio/ogg"
32 onerror="media_error_handler(source_test)" 32 onerror="media_error_handler(source_test)"
33 src="/media/sound_5.mp3"> 33 src="/media/sound_5.oga">
34 </audio> 34 </audio>
35 <audio id="audioObject2" width="320" height="240" controls 35 <audio id="audioObject2" width="320" height="240" controls
36 onerror="media_error_handler(src_test)" 36 onerror="media_error_handler(src_test)"
37 onloadeddata="media_loaded(src_test)" 37 onloadeddata="media_loaded(src_test)"
38 src="/media/sound_5.mp3"> 38 src="/media/sound_5.oga">
39 39
40 <script async defer src="../support/checkReport.sub.js?reportExists=false"> 40 <script async defer src="../support/checkReport.sub.js?reportExists=false">
41 </script> 41 </script>
42 42
43 </body> 43 </body>
44 </html> 44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698