[epiphany/mcatanzaro/debug] Add debug




commit c009e5ea638f6d086ddd5b8a87b1a07c36347f21
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Wed Feb 3 14:56:02 2021 -0600

    Add debug

 embed/web-process-extension/ephy-web-process-extension.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/embed/web-process-extension/ephy-web-process-extension.c 
b/embed/web-process-extension/ephy-web-process-extension.c
index de1cd6302..479ebdef2 100644
--- a/embed/web-process-extension/ephy-web-process-extension.c
+++ b/embed/web-process-extension/ephy-web-process-extension.c
@@ -665,6 +665,7 @@ window_object_cleared_cb (WebKitScriptWorld       *world,
   js_context = webkit_frame_get_js_context_for_script_world (frame, world);
   jsc_context_push_exception_handler (js_context, (JSCExceptionHandler)js_exception_handler, NULL, NULL);
 
+g_warning("%s: extension=%p world=%s page=%lu frame=%lu js_context=%p", __FUNCTION__, extension, 
webkit_script_world_get_name (world), webkit_web_page_get_id (page), webkit_frame_get_id (frame), js_context);
   set_up_webextensions (extension, page, js_context);
 
   bytes = g_resources_lookup_data ("/org/gnome/epiphany-web-process-extension/js/ephy.js", 
G_RESOURCE_LOOKUP_FLAGS_NONE, NULL);


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