aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-web-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'embed/ephy-web-view.c')
-rw-r--r--embed/ephy-web-view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 1aa37f74d..1276a4f35 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -1795,6 +1795,8 @@ decide_policy_cb (WebKitWebView *web_view,
/* If WebKit can't handle the mime type start the download
process */
+ /* FIXME: we need to trigger the download only if this is the main
+ * resource, see the WK1 implementation and 'is_main_resource'. */
if (webkit_web_view_can_show_mime_type (web_view, mime_type))
return FALSE;