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> |