Bug 81003 - Feature: keep track of whether FormData's and WebHTTPBody's contain passwords
Summary: Feature: keep track of whether FormData's and WebHTTPBody's contain passwords
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Marja Hölttä
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-13 09:16 PDT by Marja Hölttä
Modified: 2012-03-14 05:41 PDT (History)
5 users (show)

See Also:


Attachments
Patch. (4.94 KB, patch)
2012-03-13 09:46 PDT, Marja Hölttä
no flags Details | Formatted Diff | Diff
Patch. (7.18 KB, patch)
2012-03-13 10:37 PDT, Marja Hölttä
no flags Details | Formatted Diff | Diff
Patch. (7.25 KB, patch)
2012-03-14 03:38 PDT, Marja Hölttä
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marja Hölttä 2012-03-13 09:16:30 PDT
Chrome is saving and restoring navigation entries to continue the browsing session. We would like to remove the POSTed data from the navigation entry before saving it, *if* the HTTP body has passwords in it.

I'll attach a patch for keeping track of whether FormData and WebHTTPBody contain data from password fields.
Comment 1 Marja Hölttä 2012-03-13 09:46:50 PDT
Created attachment 131642 [details]
Patch.
Comment 2 WebKit Review Bot 2012-03-13 09:50:26 PDT
Please wait for approval from fishd@chromium.org before submitting because this patch contains changes to the Chromium public API.
Comment 3 Marja Hölttä 2012-03-13 10:37:30 PDT
Created attachment 131661 [details]
Patch.
Comment 4 WebKit Review Bot 2012-03-13 10:40:28 PDT
Attachment 131661 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1
Source/WebKit/chromium/ChangeLog:1:  ChangeLog entry has no bug number  [changelog/bugnumber] [5]
Source/WebCore/ChangeLog:1:  ChangeLog entry has no bug number  [changelog/bugnumber] [5]
Source/WebCore/ChangeLog:7:  You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible.  [changelog/nonewtests] [5]
Total errors found: 3 in 7 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 5 Darin Fisher (:fishd, Google) 2012-03-13 12:36:17 PDT
Comment on attachment 131661 [details]
Patch.

R=me, but please fix style errors before landing.  I'd like to review the corresponding glue_serialize.cc changes as well.
Comment 6 Marja Hölttä 2012-03-14 03:38:45 PDT
Created attachment 131820 [details]
Patch.
Comment 7 WebKit Review Bot 2012-03-14 05:41:51 PDT
Comment on attachment 131820 [details]
Patch.

Clearing flags on attachment: 131820

Committed r110695: <http://trac.webkit.org/changeset/110695>
Comment 8 WebKit Review Bot 2012-03-14 05:41:56 PDT
All reviewed patches have been landed.  Closing bug.