From 6335404642a019df481275f4f290ea76b4d8f597 Mon Sep 17 00:00:00 2001 From: adeshkp Date: Mon, 14 Jan 2019 09:37:50 -0500 Subject: Make `AllowExperiments` return `false` as it is not useful without telemetry --- netwerk/protocol/http/nsHttpHandler.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'netwerk/protocol') 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; } -- cgit v1.2.3