Exemplo n.º 1
0
 private void frameLoadDelegate_DidFailProvisionalLoadWithError(WebView WebView, IWebError error, IWebFrame frame)
 {
     // ignore an "error" where the page loading is interrupted by a policy change when dowloading a file
     if (!(frame == WebView.mainFrame() && error.Domain() == "WebKitErrorDomain" && error.code() == 102))
     {
         Error(this, new WebKitBrowserErrorEventArgs(error.localizedDescription()));
     }
 }
Exemplo n.º 2
0
 private void frameLoadDelegate_DidFailProvisionalLoadWithError(WebView WebView, IWebError error, IWebFrame frame)
 {
     // ignore an "error" where the page loading is interrupted by a policy change when dowloading a file
     if (!(frame == WebView.mainFrame() && error.Domain() == "WebKitErrorDomain" && error.code() == 102))
     {
         Error(this, new WebKitBrowserErrorEventArgs(error.localizedDescription())); 
     }
 }