From: André Stösel Date: Fri, 13 May 2011 14:07:28 +0000 (+0200) Subject: Don't fail on network cancelled errors X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64bb60afd864df1f221b68d5d1da0da6ea31056f;p=midori Don't fail on network cancelled errors --- diff --git a/midori/midori-view.c b/midori/midori-view.c index 8b72b805..42bfb19a 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -1514,6 +1514,9 @@ webkit_web_view_load_error_cb (WebKitWebView* web_view, case WEBKIT_PLUGIN_ERROR_WILL_HANDLE_LOAD: /* A plugin will take over. That's expected, it's not fatal. */ return FALSE; + case WEBKIT_NETWORK_ERROR_CANCELLED: + /* Mostly initiated by JS redirects. */ + return FALSE; } title = g_strdup_printf (_("Error - %s"), uri);