[epiphany] web-extension: Add more debug logging



commit 46f67db9d92f519050cc1d11faac30a0034586ff
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Wed Aug 30 14:01:40 2017 -0500

    web-extension: Add more debug logging

 embed/web-extension/ephy-web-extension.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/embed/web-extension/ephy-web-extension.c b/embed/web-extension/ephy-web-extension.c
index 9e3264b..7c8c81d 100644
--- a/embed/web-extension/ephy-web-extension.c
+++ b/embed/web-extension/ephy-web-extension.c
@@ -227,13 +227,17 @@ web_page_send_request (WebKitWebPage     *web_page,
 
     modified_uri = result;
   } else if (!modified_uri) {
+    LOG ("Going to load %s", request_uri);
     return FALSE;
   }
 
   if (g_strcmp0 (request_uri, modified_uri) != 0) {
     LOG ("Rewrote %s to %s", request_uri, modified_uri);
     webkit_uri_request_set_uri (request, modified_uri);
+  } else {
+    LOG ("Going to load %s", request_uri);
   }
+
   g_free (modified_uri);
 
   return FALSE;


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