[webkit-changes] [WebKit/WebKit] ab8b39: Word completion suggestion interferes with website...

Richard Robinson noreply at github.com
Tue Mar 19 06:54:41 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ab8b39b36339bb473f6c3f5943732a78d1d87d34
      https://github.com/WebKit/WebKit/commit/ab8b39b36339bb473f6c3f5943732a78d1d87d34
  Author: Richard Robinson <richard_robinson2 at apple.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M Source/WebCore/dom/Element.cpp
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/WritingSuggestions.mm

  Log Message:
  -----------
  Word completion suggestion interferes with website's suggestion results
https://bugs.webkit.org/show_bug.cgi?id=271197
rdar://124727588

Reviewed by Aditya Keerthi and Abrar Rahman Protyasha.

If the value of `writingsuggestions` isn't explicitly specified, have the default value for it be
`false` instead of `true` if the element has disabled `autocomplete`.

* Source/WebCore/dom/Element.cpp:
(WebCore::Element::isWritingSuggestionsEnabled const):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/WritingSuggestions.mm:
(TEST):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list