[epiphany/mcatanzaro/tls-errors] embed-shell: stop setting TLS errors policy




commit 2586d83bd1ca3212fd14b67300698fc54147ac5e
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Tue Oct 27 16:03:33 2020 -0500

    embed-shell: stop setting TLS errors policy
    
    This API is deprecated in 2.32, and it hasn't been needed since
    2.6.something since FAIL is now default, so we can drop it.

 embed/ephy-embed-shell.c | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index c2881ffbb..278cdefd8 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -900,9 +900,6 @@ ephy_embed_shell_startup (GApplication *application)
     /* Favicon Database */
     favicon_db_path = g_build_filename (ephy_cache_dir (), "icondatabase", NULL);
     webkit_web_context_set_favicon_database_directory (priv->web_context, favicon_db_path);
-
-    /* Do not ignore TLS errors. */
-    webkit_web_context_set_tls_errors_policy (priv->web_context, WEBKIT_TLS_ERRORS_POLICY_FAIL);
   }
 
   /* about: URIs handler */


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