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

Unified Diff: third_party/WebKit/LayoutTests/inspector/console/console-export.html

Issue 2571713005: DevTools: untruncate links on console export (Closed)
Patch Set: test desc Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/console/console-export.html
diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-export.html b/third_party/WebKit/LayoutTests/inspector/console/console-export.html
new file mode 100644
index 0000000000000000000000000000000000000000..a730025305e5c4600abe6961b36caf4bb0287455
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-export.html
@@ -0,0 +1,31 @@
+<html>
+<head>
+<script src="../../http/tests/inspector/inspector-test.js"></script>
+<script src="../../http/tests/inspector/console-test.js"></script>
+<script>
+
+function log() {
+ console.log("one");
+ console.log("www.loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooongurl.com");
+ console.trace('My important trace');
+ console.error('foo');
dgozman 2017/01/10 01:03:30 Let's have a single message with multiple urls as
luoe 2017/01/10 22:21:44 Done.
+}
+log();
+
+function test()
+{
+ InspectorTest.dumpConsoleMessages();
+ var consoleView = Console.ConsoleView.instance();
+ consoleView._visibleViewMessages.forEach(message => InspectorTest.addResult(message.toExportString()));
+ InspectorTest.completeTest();
+}
+
+</script>
+</head>
+
+<body onload="runTest()">
+<p>
+Tests that exporting console messages produces proper output.
+</p>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698