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 | 2ec5a3b89cf2d64cd2dafbcabfdbf38ed3e0a599 (patch) | |
tree | c6ca07a5a8bb35a6c7af3d76005160ff2137e7a4 /netwerk/protocol/http/nsHttpHandler.cpp | |
parent | 9a86abea8403d07f96d5bf29ebd4d0f352e2f982 (diff) | |
download | aura-central-2ec5a3b89cf2d64cd2dafbcabfdbf38ed3e0a599.tar.gz |
Issue mcp-graveyard/UXP%1741 - Add missing prefobserver for general.useragent.* prefs
Resolves %1741
Diffstat (limited to 'netwerk/protocol/http/nsHttpHandler.cpp')
-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 0de572914..0cca87474 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); |