Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/console/console-stack-overflow.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/console-test.js"></script> 4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <script> 5 <script>
6 function overflow() 6 function overflow()
7 { 7 {
8 overflow(); 8 overflow();
9 } 9 }
10 10
11 function doOverflow() 11 function doOverflow()
12 { 12 {
13 setTimeout(overflow, 0); 13 setTimeout(overflow, 0);
14 } 14 }
15 15
16 function test() 16 function test()
17 { 17 {
18 InspectorTest.evaluateInPage("doOverflow()", step2.bind(this)); 18 InspectorTest.evaluateInPage("doOverflow()", step2.bind(this));
19 19
20 function step2() 20 function step2()
21 { 21 {
22 if (WebInspector.ConsoleView.instance()._visibleViewMessages.length < 1) 22 if (Console.ConsoleView.instance()._visibleViewMessages.length < 1)
23 InspectorTest.addConsoleSniffer(step2); 23 InspectorTest.addConsoleSniffer(step2);
24 else 24 else
25 step3(); 25 step3();
26 } 26 }
27 27
28 function step3() 28 function step3()
29 { 29 {
30 InspectorTest.expandConsoleMessages(onExpanded); 30 InspectorTest.expandConsoleMessages(onExpanded);
31 } 31 }
32 32
33 function onExpanded() 33 function onExpanded()
34 { 34 {
35 InspectorTest.dumpConsoleMessages(); 35 InspectorTest.dumpConsoleMessages();
36 InspectorTest.completeTest(); 36 InspectorTest.completeTest();
37 } 37 }
38 } 38 }
39 </script> 39 </script>
40 </head> 40 </head>
41 <body onload="runTest()"> 41 <body onload="runTest()">
42 <p>Tests that when stack overflow exception happens when inspector is open the s tack trace is correctly shown in console.</p> 42 <p>Tests that when stack overflow exception happens when inspector is open the s tack trace is correctly shown in console.</p>
43 </body> 43 </body>
44 </html> 44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698