[epiphany] ephy-web-view: add FIXME for WebKit2



commit 49d4cecc2e29313f527939cc09d6c7d3a72e2df7
Author: Xan Lopez <xan igalia com>
Date:   Mon Oct 15 23:48:30 2012 +0200

    ephy-web-view: add FIXME for WebKit2

 embed/ephy-web-view.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 1aa37f7..1276a4f 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;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]