Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7f5bb4130b0fc52702da435a0e48eda0dc617c3b
      
https://github.com/WebKit/WebKit/commit/7f5bb4130b0fc52702da435a0e48eda0dc617c3b
  Author: Abrar Rahman Protyasha <[email protected]>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm

  Log Message:
  -----------
  WCP sometimes crashes under WebPage::handleDoubleTapForDoubleClickAtPoint 
unwrapping an optional transaction ID
https://bugs.webkit.org/show_bug.cgi?id=294859
rdar://153030729

Reviewed by Aditya Keerthi.

We sometimes see crashes as we unwrap the optional transaction ID
returned by WebFrame::firstLayerTreeTransactionIDAfterDidCommitLoad().
It's OK for us to not honor click/tap IPC messages in case there is no
first transaction ID, and is certainly better than a runtime crash, so
we harden the web content process against said crashes in this patch.

* Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::attemptSyntheticClick):
(WebKit::WebPage::handleDoubleTapForDoubleClickAtPoint):

Canonical link: https://commits.webkit.org/296532@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