Bug 857236 - followup fixing erroneous getBoolPref() call r=gavin

This commit is contained in:
Christian Sonne 2013-05-16 19:14:45 -07:00
parent 125cb1c0c5
commit 9239a70d8b

View File

@ -147,7 +147,7 @@ var gPrivacyPane = {
getTrackingPrefs: function PPP_getTrackingPrefs()
{
// XXX avoid using bindings that might not be attached, see bug 859982
let dntValue = Services.prefs.getBoolPref("privacy.donottrackheader.value"),
let dntValue = Services.prefs.getIntPref("privacy.donottrackheader.value"),
dntEnabled = Services.prefs.getBoolPref("privacy.donottrackheader.enabled");
// if DNT is enbaled, select the value from the selected radio