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

Unified Diff: webkit/glue/searchable_form_data.cc

Issue 62145: Yet another scrape atttempt (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/url_request/url_request_unittest.h ('k') | webkit/glue/unittest_test_server.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/searchable_form_data.cc
===================================================================
--- webkit/glue/searchable_form_data.cc (revision 13436)
+++ webkit/glue/searchable_form_data.cc (working copy)
@@ -320,10 +320,8 @@
if (frame == NULL)
return NULL;
- // Only consider forms that GET data, do not have script for onsubmit, and
- // the action targets an http page.
- if (!IsFormMethodGet(form) || FormHasOnSubmit(form) ||
- !IsHTTPFormSubmit(form))
+ // Only consider forms that GET data and the action targets an http page.
+ if (!IsFormMethodGet(form) || !IsHTTPFormSubmit(form))
return NULL;
Vector<char> enc_string;
« no previous file with comments | « net/url_request/url_request_unittest.h ('k') | webkit/glue/unittest_test_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698