Bumping manifests a=b2g-bump
[gecko.git] / dom / base / test / test_consoleEmptyStack.html
blobbe9dafb86c501bb443d0c02edd21ac2a77d8d351
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="UTF-8">
5 <title>Test for empty stack in console</title>
6 <script type="application/javascript" 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>