[Webkit-unassigned] [Bug 184144] New: Fix possible 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
Thu Mar 29 12:03:29 PDT 2018


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

            Bug ID: 184144
           Summary: Fix possible crash when
                    -[runJavaScriptAlertPanelWithMessage:initiatedByFrame:
                    completionHandler:] was called then the WKWebView is
                    destroyed without any alert buttons being pressed
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aravindv2007 at gmail.com

1. Open a page that shows a Javascript alert/confirm/text-input prompt.
2. Destroy the WKWebView Object when the alert/prompt is active.
3. App crashes with any of the following errors depending on the type of prompt:

- Uncaught exception: Completion handler passed to -[WebViewController webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:] was not called
- Uncaught exception: Completion handler passed to -[WebViewController webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:] was not called
- Uncaught exception: Completion handler passed to -[WebViewController webView:runJavaScriptTextInputPanelWithPrompt: defaultText:initiatedByFrame:completionHandler:] was not called

-- 
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/20180329/04396dd7/attachment.html>


More information about the webkit-unassigned mailing list