[webkit-changes] [WebKit/WebKit] 224ebe: Ensure completion handler is always called in WebP...

Abrar Rahman Protyasha noreply at github.com
Fri Jun 23 13:44:08 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 224ebe1caabd0b48122e0b6bc5912687b2567722
      https://github.com/WebKit/WebKit/commit/224ebe1caabd0b48122e0b6bc5912687b2567722
  Author: Abrar Rahman Protyasha <a_protyasha at apple.com>
  Date:   2023-06-23 (Fri, 23 Jun 2023)

  Changed paths:
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp

  Log Message:
  -----------
  Ensure completion handler is always called in WebPage::performHitTestForMouseEvent
https://bugs.webkit.org/show_bug.cgi?id=258459
rdar://111220210

Reviewed by Wenson Hsieh.

Currently we don't call the completion handler when the page's main frame
(or its view) is null. This commit fixes that by calling the completion
handler with sane defaults instead.

* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::performHitTestForMouseEvent):

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




More information about the webkit-changes mailing list