Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / console / console-stack-overflow.html
blob6a16acd7471f778d3c11f573fe32593c247e4590
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>
6 function overflow()
8 overflow();
11 function doOverflow()
13 setTimeout(overflow, 0);
16 function test()
18 InspectorTest.evaluateInPage("doOverflow()", step2.bind(this));
20 function step2()
22 if (WebInspector.ConsolePanel._view()._visibleViewMessages.length < 1)
23 InspectorTest.addConsoleSniffer(step2);
24 else
25 step3();
28 function step3()
30 InspectorTest.expandConsoleMessages(onExpanded);
33 function onExpanded()
35 InspectorTest.dumpConsoleMessages();
36 InspectorTest.completeTest();
39 </script>
40 </head>
41 <body onload="runTest()">
42 <p>Tests that when stack overflow exception happens when inspector is open the stack trace is correctly shown in console.</p>
43 </body>
44 </html>