title: WKWebView does not finish/timeout when there is no internet access
body: <p>There is a remote Javscript asset tag on a local HTML page I'm navigating to via WkWebView that never finishes downloading (in both the case that the iOS device is not connected to the internet, or the device's internet is too slow). </p>
  
  <p>Unfortunately, the WKWebView never aborts trying to download this asset nor does it ever move on to my WKNavigationDelegate (i.e. neither <code>-webView:didFailNavigation:withError:</code> nor <code>-webView:didFinishNavigation: neither</code> are called),  so users are stuck with a blank HTML page that never fully resolves and never errors out.</p>
  
  <p>Thankfully in some scenarios I've debugged via the Safari remote iOS Javascript debugger, I've noticed we get the error <code>Failed to load resource: The Internet connection appears to be offline</code> logged to the console, but in others (like certain devices in Airplane Mode) the WKWebView never seems to timeout with this error or give up, so no WKNavigationDelegate callbacks get fired.</p>
  
  <p>You can reproduce this scenario on your own by using the iOS 8.2 simulator with any WKWebView iOS application, navigate to any locally served HTML file, then add a script tag with any remote URL, then throttle your Internet connection to "100% Loss" using Apple's <a href="https://developer.apple.com/downloads/index.action?q=Network%20Link%20Conditioner">Network Link Conditioner</a>.</p>
  
  <p>What would be the best way to force a WkWebView to timeout/return via an error or success callback to its WKNavigationDelegate?</p>