diff options
author | Moonchild <moonchild@palemoon.org> | 2021-02-15 06:26:33 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-02-15 06:26:33 +0000 |
commit | 8c8156742e1b9a2173b3001b211785729844309a (patch) | |
tree | a68a6abdb441ee4ba5974e22018c5bcda335d1a8 | |
parent | 2ec5a3b89cf2d64cd2dafbcabfdbf38ed3e0a599 (diff) | |
download | aura-central-8c8156742e1b9a2173b3001b211785729844309a.tar.gz |
Issue mcp-graveyard/UXP%1741 - Follow-up: Remove superfluous prefobserver
This one is no longer necessary (and incorrect) after the changes made in %1684
-rw-r--r-- | netwerk/protocol/http/nsHttpHandler.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/netwerk/protocol/http/nsHttpHandler.cpp b/netwerk/protocol/http/nsHttpHandler.cpp index 0cca87474..e6443173a 100644 --- a/netwerk/protocol/http/nsHttpHandler.cpp +++ b/netwerk/protocol/http/nsHttpHandler.cpp @@ -279,7 +279,6 @@ nsHttpHandler::Init() nsCOMPtr<nsIPrefBranch> prefBranch = do_GetService(NS_PREFSERVICE_CONTRACTID); 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); |