Issue #2542 - Part 2b: Fix typo in pref check

This commit is contained in:
Moonchild 2024-07-03 16:59:39 +02:00 committed by roytam1
commit 8ee9e3bc52

View file

@ -282,7 +282,7 @@ void SecFetch::AddSecFetchUser(nsIHttpChannel* aHTTPChannel) {
void SecFetch::AddSecFetchHeader(nsIHttpChannel* aHTTPChannel) {
// if sec-fetch-* is prefed off, then there is nothing to do
if (Preferences::GetBool("network.http.secfetch.enabled",false)) {
if (!Preferences::GetBool("network.http.secfetch.enabled",false)) {
return;
}