Ejemplo n.º 1
0
 private void frameLoadDelegate_DidFailLoadWithError(WebView WebView, IWebError error, IWebFrame frame)
 {
     Error(this, new WebKitBrowserErrorEventArgs(error.localizedDescription()));
 }
Ejemplo n.º 2
0
 private void frameLoadDelegate_DidFailLoadWithError(WebView WebView, IWebError error, IWebFrame frame)
 {
     if (error.localizedDescription() != "cancelled")
     {
         Error(this, new WebKitBrowserErrorEventArgs(error.localizedDescription()));
     }
 }
Ejemplo n.º 3
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()));
     }
 }
Ejemplo n.º 4
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())); 
     }
 }