diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js index 9b14825cc237..e0d1035f5392 100644 --- a/browser/app/profile/firefox.js +++ b/browser/app/profile/firefox.js @@ -1479,10 +1479,6 @@ pref("devtools.browserconsole.filter.secwarn", true); // Text size in the Web Console. Use 0 for the system default size. pref("devtools.webconsole.fontSize", 0); -// Number of usages of the web console or scratchpad. -// If this is less than 5, then pasting code into the web console or scratchpad is disabled -pref("devtools.selfxss.count", 0); - // Persistent logging: |true| if you want the Web Console to keep all of the // logged messages after reloading the page, |false| if you want the output to // be cleared each time page navigation happens. diff --git a/browser/branding/aurora/pref/firefox-branding.js b/browser/branding/aurora/pref/firefox-branding.js index d3d9ad7cac3b..1d1f5be78a7f 100644 --- a/browser/branding/aurora/pref/firefox-branding.js +++ b/browser/branding/aurora/pref/firefox-branding.js @@ -33,3 +33,7 @@ pref("browser.search.param.yahoo-fr-ja", "mozff"); #ifdef MOZ_METRO pref("browser.search.param.yahoo-fr-metro", ""); #endif + +// Number of usages of the web console or scratchpad. +// If this is less than 5, then pasting code into the web console or scratchpad is disabled +pref("devtools.selfxss.count", 5); \ No newline at end of file diff --git a/browser/branding/nightly/pref/firefox-branding.js b/browser/branding/nightly/pref/firefox-branding.js index af23d59c7e51..dc889fab9440 100644 --- a/browser/branding/nightly/pref/firefox-branding.js +++ b/browser/branding/nightly/pref/firefox-branding.js @@ -30,3 +30,7 @@ pref("browser.search.param.yahoo-fr-ja", "mozff"); #ifdef MOZ_METRO pref("browser.search.param.yahoo-fr-metro", ""); #endif + +// Number of usages of the web console or scratchpad. +// If this is less than 5, then pasting code into the web console or scratchpad is disabled +pref("devtools.selfxss.count", 5); \ No newline at end of file diff --git a/browser/branding/official/pref/firefox-branding.js b/browser/branding/official/pref/firefox-branding.js index ce2593b4b06d..e7a06b9b3adc 100644 --- a/browser/branding/official/pref/firefox-branding.js +++ b/browser/branding/official/pref/firefox-branding.js @@ -30,3 +30,7 @@ pref("browser.search.param.yahoo-fr-ja", "mozff"); pref("browser.search.param.ms-pc-metro", "MOZW"); pref("browser.search.param.yahoo-fr-metro", "mozilla_metro_search"); #endif + +// Number of usages of the web console or scratchpad. +// If this is less than 5, then pasting code into the web console or scratchpad is disabled +pref("devtools.selfxss.count", 0); \ No newline at end of file diff --git a/browser/branding/unofficial/pref/firefox-branding.js b/browser/branding/unofficial/pref/firefox-branding.js index a37db24f96b9..5787b4fa15cf 100644 --- a/browser/branding/unofficial/pref/firefox-branding.js +++ b/browser/branding/unofficial/pref/firefox-branding.js @@ -29,3 +29,7 @@ pref("browser.search.param.yahoo-fr-ja", "mozff"); #ifdef MOZ_METRO pref("browser.search.param.yahoo-fr-metro", ""); #endif + +// Number of usages of the web console or scratchpad. +// If this is less than 5, then pasting code into the web console or scratchpad is disabled +pref("devtools.selfxss.count", 0); \ No newline at end of file