Github user mccraigmccraig commented on the issue:
https://github.com/apache/cordova-plugin-wkwebview-engine/pull/11
definitely it is weird - the test exists because the
`webViewContentProcessDidTerminate` delegate function sometimes doesn't get
called, which is presumably a bug in `WkWebView` itself
it was observed that the empty title is a test for this problem having
occurred, and since there is no official API to determine the same, a weird but
workable test is better than WSODs :)
the difficulty with this bug is that it only occurs irregularly - randomly,
once every few days for me - so it's really hard to test solutions, and i don't
know if the value which is matching the condition is actually `nil` or `""` -
whether the condition can be reduced to `==nil` would depend on first figuring
out the answer to this question
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]