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

Side by Side Diff: components/test_runner/layout_test_runtime_flags.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 unified diff | Download patch
« no previous file with comments | « no previous file | components/test_runner/layout_test_runtime_flags.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_ 5 #ifndef COMPONENTS_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_
6 #define COMPONENTS_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_ 6 #define COMPONENTS_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 // If true, content_shell will dump the default navigation policy passed to 144 // If true, content_shell will dump the default navigation policy passed to
145 // WebFrameClient::decidePolicyForNavigation. 145 // WebFrameClient::decidePolicyForNavigation.
146 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_navigation_policy) 146 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_navigation_policy)
147 147
148 // If true, output a message when the page title is changed. 148 // If true, output a message when the page title is changed.
149 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_title_changes) 149 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_title_changes)
150 150
151 // If true, the test_shell will print out the icon change notifications. 151 // If true, the test_shell will print out the icon change notifications.
152 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_icon_changes) 152 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_icon_changes)
153 153
154 // If true, the console messages produced by the page will
155 // be part of test output.
156 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_console_messages)
157
154 // Desired return value of WebFrameClient::runModalBeforeUnloadDialog. 158 // Desired return value of WebFrameClient::runModalBeforeUnloadDialog.
155 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG( 159 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(
156 stay_on_page_after_handling_before_unload) 160 stay_on_page_after_handling_before_unload)
157 161
158 // Indicates if the test already tracks a top loading frame (in any of the 162 // Indicates if the test already tracks a top loading frame (in any of the
159 // renderer processes). This flag is trying to prevent different renderer 163 // renderer processes). This flag is trying to prevent different renderer
160 // processes from tracking different top loading frames (i.e. main frame in 164 // processes from tracking different top loading frames (i.e. main frame in
161 // one renderer and an OOPIF in another renderer). 165 // one renderer and an OOPIF in another renderer).
162 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(have_top_loading_frame) 166 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(have_top_loading_frame)
163 167
(...skipping 12 matching lines...) Expand all
176 180
177 private: 181 private:
178 TrackedDictionary dict_; 182 TrackedDictionary dict_;
179 183
180 DISALLOW_COPY_AND_ASSIGN(LayoutTestRuntimeFlags); 184 DISALLOW_COPY_AND_ASSIGN(LayoutTestRuntimeFlags);
181 }; 185 };
182 186
183 } // namespace test_runner 187 } // namespace test_runner
184 188
185 #endif // COMPONENTS_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_ 189 #endif // COMPONENTS_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_
OLDNEW
« no previous file with comments | « no previous file | components/test_runner/layout_test_runtime_flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698