aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-10-16 05:48:30 +0800
committerXan Lopez <xan@igalia.com>2012-10-16 05:48:30 +0800
commit49d4cecc2e29313f527939cc09d6c7d3a72e2df7 (patch)
tree0d261823412f57580552c383de9f6c37ffa2c3b0
parent4bd35f5349e30b79689238afdfb4bb9585ff884e (diff)
downloadgsoc2013-epiphany-49d4cecc2e29313f527939cc09d6c7d3a72e2df7.tar
gsoc2013-epiphany-49d4cecc2e29313f527939cc09d6c7d3a72e2df7.tar.gz
gsoc2013-epiphany-49d4cecc2e29313f527939cc09d6c7d3a72e2df7.tar.bz2
gsoc2013-epiphany-49d4cecc2e29313f527939cc09d6c7d3a72e2df7.tar.lz
gsoc2013-epiphany-49d4cecc2e29313f527939cc09d6c7d3a72e2df7.tar.xz
gsoc2013-epiphany-49d4cecc2e29313f527939cc09d6c7d3a72e2df7.tar.zst
gsoc2013-epiphany-49d4cecc2e29313f527939cc09d6c7d3a72e2df7.zip
ephy-web-view: add FIXME for WebKit2
-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;