Index: chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
=================================================================== |
--- chrome/browser/tab_contents/render_view_host_delegate_helper.cc (revision 71581) |
+++ chrome/browser/tab_contents/render_view_host_delegate_helper.cc (working copy) |
@@ -299,6 +299,8 @@ |
command_line.HasSwitch(switches::kEnableMemoryInfo); |
web_prefs.hyperlink_auditing_enabled = |
!command_line.HasSwitch(switches::kNoPings); |
+ web_prefs.interactive_form_validation_enabled = |
+ !command_line.HasSwitch(switches::kDisableInteractiveFormValidation); |
// The user stylesheet watcher may not exist in a testing profile. |
if (profile->GetUserStyleSheetWatcher()) { |
web_prefs.user_style_sheet_enabled = true; |