Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - network.http.tailing.enabled, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29520
This commit is contained in:
@@ -692,7 +692,7 @@ nsresult FetchDriver::HttpFetch(
|
||||
loadInfo->SetCorsPreflightInfo(unsafeHeaders, false);
|
||||
}
|
||||
|
||||
if (mIsTrackingFetch && nsContentUtils::IsTailingEnabled() && cos) {
|
||||
if (mIsTrackingFetch && StaticPrefs::network_http_tailing_enabled() && cos) {
|
||||
cos->AddClassFlags(nsIClassOfService::Throttleable |
|
||||
nsIClassOfService::Tail);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user