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

Side by Side Diff: components/test_runner/layout_test_runtime_flags.h

Issue 2191143002: Opt-in stripping of line numbers from console messages of layout tests. Base URL: https://chromium.googlesource.com/chromium/src.git@csp-reporting-ipcs
Patch Set: Rebasing... Created 4 years, 4 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 154 // If true, the console messages produced by the page will
155 // be part of test output. 155 // be part of test output.
156 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_console_messages) 156 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_console_messages)
157 157
158 // If true, line numbers will be included in the console messages produced
159 // by the test page.
160 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(include_line_numbers_in_console_messages)
161
158 // Desired return value of WebFrameClient::runModalBeforeUnloadDialog. 162 // Desired return value of WebFrameClient::runModalBeforeUnloadDialog.
159 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG( 163 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(
160 stay_on_page_after_handling_before_unload) 164 stay_on_page_after_handling_before_unload)
161 165
162 // Indicates if the test already tracks a top loading frame (in any of the 166 // Indicates if the test already tracks a top loading frame (in any of the
163 // renderer processes). This flag is trying to prevent different renderer 167 // renderer processes). This flag is trying to prevent different renderer
164 // processes from tracking different top loading frames (i.e. main frame in 168 // processes from tracking different top loading frames (i.e. main frame in
165 // one renderer and an OOPIF in another renderer). 169 // one renderer and an OOPIF in another renderer).
166 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(have_top_loading_frame) 170 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(have_top_loading_frame)
167 171
(...skipping 28 matching lines...) Expand all
196 200
197 private: 201 private:
198 TrackedDictionary dict_; 202 TrackedDictionary dict_;
199 203
200 DISALLOW_COPY_AND_ASSIGN(LayoutTestRuntimeFlags); 204 DISALLOW_COPY_AND_ASSIGN(LayoutTestRuntimeFlags);
201 }; 205 };
202 206
203 } // namespace test_runner 207 } // namespace test_runner
204 208
205 #endif // COMPONENTS_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_ 209 #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