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

Issue 668208: Don't send form data that is marked autocomplete off to the browser.... (Closed)

Created:
10 years, 9 months ago by jcampan
Modified:
9 years, 7 months ago
Reviewers:
James Hawkins, jhawkins
Visibility:
Public.

Description

Don't send form data that is marked autocomplete off to the browser. Note that the test is run as a unit-test as RenderViewTest is buggy when run in-process. (submitting a form fails the second time you run it). By running it as a browser test, each unit-test is run into its own process. BUG=36277 TEST=See steps in bug. Also try the following steps: Create a page with a form withe the autocomplete="off" attribute. Enter some values submit. Reload the page, click the textfield in the form. Autocomplete should not be triggered. Modify the page and remove the autocomplete="off" attribute. Reload the page and click the textfield in the form, the autocomplete should still not be triggered (as the data you entered previously should not have been stored). Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=41074

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -2 lines) Patch
M chrome/chrome_tests.gypi View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
A chrome/renderer/form_autocomplete_unittest.cc View 3 1 chunk +120 lines, -0 lines 0 comments Download
M webkit/glue/form_field_values.cc View 1 2 3 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
jcampan
10 years, 9 months ago (2010-03-06 01:52:35 UTC) #1
jcampan
Ping
10 years, 9 months ago (2010-03-09 17:20:42 UTC) #2
James Hawkins
10 years, 9 months ago (2010-03-09 17:31:09 UTC) #3
LGTM

Powered by Google App Engine
This is Rietveld 408576698