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

Issue 1317043003: CREDENTIAL: Add 'PasswordCredential::toFormData()' (Closed)

Created:
5 years, 3 months ago by Mike West
Modified:
5 years, 3 months ago
Reviewers:
philipj_slow
CC:
blink-reviews, blink-reviews-html_chromium.org, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@opaque-formdata
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

CREDENTIAL: Add 'PasswordCredential::toFormData()' The API has evolved a bit, dropping the 'password' and 'formData' accessors in favor of a 'toFormData(FormDataOptions)' method which is intended to be used in conjunction with 'fetch()' to submit credentials to a server-side endpoint. Defined at [1] and [2]. [1]: https://w3c.github.io/webappsec/specs/credentialmanagement/#interfaces-credential-types-passwordcredential [2]: https://w3c.github.io/webappsec/specs/credentialmanagement/#generate-formdata BUG=526995 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201631

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : FormDataOptions #

Total comments: 1

Patch Set 4 : Moved opaque FormData test to this CL. #

Patch Set 5 : webexposed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -24 lines) Patch
M LayoutTests/http/tests/credentialmanager/credentialscontainer-get-basics.html View 1 chunk +3 lines, -3 lines 0 comments Download
M LayoutTests/http/tests/credentialmanager/passwordcredential-basics.html View 1 2 3 3 chunks +32 lines, -7 lines 0 comments Download
M LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
A + Source/modules/credentialmanager/FormDataOptions.idl View 1 chunk +4 lines, -3 lines 0 comments Download
M Source/modules/credentialmanager/PasswordCredential.h View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M Source/modules/credentialmanager/PasswordCredential.cpp View 1 2 3 chunks +18 lines, -4 lines 0 comments Download
M Source/modules/credentialmanager/PasswordCredential.idl View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M Source/modules/modules.gypi View 1 2 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
Mike West
Mind taking a look at this too, Philip? -mike
5 years, 3 months ago (2015-09-01 10:48:20 UTC) #2
philipj_slow
LGTM even though I'm pretty clueless about the high-level picture here :) https://codereview.chromium.org/1317043003/diff/40001/Source/modules/credentialmanager/PasswordCredential.cpp File Source/modules/credentialmanager/PasswordCredential.cpp ...
5 years, 3 months ago (2015-09-01 12:37:30 UTC) #3
Mike West
On 2015/09/01 at 12:37:30, philipj wrote: > LGTM even though I'm pretty clueless about the ...
5 years, 3 months ago (2015-09-01 12:48:00 UTC) #4
philipj_slow
On 2015/09/01 12:48:00, Mike West (OOO until 31st) wrote: > On 2015/09/01 at 12:37:30, philipj ...
5 years, 3 months ago (2015-09-01 13:03:59 UTC) #5
Mike West
On 2015/09/01 at 13:03:59, philipj wrote: > > The idea is that one page might ...
5 years, 3 months ago (2015-09-01 13:12:17 UTC) #6
philipj_slow
Tweaked tests LGTM
5 years, 3 months ago (2015-09-01 13:23:24 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1317043003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1317043003/60001
5 years, 3 months ago (2015-09-01 16:07:07 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/101573)
5 years, 3 months ago (2015-09-01 17:26:53 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1317043003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1317043003/80001
5 years, 3 months ago (2015-09-02 07:04:41 UTC) #14
commit-bot: I haz the power
5 years, 3 months ago (2015-09-02 08:29:22 UTC) #15
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201631

Powered by Google App Engine
This is Rietveld 408576698