]> spindle.queued.net Git - midori/commitdiff
Report to the web view we didn't handle if the MIME type is fine
authorChristian Dywan <christian@twotoasts.de>
Sat, 28 Feb 2009 21:33:37 +0000 (22:33 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sat, 28 Feb 2009 21:33:37 +0000 (22:33 +0100)
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

index 2b0a2023e3eb1e922dcacd471c97ce96e90d53be..3dfa954078e1192bb9d16508153ba5a8b09e4d8a 100644 (file)
@@ -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",