WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
199567
Web Inspector: WebKit crashes when invoking JavaScript
https://bugs.webkit.org/show_bug.cgi?id=199567
Summary
Web Inspector: WebKit crashes when invoking JavaScript
Mateusz Matrejek
Reported
2019-07-08 00:18:02 PDT
Created
attachment 373617
[details]
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.
Attachments
iOS WebKit crash report
(86.56 KB, text/plain)
2019-07-08 00:18 PDT
,
Mateusz Matrejek
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Devin Rousso
Comment 1
2019-07-08 11:47:36 PDT
(In reply to Mateusz Matrejek from
comment #0
)
> 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.
Can you attach the code in question? Would it be possible for you to create a small reproduction so we can test it?
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug