[webkit-changes] [WebKit/WebKit] 7753b1: createUIAlertController title gets truncated if to...

youennf noreply at github.com
Wed Nov 15 01:27:17 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7753b1fdea4b4605b4851dec61966b8b7247302a
      https://github.com/WebKit/WebKit/commit/7753b1fdea4b4605b4851dec61966b8b7247302a
  Author: Youenn Fablet <youennf at gmail.com>
  Date:   2023-11-15 (Wed, 15 Nov 2023)

  Changed paths:
    M Source/WebKit/Platform/spi/ios/UIKitSPI.h
    M Source/WebKit/UIProcess/ios/UIKitUtilities.mm

  Log Message:
  -----------
  createUIAlertController title gets truncated if too long
https://bugs.webkit.org/show_bug.cgi?id=264568
rdar://116345923

Reviewed by Jean-Yves Avenard.

UIKit is truncating titles when they are long, which is probablematic for prompts.
We reuse the same workaround as Safari does for its own prompts.

* Source/WebKit/Platform/spi/ios/UIKitSPI.h:
* Source/WebKit/UIProcess/ios/UIKitUtilities.mm:
(WebKit::createUIAlertController):

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




More information about the webkit-changes mailing list