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

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

Issue 1895543002: Replicate across OOPIFs flags for dumping of various WebFrameClient callbacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweak the tests to behave the same with and without --site-per-process flag. Created 4 years, 8 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();
11 } 11 }
12 12
13 void LayoutTestRuntimeFlags::Reset() { 13 void LayoutTestRuntimeFlags::Reset() {
14 set_generate_pixel_results(true); 14 set_generate_pixel_results(true);
15 15
16 set_dump_as_text(false); 16 set_dump_as_text(false);
17 set_dump_child_frames_as_text(false); 17 set_dump_child_frames_as_text(false);
18 18
19 set_dump_as_markup(false); 19 set_dump_as_markup(false);
20 set_dump_child_frames_as_markup(false); 20 set_dump_child_frames_as_markup(false);
21 21
22 set_dump_child_frame_scroll_positions(false); 22 set_dump_child_frame_scroll_positions(false);
23 23
24 set_is_printing(false); 24 set_is_printing(false);
25 25
26 set_policy_delegate_enabled(false); 26 set_policy_delegate_enabled(false);
27 set_policy_delegate_is_permissive(false); 27 set_policy_delegate_is_permissive(false);
28 set_policy_delegate_should_notify_done(false); 28 set_policy_delegate_should_notify_done(false);
29 set_wait_until_done(false); 29 set_wait_until_done(false);
30 set_wait_until_external_url_load(false);
30 31
31 set_dump_selection_rect(false); 32 set_dump_selection_rect(false);
32 set_dump_drag_image(false); 33 set_dump_drag_image(false);
33 34
34 set_accept_languages(""); 35 set_accept_languages("");
35 36
36 set_dump_web_content_settings_client_callbacks(false); 37 set_dump_web_content_settings_client_callbacks(false);
37 set_images_allowed(true); 38 set_images_allowed(true);
38 set_media_allowed(true); 39 set_media_allowed(true);
39 set_scripts_allowed(true); 40 set_scripts_allowed(true);
40 set_storage_allowed(true); 41 set_storage_allowed(true);
41 set_plugins_allowed(true); 42 set_plugins_allowed(true);
42 set_displaying_insecure_content_allowed(false); 43 set_displaying_insecure_content_allowed(false);
43 set_running_insecure_content_allowed(false); 44 set_running_insecure_content_allowed(false);
44 45
46 set_dump_editting_callbacks(false);
47 set_dump_frame_load_callbacks(false);
48 set_dump_ping_loader_callbacks(false);
49 set_dump_user_gesture_in_frame_load_callbacks(false);
50 set_dump_resource_load_callbacks(false);
51 set_dump_resource_priorities(false);
52 set_dump_resource_response_mime_types(false);
53 set_dump_navigation_policy(false);
54 set_intercept_post_message(false);
55
56 set_dump_title_changes(false);
57 set_dump_icon_changes(false);
58
59 set_stay_on_page_after_handling_before_unload(false);
60
45 // No need to report the initial state - only the future delta is important. 61 // No need to report the initial state - only the future delta is important.
46 tracked_dictionary().ResetChangeTracking(); 62 tracked_dictionary().ResetChangeTracking();
47 } 63 }
48 64
49 } // namespace test_runner 65 } // 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