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

Issue 12665003: Convert invalid WebPasswordFormData to null (rather than empty) PasswordForm. (Closed)

Created:
7 years, 9 months ago by blundell
Modified:
7 years, 9 months ago
Reviewers:
jamesr, jam, Ilya Sherman
CC:
chromium-reviews, Raman Kakilate, benquan, dhollowa+watch_chromium.org, ahutter, dbeam+watch-autofill_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, Dane Wallinga, dyu1, Albert Bodenhamer, estade+watch_chromium.org, Ilya Sherman
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Convert invalid WebPasswordFormData to null (rather than empty) PasswordForm. https://chromiumcodereview.appspot.com/11000016/ inadvertantly changed the WebPasswordFormData->PasswordForm conversion to convert an invalid WebPasswordFormData to a new PasswordForm() rather than NULL. This change breaks the assumptions of autofill code on the behavior of this conversion function (e.g., PasswordGenerationManager::DidFinishLoad()), and can result in buggy behavior such as the save password infobar not being shown. BUG=174199 TEST=Log in to forum.linode.com: you should see the save password infobar. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=189594

Patch Set 1 #

Patch Set 2 : Added test #

Total comments: 2

Patch Set 3 : Fix android build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -1 line) Patch
M content/content_tests.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/password_form_conversion_utils.cc View 1 chunk +1 line, -1 line 0 comments Download
A content/renderer/password_form_conversion_utils_browsertest.cc View 1 2 1 chunk +91 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
blundell
isherman: for autofill expertise. jamesr: content/renderer OWNER. I couldn't trace down exactly how the bug ...
7 years, 9 months ago (2013-03-12 13:08:07 UTC) #1
Ilya Sherman
LGTM, thanks! You can take a look at the tests under //chrome/renderer/autofill for some ideas ...
7 years, 9 months ago (2013-03-12 21:59:24 UTC) #2
blundell
jamesr: Friendly ping :). I'd like to get this into 26 if possible. On 2013/03/12 ...
7 years, 9 months ago (2013-03-14 12:21:22 UTC) #3
jamesr
lgtm, but you'll write tests before landing right?
7 years, 9 months ago (2013-03-14 16:21:00 UTC) #4
blundell
On 2013/03/14 16:21:00, jamesr wrote: > lgtm, but you'll write tests before landing right? Yes, ...
7 years, 9 months ago (2013-03-14 18:07:42 UTC) #5
blundell
+jam for browsertest addition in content_tests.gypi. I added a browsertest for converting a valid and ...
7 years, 9 months ago (2013-03-15 16:59:17 UTC) #6
blundell
Friendly ping to jam and whoever of isherman/jamesr might be interested in looking at the ...
7 years, 9 months ago (2013-03-19 15:36:39 UTC) #7
jam
On 2013/03/15 16:59:17, blundell wrote: > +jam for browsertest addition in content_tests.gypi. lgtm > > ...
7 years, 9 months ago (2013-03-19 18:02:44 UTC) #8
Ilya Sherman
LGTM https://codereview.chromium.org/12665003/diff/9001/content/renderer/password_form_conversion_utils_browsertest.cc File content/renderer/password_form_conversion_utils_browsertest.cc (right): https://codereview.chromium.org/12665003/diff/9001/content/renderer/password_form_conversion_utils_browsertest.cc#newcode56 content/renderer/password_form_conversion_utils_browsertest.cc:56: ASSERT_EQ("data:", password_form->signon_realm); On 2013/03/15 16:59:18, blundell wrote: > ...
7 years, 9 months ago (2013-03-19 19:09:15 UTC) #9
blundell
Thanks! Tried moving the submit element to the end, but it didn't change anything. On ...
7 years, 9 months ago (2013-03-20 10:13:28 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/12665003/9001
7 years, 9 months ago (2013-03-20 10:14:39 UTC) #11
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 9 months ago (2013-03-20 10:54:24 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/12665003/25003
7 years, 9 months ago (2013-03-20 13:38:28 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/12665003/25003
7 years, 9 months ago (2013-03-20 14:01:54 UTC) #14
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) net_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=124993
7 years, 9 months ago (2013-03-20 19:41:25 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/12665003/25003
7 years, 9 months ago (2013-03-20 19:57:06 UTC) #16
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) net_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=125186
7 years, 9 months ago (2013-03-20 23:47:47 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/12665003/25003
7 years, 9 months ago (2013-03-21 10:51:26 UTC) #18
commit-bot: I haz the power
7 years, 9 months ago (2013-03-21 14:44:07 UTC) #19
Message was sent while issue was closed.
Change committed as 189594

Powered by Google App Engine
This is Rietveld 408576698