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:
Butkovits Atila
2024-09-24 18:58:08 +03:00
parent 6b44c7c10b
commit e6ce34045f
13 changed files with 35 additions and 117 deletions

View File

@@ -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
// requests priority, initiator, destination, and render-blocking are
// used in an implementation-defined manner to set the internal priority.