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

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

Issue 2678043002: Hide console log messages for imported WPT tests (Closed)
Patch Set: update missed mac expected.txt file Created 3 years, 10 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/wpt/console_logging.html
diff --git a/third_party/WebKit/LayoutTests/harness-tests/wpt/console_logging.html b/third_party/WebKit/LayoutTests/harness-tests/wpt/console_logging.html
new file mode 100644
index 0000000000000000000000000000000000000000..0bad7df289b2aef74f22fa6a7d19236ec5da9428
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/harness-tests/wpt/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/02/24 22:02:27 Nit: update title to indicate that for this test i
Dan Elphick 2017/02/27 11:03:06 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