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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-compile-and-run.html

Issue 1666563005: DevTools: merge ScriptCallStack and ScriptAsyncCallStack, move CallStacks from console to Runtime. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: testts Created 4 years, 10 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
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/debugger-test.js"></script> 4 <script src="../../../http/tests/inspector/debugger-test.js"></script>
5 <script> 5 <script>
6 var test = function() 6 var test = function()
7 { 7 {
8 function printExceptionDetails(exceptionDetails) 8 function printExceptionDetails(exceptionDetails)
9 { 9 {
10 InspectorTest.addResult("exceptionDetails:") 10 InspectorTest.addResult("exceptionDetails:")
11 InspectorTest.addResult(" " + exceptionDetails.text); 11 InspectorTest.addResult(" " + exceptionDetails.text);
12 InspectorTest.addResult(" line: " + exceptionDetails.line + ", column: " + exceptionDetails.column); 12 InspectorTest.addResult(" line: " + exceptionDetails.line + ", column: " + exceptionDetails.column);
13 13
14 var stack = exceptionDetails.stackTrace; 14 var stack = exceptionDetails.stack ? exceptionDetails.stack.callFrames : null;
15 if (!stack) { 15 if (!stack) {
16 InspectorTest.addResult(" no stack trace attached to exceptionDeta ils"); 16 InspectorTest.addResult(" no stack trace attached to exceptionDeta ils");
17 } else { 17 } else {
18 InspectorTest.addResult(" exceptionDetails stack trace:"); 18 InspectorTest.addResult(" exceptionDetails stack trace:");
19 for (var i = 0; i < stack.length && i < 100; ++i) { 19 for (var i = 0; i < stack.length && i < 100; ++i) {
20 InspectorTest.addResult(" url: " + stack[i].url); 20 InspectorTest.addResult(" url: " + stack[i].url);
21 InspectorTest.addResult(" function: " + stack[i].functionN ame); 21 InspectorTest.addResult(" function: " + stack[i].functionN ame);
22 InspectorTest.addResult(" line: " + stack[i].lineNumber); 22 InspectorTest.addResult(" line: " + stack[i].lineNumber);
23 } 23 }
24 } 24 }
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 } 93 }
94 ]); 94 ]);
95 } 95 }
96 </script> 96 </script>
97 </head> 97 </head>
98 <body onload="runTest()"> 98 <body onload="runTest()">
99 <p>Tests separate compilation and run.</p> 99 <p>Tests separate compilation and run.</p>
100 <a href="https://bugs.webkit.org/show_bug.cgi?id=89646">Bug 89646.</a> 100 <a href="https://bugs.webkit.org/show_bug.cgi?id=89646">Bug 89646.</a>
101 </body> 101 </body>
102 </html> 102 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698