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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/console/console-export.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
(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
7 function log() {
8 var nonUrl = "foo";
9 var url = "www.chromium.org";
10 var longNonUrl = "baaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaar";
11 var longUrl = "www.loooooooooooooooooooooooooooooooooooooooooooooooooooooooo oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo oooooooooooooooooooooooooooooooooooooooooooooooooongurl.com";
12 console.log(nonUrl);
13 console.log(url);
14 console.log(longNonUrl);
15 console.log(longUrl);
16 console.log(url + " " + longUrl + " " + nonUrl + " " + longNonUrl + " " + ur l + " " + longUrl);
17 console.trace("My important trace");
18 console.error("My error");
19 }
20 log();
21
22 function test()
23 {
24 InspectorTest.addResult("\nDumping messages");
25 InspectorTest.dumpConsoleMessages();
26 InspectorTest.addResult("\nDumping export strings");
27 var consoleView = Console.ConsoleView.instance();
28 consoleView._visibleViewMessages.forEach(message => InspectorTest.addResult( message.toExportString()));
29 InspectorTest.completeTest();
30 }
31
32 </script>
33 </head>
34
35 <body onload="runTest()">
36 <p>
37 Tests that exporting console messages produces proper output.
38 </p>
39 </body>
40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698