[webkit-changes] [WebKit/WebKit] 442974: REGRESSION (iOS 16.4): Chrome crashes in -[WKWebGe...

Chris Dumez noreply at github.com
Wed Mar 15 20:13:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4429746eddd45f836344ec39a914d40d25b6c728
      https://github.com/WebKit/WebKit/commit/4429746eddd45f836344ec39a914d40d25b6c728
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M Source/WebKit/UIProcess/ios/WKWebGeolocationPolicyDeciderIOS.mm

  Log Message:
  -----------
  REGRESSION (iOS 16.4): Chrome crashes in -[WKWebGeolocationPolicyDecider _executeNextChallenge]
https://bugs.webkit.org/show_bug.cgi?id=253965
rdar://106767100

Reviewed by Wenson Hsieh.

When the UIAlertAction block gets called, make sure that `self` is still alive and that
`_activeChallenge` is non-null.

* Source/WebKit/UIProcess/ios/WKWebGeolocationPolicyDeciderIOS.mm:
(-[WKWebGeolocationPolicyDecider _executeNextChallenge]):
(-[WKWebGeolocationPolicyDecider _finishActiveChallenge:]):

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




More information about the webkit-changes mailing list