[webkit-changes] [WebKit/WebKit] 6f43d0: Add “one-time-code” as an allowed autocomplete fie...

sideshowbarker noreply at github.com
Mon Sep 18 15:51:46 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6f43d02b3e6f00359418c06c2f810b6994dc2519
      https://github.com/WebKit/WebKit/commit/6f43d02b3e6f00359418c06c2f810b6994dc2519
  Author: Michael[tm] Smith <mike at w3.org>
  Date:   2023-09-18 (Mon, 18 Sep 2023)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete-expected.txt
    M Source/WebCore/html/Autofill.cpp
    M Source/WebCore/html/Autofill.h
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
    M Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm

  Log Message:
  -----------
  Add “one-time-code” as an allowed autocomplete field name
https://bugs.webkit.org/show_bug.cgi?id=261687

Reviewed by Aditya Keerthi.

This change allows documents to use “one-time-code” as an allowed field
name in the autocomplete attribute.

Per https://html.spec.whatwg.org/#autofill-processing-model:attr-fe-autocomplete-one-time-code
the autofill category for “one-time-code” is “Normal”.

* LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete-expected.txt:
* Source/WebCore/html/Autofill.cpp:
* Source/WebCore/html/Autofill.h:
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
(contentTypeFromFieldName):

Canonical link: https://commits.webkit.org/268097@main




More information about the webkit-changes mailing list