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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/script-formatter-console.html

Issue 2571713005: DevTools: untruncate links on console export (Closed)
Patch Set: rebase Created 3 years, 11 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 function nonFormattedFunction() { var i = 2 + 2; var a = 4; return a + i; } 8 function nonFormattedFunction() { var i = 2 + 2; var a = 4; return a + i; }
9 9
10 function f1() 10 function f1()
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 next(); 65 next();
66 } 66 }
67 } 67 }
68 ]); 68 ]);
69 69
70 function dumpConsoleMessageURLs() 70 function dumpConsoleMessageURLs()
71 { 71 {
72 var messages = Console.ConsoleView.instance()._visibleViewMessages; 72 var messages = Console.ConsoleView.instance()._visibleViewMessages;
73 for (var i = 0; i < messages.length; ++i) { 73 for (var i = 0; i < messages.length; ++i) {
74 var element = messages[i].toMessageElement(); 74 var element = messages[i].toMessageElement();
75 var anchor = element.querySelector(".console-message-url"); 75 var anchor = element.querySelector(".console-message-anchor");
76 InspectorTest.addResult(anchor.textContent); 76 InspectorTest.addResult(anchor.textContent);
77 } 77 }
78 } 78 }
79 } 79 }
80 80
81 </script> 81 </script>
82 82
83 </head> 83 </head>
84 84
85 <body onload="onload()"> 85 <body onload="onload()">
86 <p>Tests that the script formatting changes console line numbers. 86 <p>Tests that the script formatting changes console line numbers.
87 </p> 87 </p>
88 88
89 </body> 89 </body>
90 </html> 90 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698