gecko-dev/modules/libpref
Patrick McManus d1c557fcfe Bug 1361099 - provide a way to map all dns to constant r=valentin
// When non empty all non-localhost DNS queries (including IP addresses)
// resolve to this value. The value can be a name or an IP address.
// domains mapped to localhost with localDomains stay localhost.
pref("network.dns.forceResolve", "");

Testing is the primary use case here - replay captive data on a 'fake
server' by directing all traffic to it at the DNS level. Chrome has
something similar.

MozReview-Commit-ID: 7AOgQZpZKec

--HG--
extra : rebase_source : ad2648a701fffecaae47cbfae17e7aa6badd50ee
2017-05-01 13:51:55 -04:00
..
init Bug 1361099 - provide a way to map all dns to constant r=valentin 2017-05-01 13:51:55 -04:00
test Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Preferences.cpp Bug 1353936 - Use PREF_RegisterPriorityCallback from Add*VarCache. r=froydnj 2017-04-12 00:17:52 +09:00
Preferences.h Bug 1277709 - Make threadsafe reference counting use the minimum memory sychronization needed. r=froydnj 2017-04-04 20:59:20 -07:00
greprefs.js Bug 1337748 - Move security-prefs.js from netwerk/ to security/manager/. r=keeler,mcmanus 2017-02-08 21:16:27 +09:00
moz.build Bug 1353936 - Test to ensure var caches are updated before any other ExactMatch callbacks. r=froydnj 2017-04-08 23:45:10 +09:00
nsIPrefBranch.idl Bug 1355216 - Mark last parameters that are almost always falsy as optional, r=froydnj. 2017-04-12 00:07:30 +02:00
nsIPrefBranch2.idl
nsIPrefBranchInternal.idl
nsIPrefLocalizedString.idl
nsIPrefService.idl
nsIRelativeFilePref.idl
nsPrefBranch.cpp Bug 1354613 - Part 3: Stop mutating the pref branch name when retrieving it. r=froydnj 2017-04-11 14:00:19 -07:00
nsPrefBranch.h Bug 1354613 - Part 3: Stop mutating the pref branch name when retrieving it. r=froydnj 2017-04-11 14:00:19 -07:00
nsPrefsFactory.cpp
prefapi.cpp Bug 1353936 - Implement PREF_RegisterPriorityCallback. r=froydnj 2017-04-12 21:10:57 +09:00
prefapi.h Bug 1353936 - Use PREF_RegisterPriorityCallback from Add*VarCache. r=froydnj 2017-04-12 00:17:52 +09:00
prefapi_private_data.h Bug 1343677 part 1. Add a way to get the current preferences init phase in debug builds. r=billm 2017-03-16 17:43:17 -04:00
prefread.cpp
prefread.h