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

Issue 2966523002: Blink-layer update to match WebAuthN spec (Closed)

Created:
3 years, 5 months ago by kpaulhamus
Modified:
3 years, 5 months ago
CC:
Aaron Boodman, abarth-chromium, aczeskis, blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin (slow to review), dglazkov+blink, haraken, mac-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Blink-layer update to match WebAuthN spec 1 of many CLs to merge WebAuthN with the Cred Man API. This change renames idl components and updates the corresponding idl test. (This changes as much as possible short of depending on anything in credential manager). BUG=664630 Review-Url: https://codereview.chromium.org/2966523002 Cr-Commit-Position: refs/heads/master@{#486648} Committed: https://chromium.googlesource.com/chromium/src/+/04b66da848df095ca21d54194b7c59b0d01526ab

Patch Set 1 #

Total comments: 40

Patch Set 2 : Modify browser-side impl and unittests. Address mkwst comments. #

Total comments: 141

Patch Set 3 : Address mkwst, dcheng, vasilii, engedy comments. #

Patch Set 4 : Remove undesired expected files #

Total comments: 2

Patch Set 5 : Update copyright year #

Patch Set 6 : Re-adding ContextLifecycleObserver #

Patch Set 7 : Add ContectLifecycleObserver... part2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+858 lines, -649 lines) Patch
M content/browser/webauth/authenticator_impl.h View 1 1 chunk +2 lines, -6 lines 0 comments Download
M content/browser/webauth/authenticator_impl.cc View 1 2 4 chunks +13 lines, -17 lines 0 comments Download
M content/browser/webauth/authenticator_impl_unittest.cc View 1 2 4 chunks +46 lines, -48 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/webexposed/global-interface-listing-expected.txt View 1 2 3 chunks +14 lines, -13 lines 0 comments Download
M third_party/WebKit/LayoutTests/webauth/idl.html View 1 2 2 chunks +73 lines, -53 lines 0 comments Download
A third_party/WebKit/LayoutTests/webauth/idl-expected.txt View 1 chunk +42 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 3 chunks +14 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/modules/modules_idl_files.gni View 1 2 2 chunks +12 lines, -10 lines 0 comments Download
D third_party/WebKit/Source/modules/webauth/AuthenticationAssertion.h View 1 chunk +0 lines, -62 lines 0 comments Download
D third_party/WebKit/Source/modules/webauth/AuthenticationAssertion.idl View 1 chunk +0 lines, -15 lines 0 comments Download
D third_party/WebKit/Source/modules/webauth/AuthenticationAssertionOptions.idl View 1 chunk +0 lines, -12 lines 0 comments Download
D third_party/WebKit/Source/modules/webauth/AuthenticationClientData.idl View 1 chunk +0 lines, -13 lines 0 comments Download
D third_party/WebKit/Source/modules/webauth/AuthenticationExtensions.idl View 1 chunk +0 lines, -8 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/AuthenticatorAssertionResponse.h View 1 2 3 4 1 chunk +45 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/AuthenticatorAssertionResponse.cpp View 1 2 1 chunk +33 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/AuthenticatorAssertionResponse.idl View 1 2 3 4 1 chunk +13 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/AuthenticatorAttestationResponse.h View 1 2 3 4 1 chunk +41 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/AuthenticatorAttestationResponse.cpp View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/AuthenticatorAttestationResponse.idl View 1 1 chunk +12 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/AuthenticatorResponse.h View 1 2 3 4 1 chunk +38 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/AuthenticatorResponse.cpp View 1 2 1 chunk +23 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/AuthenticatorResponse.idl View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/AuthenticatorSelectionCriteria.idl View 1 1 chunk +17 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webauth/BUILD.gn View 1 2 1 chunk +8 lines, -3 lines 0 comments Download
A + third_party/WebKit/Source/modules/webauth/CollectedClientData.idl View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/webauth/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
A third_party/WebKit/Source/modules/webauth/MakeCredentialOptions.idl View 1 2 3 4 1 chunk +16 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/PublicKeyCredential.h View 1 2 3 4 1 chunk +41 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/PublicKeyCredential.cpp View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/PublicKeyCredential.idl View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/modules/webauth/PublicKeyCredentialDescriptor.idl View 1 2 chunks +4 lines, -4 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/PublicKeyCredentialEntity.idl View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/PublicKeyCredentialParameters.idl View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/PublicKeyCredentialRequestOptions.idl View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/PublicKeyCredentialUserEntity.idl View 1 chunk +9 lines, -0 lines 0 comments Download
D third_party/WebKit/Source/modules/webauth/RelyingPartyAccount.idl View 1 chunk +0 lines, -13 lines 0 comments Download
D third_party/WebKit/Source/modules/webauth/ScopedCredential.h View 1 chunk +0 lines, -54 lines 0 comments Download
D third_party/WebKit/Source/modules/webauth/ScopedCredential.idl View 1 chunk +0 lines, -19 lines 0 comments Download
D third_party/WebKit/Source/modules/webauth/ScopedCredentialDescriptor.idl View 1 chunk +0 lines, -19 lines 0 comments Download
D third_party/WebKit/Source/modules/webauth/ScopedCredentialInfo.h View 1 chunk +0 lines, -44 lines 0 comments Download
D third_party/WebKit/Source/modules/webauth/ScopedCredentialInfo.idl View 1 chunk +0 lines, -13 lines 0 comments Download
D third_party/WebKit/Source/modules/webauth/ScopedCredentialOptions.idl View 1 chunk +0 lines, -12 lines 0 comments Download
D third_party/WebKit/Source/modules/webauth/ScopedCredentialParameters.idl View 1 chunk +0 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/modules/webauth/WebAuthentication.h View 1 2 3 4 5 6 3 chunks +11 lines, -21 lines 0 comments Download
M third_party/WebKit/Source/modules/webauth/WebAuthentication.cpp View 1 2 3 4 5 7 chunks +118 lines, -107 lines 0 comments Download
M third_party/WebKit/Source/modules/webauth/WebAuthentication.idl View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M third_party/WebKit/public/platform/modules/webauth/authenticator.mojom View 1 2 2 chunks +86 lines, -50 lines 0 comments Download

Messages

Total messages: 32 (17 generated)
Mike West
Mostly IDL comments. Now that I've actually looked through the code, forget about updating //external/wpt. ...
3 years, 5 months ago (2017-06-30 08:06:36 UTC) #3
kpaulhamus
This patch includes an update to unit tests. The next CL will complete the merge ...
3 years, 5 months ago (2017-06-30 10:59:40 UTC) #5
dcheng1
some drive-bys (no need to block on me) https://codereview.chromium.org/2966523002/diff/20001/third_party/WebKit/public/platform/modules/webauth/authenticator.mojom File third_party/WebKit/public/platform/modules/webauth/authenticator.mojom (left): https://codereview.chromium.org/2966523002/diff/20001/third_party/WebKit/public/platform/modules/webauth/authenticator.mojom#oldcode93 third_party/WebKit/public/platform/modules/webauth/authenticator.mojom:93: // ...
3 years, 5 months ago (2017-06-30 16:23:55 UTC) #10
Mike West
LGTM once you address dcheng@'s comments and some test nits. https://codereview.chromium.org/2966523002/diff/20001/third_party/WebKit/LayoutTests/platform/mac-mac10.11/webexposed/global-interface-listing-expected.txt File third_party/WebKit/LayoutTests/platform/mac-mac10.11/webexposed/global-interface-listing-expected.txt (left): https://codereview.chromium.org/2966523002/diff/20001/third_party/WebKit/LayoutTests/platform/mac-mac10.11/webexposed/global-interface-listing-expected.txt#oldcode6393 ...
3 years, 5 months ago (2017-07-03 08:22:07 UTC) #13
vasilii
lgtm https://codereview.chromium.org/2966523002/diff/20001/content/browser/webauth/authenticator_impl.cc File content/browser/webauth/authenticator_impl.cc (right): https://codereview.chromium.org/2966523002/diff/20001/content/browser/webauth/authenticator_impl.cc#newcode20 content/browser/webauth/authenticator_impl.cc:20: const char kMakeCredentialType[] = "navigator.id.makeCredential"; The new trend ...
3 years, 5 months ago (2017-07-05 14:36:13 UTC) #14
engedy
Thanks! LGTM % comments, mostly nits. @Mike, Daniel, there are couple of questions for you ...
3 years, 5 months ago (2017-07-05 18:51:03 UTC) #15
engedy
https://codereview.chromium.org/2966523002/diff/20001/third_party/WebKit/Source/modules/webauth/AuthenticatorResponse.h File third_party/WebKit/Source/modules/webauth/AuthenticatorResponse.h (right): https://codereview.chromium.org/2966523002/diff/20001/third_party/WebKit/Source/modules/webauth/AuthenticatorResponse.h#newcode13 third_party/WebKit/Source/modules/webauth/AuthenticatorResponse.h:13: class AuthenticatorResponse On 2017/07/05 18:51:04, engedy wrote: > optional ...
3 years, 5 months ago (2017-07-10 14:32:36 UTC) #16
kpaulhamus
Thanks for the detailed review! https://codereview.chromium.org/2966523002/diff/20001/content/browser/webauth/authenticator_impl.cc File content/browser/webauth/authenticator_impl.cc (right): https://codereview.chromium.org/2966523002/diff/20001/content/browser/webauth/authenticator_impl.cc#newcode20 content/browser/webauth/authenticator_impl.cc:20: const char kMakeCredentialType[] = ...
3 years, 5 months ago (2017-07-12 21:21:50 UTC) #17
engedy
Still LGTM % nits, thank you! https://codereview.chromium.org/2966523002/diff/20001/third_party/WebKit/Source/modules/webauth/AuthenticatorResponse.h File third_party/WebKit/Source/modules/webauth/AuthenticatorResponse.h (right): https://codereview.chromium.org/2966523002/diff/20001/third_party/WebKit/Source/modules/webauth/AuthenticatorResponse.h#newcode30 third_party/WebKit/Source/modules/webauth/AuthenticatorResponse.h:30: AuthenticatorResponse(DOMArrayBuffer* client_data_json) On ...
3 years, 5 months ago (2017-07-13 11:33:54 UTC) #18
kpaulhamus
https://codereview.chromium.org/2966523002/diff/20001/third_party/WebKit/Source/modules/webauth/WebAuthentication.cpp File third_party/WebKit/Source/modules/webauth/WebAuthentication.cpp (left): https://codereview.chromium.org/2966523002/diff/20001/third_party/WebKit/Source/modules/webauth/WebAuthentication.cpp#oldcode216 third_party/WebKit/Source/modules/webauth/WebAuthentication.cpp:216: void WebAuthentication::ContextDestroyed(ExecutionContext*) { On 2017/07/13 11:33:53, engedy wrote: > ...
3 years, 5 months ago (2017-07-13 16:00:53 UTC) #23
engedy
https://codereview.chromium.org/2966523002/diff/20001/third_party/WebKit/Source/modules/webauth/WebAuthentication.cpp File third_party/WebKit/Source/modules/webauth/WebAuthentication.cpp (left): https://codereview.chromium.org/2966523002/diff/20001/third_party/WebKit/Source/modules/webauth/WebAuthentication.cpp#oldcode216 third_party/WebKit/Source/modules/webauth/WebAuthentication.cpp:216: void WebAuthentication::ContextDestroyed(ExecutionContext*) { On 2017/07/13 16:00:53, kpaulhamus wrote: > ...
3 years, 5 months ago (2017-07-13 20:27:13 UTC) #24
kpaulhamus
On 2017/07/13 20:27:13, engedy wrote: > https://codereview.chromium.org/2966523002/diff/20001/third_party/WebKit/Source/modules/webauth/WebAuthentication.cpp > File third_party/WebKit/Source/modules/webauth/WebAuthentication.cpp (left): > > https://codereview.chromium.org/2966523002/diff/20001/third_party/WebKit/Source/modules/webauth/WebAuthentication.cpp#oldcode216 > ...
3 years, 5 months ago (2017-07-13 20:29:53 UTC) #25
engedy
On 2017/07/13 20:29:53, kpaulhamus wrote: > On 2017/07/13 20:27:13, engedy wrote: > > > https://codereview.chromium.org/2966523002/diff/20001/third_party/WebKit/Source/modules/webauth/WebAuthentication.cpp ...
3 years, 5 months ago (2017-07-13 21:00:10 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2966523002/120001
3 years, 5 months ago (2017-07-14 00:39:17 UTC) #29
commit-bot: I haz the power
3 years, 5 months ago (2017-07-14 02:53:12 UTC) #32
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/04b66da848df095ca21d54194b7c...

Powered by Google App Engine
This is Rietveld 408576698