Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5788c0b5720ff33228d3ad9c06776fea20df45cc
      
https://github.com/WebKit/WebKit/commit/5788c0b5720ff33228d3ad9c06776fea20df45cc
  Author: Ryosuke Niwa <[email protected]>
  Date:   2026-01-21 (Wed, 21 Jan 2026)

  Changed paths:
    M Source/WebKit/WebProcess/WebPage/Cocoa/WebPageCocoa.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/UserContentController.mm

  Log Message:
  -----------
  webkitusertextinput doesn't get dispatched on iOS
https://bugs.webkit.org/show_bug.cgi?id=305982

Reviewed by Wenson Hsieh.

The bug was caused by WebPage::insertTextAsync in iOS not instantiating 
UserTypingGestureIndicator.
Fixed the bug by instantiating one so that the event will be dispatched.

Test: Tools/TestWebKitAPI/Tests/WebKitCocoa/UserContentController.mm
* Source/WebKit/WebProcess/WebPage/Cocoa/WebPageCocoa.mm:
(WebKit::WebPage::insertTextAsync):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/UserContentController.mm:
(TEST(WKUserContentController, FireUserTextInputEvent)):

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



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

Reply via email to