Bug 1915045 Ensure decode tasks are scheduled on BufferingState::Enter() r=media...
[gecko.git] / dom / canvas / test / crash / test_616401.html
blob71c77c1b4afe4a5b267655a56bd98205b4c24ef9
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=616401
5 -->
6 <head>
7 <title>Test for webgl crashing</title>
8 <script src="/tests/SimpleTest/SimpleTest.js"></script>
9 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
10 </head>
11 <body>
13 <body>
14 <script class="testbody" type="application/javascript">
15 SimpleTest.waitForExplicitFinish();
16 ok(true, "expecting an exception, not a crash");
18 var iframe = document.getElementById('iframe1');
19 try {
20 iframe.src = 'file_616401.html';
21 ok(false, 'loaded the iframe and we did not see a crash, perfect!');
22 } catch (e) {
23 ok(true, "caught exception in loading the iframe");
25 SimpleTest.finish();
27 </script>
28 <iframe id="iframe1" src="" width="600" height="600"></iframe>
29 </body>
30 </html>