summaryrefslogtreecommitdiff
path: root/netwerk
diff options
context:
space:
mode:
authoradeshkp <adeshkp@users.noreply.github.com>2019-01-14 09:37:50 -0500
committeradeshkp <adeshkp@users.noreply.github.com>2019-01-14 09:37:50 -0500
commite36cb43e9fce26b3049919d0ba45e2150f6008e2 (patch)
tree677d602abee695200146c4d51ba8db10146bc38c /netwerk
parent4788f76cb9cd5b61e8994d85cb771101b2cb888e (diff)
downloaduxp-e36cb43e9fce26b3049919d0ba45e2150f6008e2.tar.gz
Make `AllowExperiments` return `false` as it is not useful without telemetry
Diffstat (limited to 'netwerk')
-rw-r--r--netwerk/protocol/http/nsHttpHandler.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/netwerk/protocol/http/nsHttpHandler.h b/netwerk/protocol/http/nsHttpHandler.h
index 983d069afe..f1ec0f947f 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; }