[Webkit-unassigned] [Bug 199567] New: Web Inspector: WebKit crashes when invoking JavaScript

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 8 00:18:02 PDT 2019


            Bug ID: 199567
           Summary: Web Inspector: WebKit crashes when invoking JavaScript
           Product: WebKit
           Version: Safari 12
          Hardware: iPhone / iPad
                OS: iOS 12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: matrejek at gmail.com
                CC: inspector-bugzilla-changes at group.apple.com

Created attachment 373617

  --> https://bugs.webkit.org/attachment.cgi?id=373617&action=review

iOS WebKit crash report

There is a WKWebView running on iOS 12. Inside that WKWebView there is a piece of JavaScript code that uses window.webkit.messageHandlers to post message to the native side. 

The code works fine when it is being invoked from any website element like button, etc. 

When trying to invoke the same code using WebInspector's console - I can observe that there is webViewWebContentProcessDidTerminate(_ webView: WKWebView) called inside the application that owns the webView and attached crash report is generated.

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/20190708/c000dc27/attachment.html>

More information about the webkit-unassigned mailing list