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

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

Issue 2571713005: DevTools: untruncate links on console export (Closed)
Patch Set: up + test 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..24ee6aa0661f8e350a7b75a83883e425506e24b3
--- /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');
+}
+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 console is cleared upon requestClearMessages call.
+</p>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698