From 64bb60afd864df1f221b68d5d1da0da6ea31056f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20St=C3=B6sel?= Date: Fri, 13 May 2011 16:07:28 +0200 Subject: [PATCH] Don't fail on network cancelled errors --- midori/midori-view.c | 3 +++ 1 file changed, 3 insertions(+) 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);