Bug 648654 - Add user-visible pref for Do Not Track in Fennec [r=mbrubeck]
authorKevin Brosnan <kbrosnan>
Sat, 09 Apr 2011 23:40:00 -0700
changeset 67850 7cf73914be2a26e4fdff3d66608f819250232ea9
parent 67849 31631f4fab615ad9fb18baa97e3426c2e73f629a
child 67851 3aebb305dee58be2747dc523b2f31d3829bad100
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmbrubeck
bugs648654
milestone2.2a1pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 648654 - Add user-visible pref for Do Not Track in Fennec [r=mbrubeck]
mobile/chrome/content/browser.xul
mobile/locales/en-US/chrome/preferences.dtd
--- a/mobile/chrome/content/browser.xul
+++ b/mobile/chrome/content/browser.xul
@@ -456,16 +456,17 @@
                   <setting id="sync-disconnect" class="setting-subgroup" type="control" collapsed="true">
                     <button label="&sync.disconnect;" oncommand="WeaveGlue.disconnect();" />
                   </setting>
                 </settings>
 #endif
                 <settings id="prefs-privacy" label="&privacy.title;">
                   <setting pref="network.cookie.cookieBehavior" title="&allowCookies.title;" type="boolint" on="0" off="2"/>
                   <setting pref="signon.rememberSignons" title="&rememberPasswords.title;" type="bool"/>
+                  <setting pref="privacy.donottrackheader.enabled" title="&doNotTrack.title;" type="bool"/>
                   <setting title="&clearPrivateData2.title;" type="control">
                     <button id="prefs-clear-data" label="&clearPrivateData.button;" command="cmd_sanitize"/>
                   </setting>
                 </settings>
                 <settings id="prefs-content" label="&content.title;">
                   <setting pref="browser.ui.zoom.reflow" title="&reflowZoom.title;" type="bool"/>
                   <setting pref="permissions.default.image" title="&showImages.title;" type="boolint" on="1" off="2"/>
                   <setting pref="javascript.enabled" type="bool" title="&enableJavaScript.title;"/>
--- a/mobile/locales/en-US/chrome/preferences.dtd
+++ b/mobile/locales/en-US/chrome/preferences.dtd
@@ -3,16 +3,17 @@
 <!ENTITY about.button                              "Go to Page">
 <!ENTITY content.title                             "Content">
 <!ENTITY reflowZoom.title                          "Reformat text on zoom">
 <!ENTITY showImages.title                          "Show images">
 <!ENTITY enableJavaScript.title                    "Enable JavaScript">
 <!ENTITY enablePlugins.title                       "Enable Plugins">
 <!ENTITY privacy.title                             "Privacy &amp; Security">
 <!ENTITY allowCookies.title                        "Allow cookies">
+<!ENTITY doNotTrack.title                          "Tell sites not to track me">
 <!ENTITY clearPrivateData2.title                   "Clear private data">
 <!ENTITY clearPrivateData.button                   "Clear">
 <!ENTITY rememberPasswords.title                   "Remember passwords">
 <!ENTITY language.title                            "Language">
 <!ENTITY language.auto                             "Auto-detect">
 <!ENTITY defaultBrowser.title                      "Default Browser">
 <!ENTITY defaultBrowser.description                "Make &brandShortName; your default browser">
 <!ENTITY homepage.title                            "Start page">