Don't fail on network cancelled errors

This commit is contained in:
André Stösel 2011-05-13 16:07:28 +02:00 committed by Christian Dywan
parent 93e4b17e4f
commit 64bb60afd8

View file

@ -1514,6 +1514,9 @@ webkit_web_view_load_error_cb (WebKitWebView* web_view,
case WEBKIT_PLUGIN_ERROR_WILL_HANDLE_LOAD: case WEBKIT_PLUGIN_ERROR_WILL_HANDLE_LOAD:
/* A plugin will take over. That's expected, it's not fatal. */ /* A plugin will take over. That's expected, it's not fatal. */
return FALSE; return FALSE;
case WEBKIT_NETWORK_ERROR_CANCELLED:
/* Mostly initiated by JS redirects. */
return FALSE;
} }
title = g_strdup_printf (_("Error - %s"), uri); title = g_strdup_printf (_("Error - %s"), uri);