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

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

Issue 23684014: Crash direct wrapping media element when media isn't enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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
« no previous file with comments | « no previous file | LayoutTests/fast/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/fast/media/media-disable-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698