* Add WebPreference::interactive_form_validation_enabled
The default value is true. * Add --disable-interactive-form-validation flag and about:flags interface The interactive form validation feature might cause web site compatibility issues. So we provide a way to disable it just in case. BUG=45804,54368 TEST=manual; Open the URL "data:text/html,<form><input required></form>", click the input field, and press ENTER key. - A validation message is shown by default - If you run Chrome with --disable-interactive-form-validation, no validation message is shown and the form is submitted. - If you enable "Disable HTML5 interacrive form validation" flag on about:flags, no validation message is shown and the form is submitted. Review URL: http://codereview.chromium.org/6329005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71902 0039d316-1c4b-4281-b951-d872f2087c98
Showing
- chrome/app/generated_resources.grd 6 additions, 0 deletionschrome/app/generated_resources.grd
- chrome/browser/about_flags.cc 7 additions, 0 deletionschrome/browser/about_flags.cc
- chrome/browser/tab_contents/render_view_host_delegate_helper.cc 2 additions, 0 deletions.../browser/tab_contents/render_view_host_delegate_helper.cc
- chrome/common/chrome_switches.cc 4 additions, 0 deletionschrome/common/chrome_switches.cc
- chrome/common/chrome_switches.h 1 addition, 0 deletionschrome/common/chrome_switches.h
- chrome/common/render_messages.cc 3 additions, 1 deletionchrome/common/render_messages.cc
- webkit/glue/webpreferences.cc 5 additions, 1 deletionwebkit/glue/webpreferences.cc
- webkit/glue/webpreferences.h 3 additions, 2 deletionswebkit/glue/webpreferences.h
Loading
Please register or sign in to comment