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

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 platform specific expected files missed last time around 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/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..18e2f9a72f16369ff1ece841c80adbc62169f7b5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/harness-tests/wpt/console_logging.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<title>Console messages should be completely suppressed in this mock WPT test.</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>

Powered by Google App Engine
This is Rietveld 408576698