diff options
author | Moonchild <moonchild@palemoon.org> | 2021-02-14 16:04:06 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-02-14 16:04:06 +0000 |
commit | 9832adb6f7d898b8df62b6d4430bfff5eac6792d (patch) | |
tree | c6ca07a5a8bb35a6c7af3d76005160ff2137e7a4 /netwerk/protocol/http | |
parent | 4f06d20f8ad2fc6cfb058f8614591b9f60efa799 (diff) | |
download | uxp-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.cpp | 1 |
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); |