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

Unified Diff: webkit/glue/webview_impl.cc

Issue 20101: Add a command line option --disable-web-security. People can use this option... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/webpreferences.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webview_impl.cc
===================================================================
--- webkit/glue/webview_impl.cc (revision 9212)
+++ webkit/glue/webview_impl.cc (working copy)
@@ -1266,6 +1266,7 @@
settings->setDefaultTextEncodingName(webkit_glue::StdWStringToString(
preferences.default_encoding));
settings->setJavaScriptEnabled(preferences.javascript_enabled);
+ settings->setWebSecurityEnabled(preferences.web_security_enabled);
settings->setJavaScriptCanOpenWindowsAutomatically(
preferences.javascript_can_open_windows_automatically);
settings->setLoadsImagesAutomatically(
« no previous file with comments | « webkit/glue/webpreferences.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698