summaryrefslogtreecommitdiff
path: root/netwerk/protocol/http
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-02-14 16:04:06 +0000
committerMoonchild <moonchild@palemoon.org>2021-02-14 16:04:06 +0000
commit9832adb6f7d898b8df62b6d4430bfff5eac6792d (patch)
treec6ca07a5a8bb35a6c7af3d76005160ff2137e7a4 /netwerk/protocol/http
parent4f06d20f8ad2fc6cfb058f8614591b9f60efa799 (diff)
downloaduxp-9832adb6f7d898b8df62b6d4430bfff5eac6792d.tar.gz
Issue #1741 - Add missing prefobserver for general.useragent.* prefs
Resolves #1741
Diffstat (limited to 'netwerk/protocol/http')
-rw-r--r--netwerk/protocol/http/nsHttpHandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/netwerk/protocol/http/nsHttpHandler.cpp b/netwerk/protocol/http/nsHttpHandler.cpp
index 0de572914c..0cca87474b 100644
--- a/netwerk/protocol/http/nsHttpHandler.cpp
+++ b/netwerk/protocol/http/nsHttpHandler.cpp
@@ -280,6 +280,7 @@ nsHttpHandler::Init()
if (prefBranch) {
prefBranch->AddObserver(HTTP_PREF_PREFIX, this, true);
prefBranch->AddObserver(UA_PREF_PREFIX, this, true);
+ prefBranch->AddObserver(GENERAL_UA_PREF_PREFIX, this, true);
prefBranch->AddObserver(INTL_ACCEPT_LANGUAGES, this, true);
prefBranch->AddObserver(BROWSER_PREF("disk_cache_ssl"), this, true);
prefBranch->AddObserver(DONOTTRACK_HEADER_ENABLED, this, true);