Backed out 3 changesets (bug 1900561, bug 1919158) for causing bustages at ipc_message_utils.h. CLOSED TREE
Backed out changeset a2a4a88ef8d1 (bug 1919158) Backed out changeset ecb590690d2e (bug 1900561) Backed out changeset ef92a69ff2d1 (bug 1900561)
This commit is contained in:
@@ -855,16 +855,12 @@ nsresult FetchDriver::HttpFetch(
|
||||
nsIClassOfService::Tail);
|
||||
}
|
||||
|
||||
const auto fetchPriority = ToFetchPriority(mRequest->GetPriorityMode());
|
||||
if (cos) {
|
||||
cos->SetFetchPriorityDOM(fetchPriority);
|
||||
}
|
||||
|
||||
if (nsCOMPtr<nsISupportsPriority> p = do_QueryInterface(chan)) {
|
||||
if (mIsTrackingFetch &&
|
||||
StaticPrefs::privacy_trackingprotection_lower_network_priority()) {
|
||||
p->SetPriority(nsISupportsPriority::PRIORITY_LOWEST);
|
||||
} else if (StaticPrefs::network_fetchpriority_enabled()) {
|
||||
const auto fetchPriority = ToFetchPriority(mRequest->GetPriorityMode());
|
||||
// According to step 15 of https://fetch.spec.whatwg.org/#concept-fetch
|
||||
// request’s priority, initiator, destination, and render-blocking are
|
||||
// used in an implementation-defined manner to set the internal priority.
|
||||
|
||||
Reference in New Issue
Block a user