Bug 261808 - Serialization of “autocomplete” with “webauthn” token doesn’t work as expected
Summary: Serialization of “autocomplete” with “webauthn” token doesn’t work as expected
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: sideshowbarker
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-09-20 00:58 PDT by sideshowbarker
Modified: 2023-09-27 10:38 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.