Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2f84d00fc31557a3e0a0bd1fc5dbe32a94a40e04
      
https://github.com/WebKit/WebKit/commit/2f84d00fc31557a3e0a0bd1fc5dbe32a94a40e04
  Author: Franco Vieira de Souza <[email protected]>
  Date:   2025-10-03 (Fri, 03 Oct 2025)

  Changed paths:
    M Source/WebCore/page/LocalDOMWindow.cpp

  Log Message:
  -----------
  Fix iOS Simulated Keyboard Events Crash (event-timing)
https://bugs.webkit.org/show_bug.cgi?id=300055
rdar://161854148

Reviewed by Abrar Rahman Protyasha.

Avoids unsafe downcast of key{up/down/press} events to KeyboardEvent,
which was crashing on iOS simulated keyboard events. Crashes were
occurring in these two API tests:

- KeyboardInputTests.InsertDictationAlternativesSimulatingKeyboardInput
- KeyboardInputTests.InsertTextSimulatingKeyboardInput

(these tests are not currently being exercised by automation
because the feature is currently behind a feature flag)

* Source/WebCore/page/LocalDOMWindow.cpp:
(WebCore::LocalDOMWindow::computeInteractionID):
(WebCore::LocalDOMWindow::finalizeEventTimingEntry):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to