Bug 183530 - [WebAuthN] Needs more graceful error handling
Summary: [WebAuthN] Needs more graceful error handling
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
Keywords: InRadar
Depends on:
Blocks: 181943
  Show dependency treegraph
Reported: 2018-03-09 15:12 PST by Jiewen Tan
Modified: 2018-09-13 01:23 PDT (History)
5 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jiewen Tan 2018-03-09 15:12:13 PST
Current error handling model for WebAuthN is just returning an exception.

A more graceful model should also cleanup any messed states as well.
Comment 1 Radar WebKit Bug Importer 2018-08-15 17:07:54 PDT
Comment 2 Jiewen Tan 2018-09-13 01:23:24 PDT
Also, we need to carefully pick sentences to describe error such that we can protect user privacy: https://www.w3.org/TR/webauthn/#sctn-privacy-considerations.

For example, we might want to make NotAllowedError indistinguishable between each other.