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..c4b2a3b8684585b65d5f0ebdea9712c246f0e613 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/harness-tests/console_logging.html |
@@ -0,0 +1,13 @@ |
+<!DOCTYPE html> |
+<title>Console messages in non-WPT tests should appear in the test output.</title> |
+<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> |