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

Unified Diff: components/test_runner/test_runner.h

Issue 1989103006: Fix event warning crash when a listener is removed while dispatching event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: components/test_runner/test_runner.h
diff --git a/components/test_runner/test_runner.h b/components/test_runner/test_runner.h
index 91d88b6ddd321e3631c945fbd3ae068cbbcdc54c..8740476d17588e42f63010953be2f464a3b83cc6 100644
--- a/components/test_runner/test_runner.h
+++ b/components/test_runner/test_runner.h
@@ -161,6 +161,8 @@ class TestRunner : public WebTestRunner {
void DidOpenChooser();
void DidCloseChooser();
+ bool ShouldDumpConsoleMessages() const;
+
// A single item in the work queue.
class WorkItem {
public:
@@ -451,6 +453,10 @@ class TestRunner : public WebTestRunner {
// policy passed to the decidePolicyForNavigation callback.
void DumpNavigationPolicy();
+ // Controls whether console messages produced by the page are dumped
+ // to test output.
+ void SetDumpConsoleMessages(bool value);
+
///////////////////////////////////////////////////////////////////////////
// Methods interacting with the WebTestProxy

Powered by Google App Engine
This is Rietveld 408576698