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

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

Issue 23717011: DevTools: Use scriptId for resolving stack frames in console messages (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed tests Created 7 years, 3 months 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 | Annotate | Revision Log
OLDNEW
(Empty)
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()
7 {
8 overflow();
9 }
10
11 function doOverflow()
12 {
13 setTimeout(overflow, 0);
14 }
15
16 function test()
17 {
18 InspectorTest.evaluateInPage("doOverflow()", step2.bind(this));
19
20 function step2()
21 {
22 if (WebInspector.consoleView._visibleMessagesIndices.length < 1)
23 InspectorTest.addConsoleSniffer(step2);
24 else
25 step3();
26 }
27
28 function step3()
29 {
30 InspectorTest.expandConsoleMessages();
31 InspectorTest.dumpConsoleMessages();
32 InspectorTest.completeTest();
33 }
34 }
35 </script>
36 </head>
37 <body onload="runTest()">
38 <p>Tests that when stack overflow exception happens when inspector is open the s tack trace is correctly shown in console.</p>
39 </body>
40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698