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

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: fixed AtomicString usage 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
« no previous file with comments | « components/test_runner/layout_test_runtime_flags.cc ('k') | components/test_runner/test_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/test_runner.h
diff --git a/components/test_runner/test_runner.h b/components/test_runner/test_runner.h
index 504aa4223e8b5661ba0e676ea190a691a8d13c6c..77c31364c8db3ddb3be64f6d8a32371c98ee7890 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:
@@ -450,6 +452,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
« no previous file with comments | « components/test_runner/layout_test_runtime_flags.cc ('k') | components/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698