[Webkit-unassigned] [Bug 184144] Reproducible, recurring crash when -[runJavaScriptAlertPanelWithMessage:initiatedByFrame: completionHandler:] was called then the WKWebView is destroyed without any alert buttons being pressed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 11 09:54:54 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=184144

Andy Estes <aestes at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #8 from Andy Estes <aestes at apple.com> ---
JavaScript alerts run synchronously from the perspective of web content, so the web process hangs waiting for you to call the alert completion handler. If you allow the completion handler to be deallocated without calling it once, your WKWebView would become unresponsive.

That's why we throw this exception. You really need to call the completion handler whenever you dismiss the alert, whether its dismissed programmatically or by the user.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180411/3cdc9ee4/attachment-0002.html>


More information about the webkit-unassigned mailing list