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

Unified Diff: content/shell/test_runner/web_test_delegate.h

Issue 2678043002: Hide console log messages for imported WPT tests (Closed)
Patch Set: Update comments and test title as per comments 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: content/shell/test_runner/web_test_delegate.h
diff --git a/content/shell/test_runner/web_test_delegate.h b/content/shell/test_runner/web_test_delegate.h
index 53f803e46e37b0ba130992092125ab365cd5fff0..b9d3357e81f4e475870ea2264de756c650d71edc 100644
--- a/content/shell/test_runner/web_test_delegate.h
+++ b/content/shell/test_runner/web_test_delegate.h
@@ -70,6 +70,10 @@ class WebTestDelegate {
virtual void SetDeviceOrientationData(
const blink::WebDeviceOrientationData& data) = 0;
+ // Add a message to stderr (not saved to expected output files, for debugging
+ // only).
+ virtual void PrintLogMessage(const std::string& message) = 0;
Peter Beverloo 2017/03/09 15:07:49 Here and elsewhere: The difference between "PrintM
Dan Elphick 2017/03/09 21:18:30 I wanted to avoid PrintErrorMessage because it sou
+
// Add a message to the text dump for the layout test.
virtual void PrintMessage(const std::string& message) = 0;

Powered by Google App Engine
This is Rietveld 408576698