essAbubakar / open-webkit-sharp

Automatically exported from code.google.com/p/open-webkit-sharp
0 stars 0 forks source link

Navigate() or Reload() must include network connection checker. #142

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.WebKitBrowser.Navigate
2.Reload
3.

What is the expected output? What do you see instead?

Escape from endless waiting when network failed..

What version of the product are you using? On what operating system?

2.8
2.9

Please provide any additional information below.

Current navigate() or reload() function wait endless. So I think it must be 
inserted network check code in order to escape from endless waiting just like 
this.

Navigate( String url) {

if( System.Net.NetworkInformation.NetworkInterface.GetIsNetworkAvailable() == 
false )
{
     // show message for network connection fail..
     ...

}

Original issue reported on code.google.com by jjnetko...@gmail.com on 6 Oct 2012 at 10:13

GoogleCodeExporter commented 9 years ago
If fail was occured, display fail message and return immediatly.

Original comment by jjnetko...@gmail.com on 6 Oct 2012 at 10:16

GoogleCodeExporter commented 9 years ago
When there is no internet connection or an error occurs when navigating, the 
Error event is fired providing with details of the error. So, it is not 
essential to provide such a check and it could also cause problems to people 
trying to navigate to local files when offline. So, issue closed.

Original comment by tsumalis96@gmail.com on 6 Oct 2012 at 6:02