From a8a28d45374bffc6330e9ad2f901f2fb50f98abf Mon Sep 17 00:00:00 2001 From: adeshkp Date: Mon, 14 Jan 2019 09:37:50 -0500 Subject: [PATCH] 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 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; }