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

Side by Side Diff: LayoutTests/media/media-disable-crash.html

Issue 74783002: Move media (as in audio/video) tests to media/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
OLDNEW
1 <html> 1 <html>
2 <script> 2 <script>
3 function runTest() { 3 function runTest() {
4 if (window.testRunner) 4 if (window.testRunner)
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 6
7 if (window.internals) 7 if (window.internals)
8 window.internals.settings.setMediaEnabled(false); 8 window.internals.settings.setMediaEnabled(false);
9 9
10 var audioElement = document.createElement("audio"); 10 var audioElement = document.createElement("audio");
11 } 11 }
12 </script> 12 </script>
13 <body onload="runTest()"> 13 <body onload="runTest()">
14 The test passes if it doesn't crash. 14 The test passes if it doesn't crash.
15 </body> 15 </body>
16 </html> 16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698