Bug 1863873 - Block ability to perform audio decoding outside of Utility on release...
[gecko.git] / dom / console / tests / test_consoleEmptyStack.html
blobec77d0ac6f03e4b59dac97c082a1ce7f01709be6
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="UTF-8">
5 <title>Test for empty stack in console</title>
6 <script src="/tests/SimpleTest/SimpleTest.js"></script>
7 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
8 </head>
9 <body>
10 <script type="application/javascript">
11 SimpleTest.waitForExplicitFinish();
13 window.setTimeout(console.log.bind(console), 0, "xyz");
15 window.addEventListener("fake", console.log.bind(console, "xyz"));
17 window.addEventListener("fake", function() {
18 ok(true, "Still alive");
19 SimpleTest.finish();
20 });
22 window.dispatchEvent(new Event("fake"));
23 </script>
24 </pre>
25 </body>
26 </html>