[Webkit-unassigned] [Bug 176855] New: Unable to recover existing WKWebView after receiving callback from webViewWebContentProcessDidTerminate.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 13 10:35:43 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=176855
Bug ID: 176855
Summary: Unable to recover existing WKWebView after receiving
callback from webViewWebContentProcessDidTerminate.
Product: WebKit
Version: Other
Hardware: iPhone / iPad
OS: iOS 11
Status: NEW
Severity: Major
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: logan.blevins at covenanteyes.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
In previous versions of iOS (9 and 10), we have been able to reload the webview when it web content process is terminated by WebKit. Unfortunately, this behaves much differently when running on an iOS 11 device. Trying the same thing to recover on iOS 11, results in a partial web page rendering.
When reloading in this scenario, only the portion of the web view within it's parent view bounds is rendered. If you try scrolling down the page, you'll notice that anything below the top portion of the web page is not rendered at all. Then try navigating to a different URL or even loading a new request, yet the same result occurs. It seems that WebKit is trying to optimize too much.
The only way I can fix this, is to destroy the WKWebView by setting it to nil and creating it once again, then loading a request with the previous URL that was cached. This webview destruction is a workaround. It is far form ideal. I assume this either a bug or a change in iOS 11 WebKit that needs attention, since it does not affect 9 or 10.
Please advise on the status of this bug.
--
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/20170913/2707dd75/attachment.html>
More information about the webkit-unassigned
mailing list