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

Issue 1828923003: CREDENTIAL: Teach the 'PasswordCredential(HTMLFormElement)' constructor about URLSearchParams (Closed)

Created:
4 years, 9 months ago by Mike West
Modified:
4 years, 8 months ago
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@HTMLFormElement
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

CREDENTIAL: Teach the 'PasswordCredential(HTMLFormElement)' constructor about URLSearchParams If the form's 'enctype' attribute is not explicitly 'multipart/form-data', then generate a 'PasswordCredential' object that will be submitted with a urlencoded body, just like the form itself would have been. BUG=597569 Committed: https://crrev.com/6ba9227c85e36614c2d925f7e4ded01d0487cfd1 Cr-Commit-Position: refs/heads/master@{#384514}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Rebase+Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -19 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/credentialmanager/passwordcredential-basics.html View 1 2 chunks +43 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.cpp View 1 1 chunk +16 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/credentialmanager/PasswordCredentialTest.cpp View 5 chunks +38 lines, -6 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 14 (5 generated)
Mike West
And this one, maybe? Sorry if you're overloaded... Just let me know. :) -mike
4 years, 9 months ago (2016-03-24 12:02:09 UTC) #2
philipj_slow
Started looking but have to call it a day now. I have Friday and Monday ...
4 years, 9 months ago (2016-03-24 13:58:09 UTC) #3
Mike West
Also +Jochen, also if you're bored. :) Thanks, Philip!
4 years, 9 months ago (2016-03-24 15:16:53 UTC) #5
philipj_slow
lgtm https://codereview.chromium.org/1828923003/diff/1/third_party/WebKit/LayoutTests/http/tests/credentialmanager/passwordcredential-basics.html File third_party/WebKit/LayoutTests/http/tests/credentialmanager/passwordcredential-basics.html (right): https://codereview.chromium.org/1828923003/diff/1/third_party/WebKit/LayoutTests/http/tests/credentialmanager/passwordcredential-basics.html#newcode144 third_party/WebKit/LayoutTests/http/tests/credentialmanager/passwordcredential-basics.html:144: f.setAttribute('enctype', 'multipart/form-data'); On 2016/03/24 13:58:09, philipj_OOO_til_March29 wrote: > ...
4 years, 8 months ago (2016-03-29 06:07:34 UTC) #6
jochen (gone - plz use gerrit)
lgtm
4 years, 8 months ago (2016-03-30 16:29:39 UTC) #7
Mike West
Thanks! https://codereview.chromium.org/1828923003/diff/1/third_party/WebKit/LayoutTests/http/tests/credentialmanager/passwordcredential-basics.html File third_party/WebKit/LayoutTests/http/tests/credentialmanager/passwordcredential-basics.html (right): https://codereview.chromium.org/1828923003/diff/1/third_party/WebKit/LayoutTests/http/tests/credentialmanager/passwordcredential-basics.html#newcode144 third_party/WebKit/LayoutTests/http/tests/credentialmanager/passwordcredential-basics.html:144: f.setAttribute('enctype', 'multipart/form-data'); On 2016/03/29 at 06:07:34, philipj_sick_March31 wrote: ...
4 years, 8 months ago (2016-03-31 08:53:17 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1828923003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1828923003/20001
4 years, 8 months ago (2016-04-01 06:47:43 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-01 07:59:26 UTC) #12
commit-bot: I haz the power
4 years, 8 months ago (2016-04-01 08:01:43 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/6ba9227c85e36614c2d925f7e4ded01d0487cfd1
Cr-Commit-Position: refs/heads/master@{#384514}

Powered by Google App Engine
This is Rietveld 408576698