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

Unified Diff: third_party/WebKit/LayoutTests/inspector/console/console-clear-function-expected.txt

Issue 2970313002: DevTools: do not clear console when preserving log (Closed)
Patch Set: remove unused file Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/console/console-clear-function-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-clear-function-expected.txt b/third_party/WebKit/LayoutTests/inspector/console/console-clear-function-expected.txt
index 816aceae41d3eab151257e91c65d9731534fd71b..a30d1dcb22f9a936dbf1330ee825c205d1ae1c68 100644
--- a/third_party/WebKit/LayoutTests/inspector/console/console-clear-function-expected.txt
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-clear-function-expected.txt
@@ -1,13 +1,31 @@
CONSOLE MESSAGE: line 10: one
CONSOLE MESSAGE: line 11: two
CONSOLE MESSAGE: line 12: three
+CONSOLE MESSAGE: line 10: one
+CONSOLE MESSAGE: line 11: two
+CONSOLE MESSAGE: line 12: three
Tests that console is cleared via console.clear() method
Bug 101021
+
+Running: clearFromConsoleAPI
=== Before clear ===
console-clear-function.html:10 one
console-clear-function.html:11 two
console-clear-function.html:12 three
=== After clear ===
-console-clear-function.html:19 Console was cleared
+console-clear-function.html:17 Console was cleared
+
+Running: shouldNotClearWithPreserveLog
+=== Before clear ===
+console-clear-function.html:17 Console was cleared
+console-clear-function.html:10 one
+console-clear-function.html:11 two
+console-clear-function.html:12 three
+=== After clear ===
+console-clear-function.html:17 Console was cleared
+console-clear-function.html:10 one
+console-clear-function.html:11 two
+console-clear-function.html:12 three
+console-clear-function.html:17 console.clear() was prevented due to 'Preserve log'

Powered by Google App Engine
This is Rietveld 408576698