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