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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-pause/debugger-eval-while-paused-throws.html

Issue 2284123002: [DevTools] Format console.log(new Error()) same as console.log(new Error().stack) (Closed)
Patch Set: removed elipsis Created 4 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
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 src="../../../http/tests/inspector/debugger-test.js"></script> 5 <script src="../../../http/tests/inspector/debugger-test.js"></script>
6 <script> 6 <script>
7 7
8 var globalObj = { 8 var globalObj = {
9 func: function() 9 func: function()
10 { 10 {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 function dumpConsoleMessages() 66 function dumpConsoleMessages()
67 { 67 {
68 InspectorTest.deprecatedRunAfterPendingDispatches(() => { 68 InspectorTest.deprecatedRunAfterPendingDispatches(() => {
69 InspectorTest.addResult("Dumping console messages:\n"); 69 InspectorTest.addResult("Dumping console messages:\n");
70 InspectorTest.dumpConsoleMessages(); 70 InspectorTest.dumpConsoleMessages();
71 InspectorTest.completeDebuggerTest(); 71 InspectorTest.completeDebuggerTest();
72 }); 72 });
73 } 73 }
74 } 74 }
75 75 //# sourceURL=test.js
lushnikov 2016/08/29 22:05:21 why this change? is this a beautification?
kozy 2016/08/30 01:19:32 It's beautification, otherwise scripts from this t
76 </script> 76 </script>
77 </head> 77 </head>
78 78
79 <body onload="runTest()"> 79 <body onload="runTest()">
80 <p> 80 <p>
81 Tests that evaluation in console that throws works fine when script is paused. 81 Tests that evaluation in console that throws works fine when script is paused.
82 </p> 82 </p>
83 </body> 83 </body>
84 </html> 84 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698