Bug 261808

Summary: Serialization of “autocomplete” with “webauthn” token doesn’t work as expected
Product: WebKit Reporter: sideshowbarker <mike>
Component: DOMAssignee: sideshowbarker <mike>
Status: RESOLVED FIXED    
Severity: Normal CC: akeerthi, pascoe, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description sideshowbarker 2023-09-20 00:58:55 PDT
WebKit currently isn’t correctly serializing the value of the “autocomplete” attribute when it contains a “webauthn” token as expected per the spec requirements in the algorithm at https://html.spec.whatwg.org/#autofill-processing-model:attr-fe-autocomplete-webauthn. 

This problem causes a WPT test failure for the “Serialize combinations of section, mode, contact, field, and credential” test case at the end of https://wpt.fyi/results/html/semantics/forms/the-form-element/form-autocomplete.html (the last test case there).
Comment 1 sideshowbarker 2023-09-20 00:59:54 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17966
Comment 2 Radar WebKit Bug Importer 2023-09-27 00:59:11 PDT
<rdar://problem/116107937>
Comment 3 EWS 2023-09-27 10:38:17 PDT
Committed 268520@main (4dfeafc93402): <https://commits.webkit.org/268520@main>

Reviewed commits have been landed. Closing PR #17966 and removing active labels.