Bug 1915045 Ensure decode tasks are scheduled on BufferingState::Enter() r=media...
[gecko.git] / dom / canvas / test / crash / test_798802-1.html
blob6a68f69f378cd6dd67791c5049272ede3583ab1f
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=798802
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_798802-1.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>