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

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

Issue 2496613003: Suppress text dump of JavaScript modal dialog messages in testharness.js tests (Closed)
Patch Set: Created 4 years, 1 month 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 set_stay_on_page_after_handling_before_unload(false); 57 set_stay_on_page_after_handling_before_unload(false);
58 58
59 set_have_top_loading_frame(false); 59 set_have_top_loading_frame(false);
60 60
61 set_can_open_windows(false); 61 set_can_open_windows(false);
62 62
63 set_dump_create_view(false); 63 set_dump_create_view(false);
64 set_dump_window_status_changes(false); 64 set_dump_window_status_changes(false);
65 set_dump_spell_check_callbacks(false); 65 set_dump_spell_check_callbacks(false);
66 set_dump_javascript_dialogs(true);
66 67
67 // No need to report the initial state - only the future delta is important. 68 // No need to report the initial state - only the future delta is important.
68 tracked_dictionary().ResetChangeTracking(); 69 tracked_dictionary().ResetChangeTracking();
69 } 70 }
70 71
71 } // namespace test_runner 72 } // 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