[epiphany/mcatanzaro/prefetch] Remove DNS prefetch workaround



commit da31e59e706bd2885b714731c670995d7af3e2ea
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Feb 2 19:16:44 2020 -0600

    Remove DNS prefetch workaround
    
    WebKitGTK 2.27.3 would crash when performing DNS prefetch with PSON
    enabled.

 lib/widgets/ephy-location-entry.c | 3 ---
 meson.build                       | 2 +-
 2 files changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index 43d0f3fdc..fb5a8d8f1 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -1089,13 +1089,10 @@ free_prefetch_helper (PrefetchHelper *helper)
 static gboolean
 do_dns_prefetch (PrefetchHelper *helper)
 {
-/* FIXME: https://bugs.webkit.org/show_bug.cgi?id=204703 */
-#if WEBKIT_CHECK_VERSION (2, 27, 4)
   EphyEmbedShell *shell = ephy_embed_shell_get_default ();
 
   if (helper->uri)
     webkit_web_context_prefetch_dns (ephy_embed_shell_get_web_context (shell), helper->uri->host);
-#endif
 
   helper->entry->dns_prefetch_handle_id = 0;
 
diff --git a/meson.build b/meson.build
index f6634ec0f..f7699454e 100644
--- a/meson.build
+++ b/meson.build
@@ -76,7 +76,7 @@ config_h = declare_dependency(
 glib_requirement = '>= 2.61.2'
 gtk_requirement = '>= 3.24.0'
 nettle_requirement = '>= 3.4'
-webkitgtk_requirement = '>= 2.27.3'
+webkitgtk_requirement = '>= 2.27.4'
 
 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]