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

Unified Diff: third_party/WebKit/LayoutTests/harness-tests/console_logging.html

Issue 2678043002: Hide console log messages for imported WPT tests (Closed)
Patch Set: Revert python change Created 3 years, 9 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/harness-tests/console_logging.html
diff --git a/third_party/WebKit/LayoutTests/harness-tests/console_logging.html b/third_party/WebKit/LayoutTests/harness-tests/console_logging.html
new file mode 100644
index 0000000000000000000000000000000000000000..c4884aa4da438acfd175fa633663fda643156b82
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/harness-tests/console_logging.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<title>Console messages with new lines should have a console prefix applied to each line.</title>
Rick Byers 2017/03/09 13:22:24 nit: update test description now that this behavio
Dan Elphick 2017/03/09 13:41:40 Done.
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script>
+
+console.log("Single line message");
+console.log("Multi-line\nmessage");
+test(function() {
+ assert_true(false);
+}, 'Test needs to fail so that an expected.txt file is written out and be examined for console messages.');
+
+</script>

Powered by Google App Engine
This is Rietveld 408576698