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

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

Issue 169363004: Remove the mediaEnabled setting (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase 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/media-disable-crash-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
(Empty)
1 <html>
2 <script>
3 function runTest() {
4 if (window.testRunner)
5 testRunner.dumpAsText();
6
7 if (window.internals)
8 window.internals.settings.setMediaEnabled(false);
9
10 var audioElement = document.createElement("audio");
11 }
12 </script>
13 <body onload="runTest()">
14 The test passes if it doesn't crash.
15 </body>
16 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/media/media-disable-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698