[epiphany] HACKING: Fix advice about default web context use



commit e99e1fe2093f5b7fe6de8b70db79b8a5f1480522
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Tue Feb 21 11:08:27 2017 -0600

    HACKING: Fix advice about default web context use
    
    We don't use default context ever anymore

 HACKING |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/HACKING b/HACKING
index a397d47..77cebd6 100644
--- a/HACKING
+++ b/HACKING
@@ -119,11 +119,9 @@ WebKitGTK+ objects are:
 Epiphany has one EphyWebView per browser tab. It has exactly one
 WebKitWebContext, stored by EphyEmbedShell. WARNING: you need to be careful to
 use the web context from EphyEmbedShell when using a WebKit API that expects a
-WebKitWebContext. Think very carefully before using WebKit's default
-WebKitWebContext, which does not have all the right Epiphany settings and is
-probably not what you want. That is, do not pass NULL to a WebKitWebContext*
-parameter, and do not use webkit_web_context_get_default(). An exception is for
-the Firefox Sync web view in the preferences dialog.
+WebKitWebContext. Do not use WebKit's default WebKitWebContext; that is, do not
+pass NULL to any WebKitWebContext* parameter, and do not use
+webkit_web_context_get_default().
 
 WebKitGTK+ API documentation can be found at:
 


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