[X2Go-Commits] [pale-moon] 07/102: Make `AllowExperiments` return `false` as it is not useful without telemetry

git-admin at x2go.org git-admin at x2go.org
Mon Feb 25 23:25:41 CET 2019


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch upstream/28.4.0
in repository pale-moon.

commit 6335404642a019df481275f4f290ea76b4d8f597
Author: adeshkp <adeshkp at users.noreply.github.com>
Date:   Mon Jan 14 09:37:50 2019 -0500

    Make `AllowExperiments` return `false` as it is not useful without telemetry
---
 netwerk/protocol/http/nsHttpHandler.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/netwerk/protocol/http/nsHttpHandler.h b/netwerk/protocol/http/nsHttpHandler.h
index 983d069..f1ec0f9 100644
--- a/netwerk/protocol/http/nsHttpHandler.h
+++ b/netwerk/protocol/http/nsHttpHandler.h
@@ -105,7 +105,10 @@ public:
     bool           EnforceAssocReq()         { return mEnforceAssocReq; }
 
     bool           IsPersistentHttpsCachingEnabled() { return mEnablePersistentHttpsCaching; }
-    bool           AllowExperiments() { return mAllowExperiments; }
+
+    // Since telemetry has been removed, experiments should also not be allowed.
+    // Making this function return `false` for now, it will be cleaned up later.
+    bool           AllowExperiments() { return false; }
 
     bool           IsSpdyEnabled() { return mEnableSpdy; }
     bool           IsHttp2Enabled() { return mHttp2Enabled; }

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pale-moon.git


More information about the x2go-commits mailing list