OLD | NEW |
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 Loading... |
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 |
OLD | NEW |