mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-22 15:17:29 +09:00
Issue #2542 - Part 2b: Fix typo in pref check
This commit is contained in:
parent
8076de8965
commit
8ee9e3bc52
1 changed files with 1 additions and 1 deletions
|
|
@ -282,7 +282,7 @@ void SecFetch::AddSecFetchUser(nsIHttpChannel* aHTTPChannel) {
|
||||||
|
|
||||||
void SecFetch::AddSecFetchHeader(nsIHttpChannel* aHTTPChannel) {
|
void SecFetch::AddSecFetchHeader(nsIHttpChannel* aHTTPChannel) {
|
||||||
// if sec-fetch-* is prefed off, then there is nothing to do
|
// 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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue