Bug 182769 - [WebAuthN] Improve testing configuration of WebAuthN
Summary: [WebAuthN] Improve testing configuration of WebAuthN
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 191529 191530 191531 189283 189877 202560 202565
Blocks: 181943
  Show dependency treegraph
 
Reported: 2018-02-13 22:00 PST by Jiewen Tan
Modified: 2019-10-09 15:29 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiewen Tan 2018-02-13 22:00:21 PST
Figure out a way to auto-test platform specific procedures in WebCredentialsMessengerProxy. Currently only MockWebCredentialsMessenger is crafted to test things within WebProcess. However, there is nothing out there to test the UIProcess corresponding parts.
Comment 1 Jiewen Tan 2018-03-09 15:06:01 PST
1. We will have to convert unit tests of LocalAuthenticator into proper API tests such that message parameters encoding and decoding between WebProcess and UIProcess can be properly tested as well.
Comment 2 Jiewen Tan 2018-03-09 15:06:51 PST
(In reply to Jiewen Tan from comment #0)
> Figure out a way to auto-test platform specific procedures in
> WebCredentialsMessengerProxy. Currently only MockWebCredentialsMessenger is
> crafted to test things within WebProcess. However, there is nothing out
> there to test the UIProcess corresponding parts.

UIProcess parts are partially covered by unit tests now
Comment 3 Jiewen Tan 2018-03-14 14:01:02 PDT
2. Needs manual tests for every step to determine if there is more prompt for user consent after the first one.
Comment 4 Jiewen Tan 2018-09-27 14:21:11 PDT
3. It might be good to import test cases from Chrome/Firefox as well.
Comment 5 Jiewen Tan 2018-12-20 16:22:50 PST
We should also try to improve numbers in:
https://w3c.github.io/test-results/webauthn/all.html.
Comment 6 Jiewen Tan 2019-10-09 15:28:15 PDT
We should probably gather all API tests into a single place.
Comment 7 Jiewen Tan 2019-10-09 15:29:04 PDT
We should visit the WebDriver virtual authenticator extension as well.