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

Issue 1880393002: CREDENTIAL: Implement 'SiteBoundCredential'. (Closed)

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

Description

CREDENTIAL: Implement 'SiteBoundCredential'. This patch shims 'SiteBoundCredential' between 'Credential' and '{Password,Federated}Credential'. I don't see any need to push this noop up the stack, however, so it does not introduce a similar concept at the platform layer, nor does //content need to learn about this indirection. As a drive-by, this patch adds some IDL tests for 'CredentialsContainer' since it was adding IDL tests for 'PasswordCredential' and 'FederatedCredential' anyway. BUG=602980 Committed: https://crrev.com/be6cc81fc74f63c8e134525bbf15ea966c8403d5 Cr-Commit-Position: refs/heads/master@{#389475}

Patch Set 1 #

Total comments: 15

Patch Set 2 : Feedback. #

Total comments: 2

Patch Set 3 : Ugh. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+219 lines, -39 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-get-basics.html View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/credentialmanager/idl.html View 1 chunk +86 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/credentialmanager/idl-expected.txt View 1 1 chunk +50 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 4 chunks +7 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 4 chunks +7 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/credentialmanager/Credential.idl View 1 1 chunk +2 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.idl View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/credentialmanager/FederatedCredential.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/credentialmanager/FederatedCredential.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/credentialmanager/FederatedCredential.idl View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.idl View 1 2 chunks +3 lines, -1 line 0 comments Download
A third_party/WebKit/Source/modules/credentialmanager/SiteBoundCredential.h View 1 chunk +28 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/modules/credentialmanager/SiteBoundCredential.cpp View 2 1 chunk +3 lines, -7 lines 0 comments Download
A third_party/WebKit/Source/modules/credentialmanager/SiteBoundCredential.idl View 1 1 chunk +13 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/modules.gypi View 1 2 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
Mike West
4 years, 8 months ago (2016-04-13 10:43:57 UTC) #2
Mike West
Philip, mind taking a look at this patch? There are a few test failures introduced. ...
4 years, 8 months ago (2016-04-13 10:44:59 UTC) #3
Mike West
https://codereview.chromium.org/1880393002/diff/1/third_party/WebKit/LayoutTests/http/tests/credentialmanager/idl-expected.txt File third_party/WebKit/LayoutTests/http/tests/credentialmanager/idl-expected.txt (right): https://codereview.chromium.org/1880393002/diff/1/third_party/WebKit/LayoutTests/http/tests/credentialmanager/idl-expected.txt#newcode6 third_party/WebKit/LayoutTests/http/tests/credentialmanager/idl-expected.txt:6: FAIL CredentialsContainer interface: existence and properties of interface prototype ...
4 years, 8 months ago (2016-04-13 10:46:20 UTC) #4
Mike West
Ping? Other than the exposure tests that I need to correct, WDYT?
4 years, 8 months ago (2016-04-18 20:31:40 UTC) #5
philipj_slow
lgtm % nits, sorry for breaking the slowness record. https://codereview.chromium.org/1880393002/diff/1/third_party/WebKit/LayoutTests/http/tests/credentialmanager/idl-expected.txt File third_party/WebKit/LayoutTests/http/tests/credentialmanager/idl-expected.txt (right): https://codereview.chromium.org/1880393002/diff/1/third_party/WebKit/LayoutTests/http/tests/credentialmanager/idl-expected.txt#newcode6 third_party/WebKit/LayoutTests/http/tests/credentialmanager/idl-expected.txt:6: ...
4 years, 8 months ago (2016-04-19 09:20:37 UTC) #6
Mike West
Thanks! https://codereview.chromium.org/1880393002/diff/1/third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.cpp File third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.cpp (right): https://codereview.chromium.org/1880393002/diff/1/third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.cpp#newcode8 third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.cpp:8: #include "bindings/core/v8/ExceptionMessages.h" On 2016/04/19 at 09:20:36, philipj_slow wrote: ...
4 years, 8 months ago (2016-04-25 10:20:13 UTC) #7
philipj_slow
https://codereview.chromium.org/1880393002/diff/1/third_party/WebKit/Source/modules/credentialmanager/SiteBoundCredential.idl File third_party/WebKit/Source/modules/credentialmanager/SiteBoundCredential.idl (right): https://codereview.chromium.org/1880393002/diff/1/third_party/WebKit/Source/modules/credentialmanager/SiteBoundCredential.idl#newcode11 third_party/WebKit/Source/modules/credentialmanager/SiteBoundCredential.idl:11: readonly attribute DOMString name; On 2016/04/25 10:20:13, Mike West ...
4 years, 8 months ago (2016-04-25 11:54:21 UTC) #8
Mike West
https://codereview.chromium.org/1880393002/diff/20001/third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-get-basics.html File third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-get-basics.html (right): https://codereview.chromium.org/1880393002/diff/20001/third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-get-basics.html#newcode21 third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-get-basics.html:21: t.step_func(t.done.bind(t))); On 2016/04/25 at 11:54:21, philipj_slow wrote: > Looks ...
4 years, 8 months ago (2016-04-25 13:03:31 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1880393002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1880393002/40001
4 years, 8 months ago (2016-04-25 13:04:04 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-25 14:51:28 UTC) #13
commit-bot: I haz the power
4 years, 8 months ago (2016-04-25 14:53:21 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/be6cc81fc74f63c8e134525bbf15ea966c8403d5
Cr-Commit-Position: refs/heads/master@{#389475}

Powered by Google App Engine
This is Rietveld 408576698