You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/03/09 01:42:40 UTC
[jira] [Commented] (CB-10817) The webView should reload when a
crash occurs
[ https://issues.apache.org/jira/browse/CB-10817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15186202#comment-15186202 ]
ASF GitHub Bot commented on CB-10817:
-------------------------------------
Github user shazron commented on the pull request:
https://github.com/apache/cordova-plugin-wkwebview-engine/pull/5#issuecomment-194039914
Sorry, overlooked this. The normal process is to file a JIRA issue and reference it in the title here (which will mirror comments to the issue). I've done so: https://issues.apache.org/jira/browse/CB-10817
@dlmma can you prefix CB-10817 to the title of this PR? Thanks.
> The webView should reload when a crash occurs
> ---------------------------------------------
>
> Key: CB-10817
> URL: https://issues.apache.org/jira/browse/CB-10817
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin WKWebViewEngine
> Reporter: Shazron Abdullah
>
> With the iOS9 API, it is now possible to detect when the WKProcess dies. See the API details for reference:
> PR: https://github.com/apache/cordova-plugin-wkwebview-engine/pull/5
> https://developer.apple.com/library/ios/releasenotes/General/iOS90APIDiffs/Objective-C/WebKit.html
> When it does, the content is blanked out and the URL becomes nil. This results in a "white screen" that can only be resolved by restarting the app. See this for more info: https://bugs.webkit.org/show_bug.cgi?id=148685
> I've Implemented the method: - (void)webViewWebContentProcessDidTerminate:(WKWebView *)webView which will be called when the process dies and reload the webView.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org