Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / console / console-trace.html
blob35bf253d0b02cd63a5a5ea6d54fba50cc4337e9d
1 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <script>
7 function b()
9 console.trace();
12 function a()
14 b();
17 function test()
19 function callback()
21 InspectorTest.dumpConsoleMessages();
22 InspectorTest.completeTest();
24 InspectorTest.evaluateInPage("setTimeout(a, 0)");
25 InspectorTest.addConsoleSniffer(callback);
28 </script>
29 </head>
31 <body onload="runTest()">
32 <p>
33 Tests that console.trace dumps stack trace with source URLs and line numbers.
34 </p>
36 </body>
37 </html>