[epiphany/mcatanzaro/page-created: 5/5] Remove workaround for window-object-cleared bug




commit 8cbdd28fde074c70e01c78760f6fb5ace8ebc105
Author: Michael Catanzaro <mcatanzaro redhat com>
Date:   Mon Jun 7 06:17:51 2021 -0500

    Remove workaround for window-object-cleared bug
    
    Apparently this code is a workaround for
    https://bugs.webkit.org/show_bug.cgi?id=221771, which has been fixed, so
    we should no longer need it anymore.
    
    Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/973>

 embed/web-process-extension/ephy-web-process-extension.c | 4 ----
 meson.build                                              | 2 +-
 2 files changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/embed/web-process-extension/ephy-web-process-extension.c 
b/embed/web-process-extension/ephy-web-process-extension.c
index 82bf3eda8..967559a86 100644
--- a/embed/web-process-extension/ephy-web-process-extension.c
+++ b/embed/web-process-extension/ephy-web-process-extension.c
@@ -231,10 +231,6 @@ ephy_web_process_extension_page_created_cb (EphyWebProcessExtension *extension,
 {
   g_autoptr (JSCContext) js_context = NULL;
 
-  /* Enforce the creation of the script world global context in the main frame */
-  js_context = webkit_frame_get_js_context_for_script_world (webkit_web_page_get_main_frame (web_page), 
extension->script_world);
-  (void)js_context;
-
   g_signal_connect (web_page, "context-menu",
                     G_CALLBACK (web_page_context_menu),
                     extension);
diff --git a/meson.build b/meson.build
index 7b8da1725..08789d894 100644
--- a/meson.build
+++ b/meson.build
@@ -75,7 +75,7 @@ conf.set10('ENABLE_GSB', gsb_api_key != '')
 glib_requirement = '>= 2.67.1'
 gtk_requirement = '>= 3.24.0'
 nettle_requirement = '>= 3.4'
-webkitgtk_requirement = '>= 2.33.1'
+webkitgtk_requirement = '>= 2.33.2'
 
 cairo_dep = dependency('cairo', version: '>= 1.2')
 gcr_dep = dependency('gcr-3', version: '>= 3.5.5')


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