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

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

Issue 2134723002: Reland #1: Fix re-usage of stale cached WebPreferences in RenderViewHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanly reset WebPreferences with the initial untampered defaults. Created 4 years, 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/test_preferences.h" 5 #include "components/test_runner/test_preferences.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 using blink::WebSettings; 9 using blink::WebSettings;
10 using blink::WebString; 10 using blink::WebString;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #endif 42 #endif
43 43
44 tabs_to_links = false; 44 tabs_to_links = false;
45 hyperlink_auditing_enabled = false; 45 hyperlink_auditing_enabled = false;
46 should_respect_image_orientation = false; 46 should_respect_image_orientation = false;
47 asynchronous_spell_checking_enabled = false; 47 asynchronous_spell_checking_enabled = false;
48 web_security_enabled = true; 48 web_security_enabled = true;
49 disable_reading_from_canvas = false; 49 disable_reading_from_canvas = false;
50 strict_mixed_content_checking = false; 50 strict_mixed_content_checking = false;
51 strict_powerful_feature_restrictions = false; 51 strict_powerful_feature_restrictions = false;
52 spatial_navigation_enabled = false;
52 } 53 }
53 54
54 } // namespace test_runner 55 } // namespace test_runner
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698