From f799af8c0c290f90ef7d51684f8ab11df4d91183 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sat, 28 Feb 2009 22:33:37 +0100 Subject: [PATCH] Report to the web view we didn't handle if the MIME type is fine This caused blank pages to erroneously look as thought they were loading infinitely. In fact it is due to a bug in WebKit that this ever worked at all. --- midori/midori-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/midori/midori-view.c b/midori/midori-view.c index 2b0a2023..3dfa9540 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -1160,7 +1160,7 @@ webkit_web_view_mime_type_decision_cb (GtkWidget* web_view, g_strrstr (mime_type, "script") || g_str_has_prefix (mime_type, "text/") || g_strrstr (mime_type, "xml")) #endif - return TRUE; + return FALSE; #if WEBKIT_CHECK_VERSION (1, 0, 0) uri = g_strdup_printf ("error:nodisplay %s", -- 2.39.5