[Webkit-unassigned] [Bug 140212] New: WKWebView should provide some means of handling render process termination.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 7 14:33:38 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=140212
Bug ID: 140212
Summary: WKWebView should provide some means of handling render
process termination.
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: iOS
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit2
Assignee: webkit-unassigned at lists.webkit.org
Reporter: eugenebut at chromium.org
Summary:
Under the new WebKit framework in iOS8, content is rendered in a process separate from the application that owns the WKWebView instance. If the render process is terminated due to memory pressure, or crashes, the WKWebView(s) that it was rendering for are not notified in any way and don't have any way to reload their contents.
Ideally there would be a WKWebViewDelegate protocol that would include something like a -shouldReloadAfterRenderFailure method where the delegate can return YES or NO to trigger re-rendering the page, spawning a new render process as needed.
Steps to Reproduce:
1. Create an application that uses a WKWebView
2. Induce the WKWebView's render process to crash or be terminated
3. Observe that the WKWebView is blank and doesn't reload.
(This is the behavior described by engineers at WWDC).
Expected Results:
The WKWebView gets notified that there was a render failure. F.e. by making the following method public:
- (void)_webViewWebProcessDidCrash:(WKWebView *)webView;
Actual Results:
The WKWebView doesn't get notified.
--
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/20150107/fe124e4a/attachment-0002.html>
More information about the webkit-unassigned
mailing list