]> spindle.queued.net Git - midori/commitdiff
Don't fail on network cancelled errors
authorAndré Stösel <andre@stoesel.de>
Fri, 13 May 2011 14:07:28 +0000 (16:07 +0200)
committerChristian Dywan <christian@twotoasts.de>
Fri, 13 May 2011 14:07:28 +0000 (16:07 +0200)
midori/midori-view.c

index 8b72b805d398223b96f09375d17120dbd0a7e144..42bfb19a6e4d39cabc508ca5215afb7b88455fea 100644 (file)
@@ -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);