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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/console/console-linkify-message-location.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> 5 <script>
6 function foo() 6 function foo()
7 { 7 {
8 console.trace(239); 8 console.trace(239);
9 } 9 }
10 //# sourceURL=foo.js 10 //# sourceURL=foo.js
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 { 51 {
52 dumpConsoleMessageURLs(); 52 dumpConsoleMessageURLs();
53 InspectorTest.completeTest(); 53 InspectorTest.completeTest();
54 } 54 }
55 55
56 function dumpConsoleMessageURLs() 56 function dumpConsoleMessageURLs()
57 { 57 {
58 var messages = Console.ConsoleView.instance()._visibleViewMessages; 58 var messages = Console.ConsoleView.instance()._visibleViewMessages;
59 for (var i = 0; i < messages.length; ++i) { 59 for (var i = 0; i < messages.length; ++i) {
60 var element = messages[i].toMessageElement(); 60 var element = messages[i].toMessageElement();
61 var anchor = element.querySelector(".console-message-url"); 61 var anchor = element.querySelector(".console-message-anchor");
62 InspectorTest.addResult(anchor.textContent.replace(/VM\d+/g, "VM")); 62 InspectorTest.addResult(anchor.textContent.replace(/VM\d+/g, "VM"));
63 } 63 }
64 } 64 }
65 } 65 }
66 </script> 66 </script>
67 </head> 67 </head>
68 <body onload="runTest()"> 68 <body onload="runTest()">
69 <p> 69 <p>
70 Test that console.log() would linkify its location in respect with blackboxing. 70 Test that console.log() would linkify its location in respect with blackboxing.
71 </p> 71 </p>
72 </body> 72 </body>
73 </html> 73 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698