Bug 193269

Summary: [WebAuthN] InvalidStateError should be reported to sites
Product: WebKit Reporter: Jiewen Tan <jiewen_tan>
Component: WebCore Misc.Assignee: Jiewen Tan <jiewen_tan>
Status: RESOLVED FIXED    
Severity: Normal CC: alex.gaynor, bfulgham, commit-queue, jiewen_tan, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 181943    
Attachments:
Description Flags
Patch none

Description Jiewen Tan 2019-01-08 16:50:47 PST
According to https://www.w3.org/TR/webauthn/#createCredential, InvalidStateErrors should be reported to sites. It is the only type of error which will not result into silent failures.
Comment 1 Radar WebKit Bug Importer 2019-02-21 17:53:27 PST
<rdar://problem/48298264>
Comment 2 Jiewen Tan 2019-05-10 13:06:35 PDT
Created attachment 369585 [details]
Patch
Comment 3 Brent Fulgham 2019-05-13 15:11:55 PDT
Comment on attachment 369585 [details]
Patch

r=me
Comment 4 Jiewen Tan 2019-05-13 15:42:09 PDT
(In reply to Brent Fulgham from comment #3)
> Comment on attachment 369585 [details]
> Patch
> 
> r=me

Thanks Brent for r+ this patch.
Comment 5 WebKit Commit Bot 2019-05-13 16:09:45 PDT
Comment on attachment 369585 [details]
Patch

Clearing flags on attachment: 369585

Committed r245262: <https://trac.webkit.org/changeset/245262>
Comment 6 WebKit Commit Bot 2019-05-13 16:09:47 PDT
All reviewed patches have been landed.  Closing bug.