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

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

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
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 #include "components/test_runner/layout_test_runtime_flags.h" 5 #include "components/test_runner/layout_test_runtime_flags.h"
6 6
7 namespace test_runner { 7 namespace test_runner {
8 8
9 LayoutTestRuntimeFlags::LayoutTestRuntimeFlags() { 9 LayoutTestRuntimeFlags::LayoutTestRuntimeFlags() {
10 Reset(); 10 Reset();
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 set_dump_ping_loader_callbacks(false); 48 set_dump_ping_loader_callbacks(false);
49 set_dump_user_gesture_in_frame_load_callbacks(false); 49 set_dump_user_gesture_in_frame_load_callbacks(false);
50 set_dump_resource_load_callbacks(false); 50 set_dump_resource_load_callbacks(false);
51 set_dump_resource_priorities(false); 51 set_dump_resource_priorities(false);
52 set_dump_resource_response_mime_types(false); 52 set_dump_resource_response_mime_types(false);
53 set_dump_navigation_policy(false); 53 set_dump_navigation_policy(false);
54 54
55 set_dump_title_changes(false); 55 set_dump_title_changes(false);
56 set_dump_icon_changes(false); 56 set_dump_icon_changes(false);
57 set_dump_console_messages(true); 57 set_dump_console_messages(true);
58 set_include_line_numbers_in_console_messages(true);
58 59
59 set_stay_on_page_after_handling_before_unload(false); 60 set_stay_on_page_after_handling_before_unload(false);
60 61
61 set_have_top_loading_frame(false); 62 set_have_top_loading_frame(false);
62 63
63 set_can_open_windows(false); 64 set_can_open_windows(false);
64 65
65 set_dump_create_view(false); 66 set_dump_create_view(false);
66 set_dump_window_status_changes(false); 67 set_dump_window_status_changes(false);
67 set_dump_spell_check_callbacks(false); 68 set_dump_spell_check_callbacks(false);
68 69
69 // No need to report the initial state - only the future delta is important. 70 // No need to report the initial state - only the future delta is important.
70 tracked_dictionary().ResetChangeTracking(); 71 tracked_dictionary().ResetChangeTracking();
71 } 72 }
72 73
73 } // namespace test_runner 74 } // namespace test_runner
OLDNEW
« no previous file with comments | « components/test_runner/layout_test_runtime_flags.h ('k') | components/test_runner/test_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698