Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: mobile/android/app/mobile.js

Issue 29326174: Issue 3036 - Back out changes from #3003 (Closed)
Patch Set: Created Sept. 9, 2015, 12:57 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* This Source Code Form is subject to the terms of the Mozilla Public 1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 4
5 #filter substitution 5 #filter substitution
6 6
7 // For browser.xml binding 7 // For browser.xml binding
8 // 8 //
9 // cacheRatio* is a ratio that determines the amount of pixels to cache. The 9 // cacheRatio* is a ratio that determines the amount of pixels to cache. The
10 // ratio is multiplied by the viewport width or height to get the displayport's 10 // ratio is multiplied by the viewport width or height to get the displayport's
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 pref("accessibility.typeaheadfind.flashBar", 1); 248 pref("accessibility.typeaheadfind.flashBar", 1);
249 pref("accessibility.typeaheadfind.linksonly", false); 249 pref("accessibility.typeaheadfind.linksonly", false);
250 pref("accessibility.typeaheadfind.casesensitive", 0); 250 pref("accessibility.typeaheadfind.casesensitive", 0);
251 pref("accessibility.browsewithcaret_shortcut.enabled", false); 251 pref("accessibility.browsewithcaret_shortcut.enabled", false);
252 252
253 // Whether the character encoding menu is under the main Firefox button. This 253 // Whether the character encoding menu is under the main Firefox button. This
254 // preference is a string so that localizers can alter it. 254 // preference is a string so that localizers can alter it.
255 pref("browser.menu.showCharacterEncoding", "chrome://browser/locale/browser.prop erties"); 255 pref("browser.menu.showCharacterEncoding", "chrome://browser/locale/browser.prop erties");
256 256
257 // pointer to the default engine name 257 // pointer to the default engine name
258 // Changed in Adblock Browser, see: https://issues.adblockplus.org/ticket/3003. 258 pref("browser.search.defaultenginename", "chrome://browser/locale/region.propert ies");
259 pref("browser.search.defaultenginename", "data:text/plain,browser.search.default enginename=DuckDuckGo");
260 // maximum number of search suggestions, as a string because the search service expects a string pref 259 // maximum number of search suggestions, as a string because the search service expects a string pref
261 pref("browser.search.param.maxSuggestions", "4"); 260 pref("browser.search.param.maxSuggestions", "4");
262 // SSL error page behaviour 261 // SSL error page behaviour
263 pref("browser.ssl_override_behavior", 2); 262 pref("browser.ssl_override_behavior", 2);
264 pref("browser.xul.error_pages.expert_bad_cert", false); 263 pref("browser.xul.error_pages.expert_bad_cert", false);
265 264
266 // ordering of search engines in the engine list. 265 // ordering of search engines in the engine list.
267 // Changed in Adblock Browser, see: https://issues.adblockplus.org/ticket/3003. 266 pref("browser.search.order.1", "chrome://browser/locale/region.properties");
268 pref("browser.search.order.1", "data:text/plain,browser.search.order.1=DuckDuckG o"); 267 pref("browser.search.order.2", "chrome://browser/locale/region.properties");
269 pref("browser.search.order.2", "data:text/plain,browser.search.order.2=Google"); 268 pref("browser.search.order.3", "chrome://browser/locale/region.properties");
270 pref("browser.search.order.3", "data:text/plain,browser.search.order.3=Yahoo");
271 269
272 // Market-specific search defaults 270 // Market-specific search defaults
273 // Changed in Adblock Browser, see: https://issues.adblockplus.org/ticket/3003. 271 // Changed in Adblock Browser, see: https://issues.adblockplus.org/ticket/3003.
274 pref("browser.search.geoSpecificDefaults", false); 272 pref("browser.search.geoSpecificDefaults", false);
275 pref("browser.search.geoSpecificDefaults.url", "https://search.services.mozilla. com/1/%APP%/%VERSION%/%CHANNEL%/%LOCALE%/%REGION%/%DISTRIBUTION%/%DISTRIBUTION_V ERSION%"); 273 pref("browser.search.geoSpecificDefaults.url", "https://search.services.mozilla. com/1/%APP%/%VERSION%/%CHANNEL%/%LOCALE%/%REGION%/%DISTRIBUTION%/%DISTRIBUTION_V ERSION%");
276 274
277 // US specific default (used as a fallback if the geoSpecificDefaults request fa ils). 275 // US specific default (used as a fallback if the geoSpecificDefaults request fa ils).
278 // Changed in Adblock Browser, see: https://issues.adblockplus.org/ticket/3003. 276 pref("browser.search.defaultenginename.US", "chrome://browser/locale/region.prop erties");
279 pref("browser.search.defaultenginename.US", "data:text/plain,browser.search.defa ultenginename.US=DuckDuckGo"); 277 pref("browser.search.order.US.1", "chrome://browser/locale/region.properties");
280 pref("browser.search.order.US.1", "data:text/plain,browser.search.order.US.1=Duc kDuckGo"); 278 pref("browser.search.order.US.2", "chrome://browser/locale/region.properties");
281 pref("browser.search.order.US.2", "data:text/plain,browser.search.order.US.2=Goo gle"); 279 pref("browser.search.order.US.3", "chrome://browser/locale/region.properties");
282 pref("browser.search.order.US.3", "data:text/plain,browser.search.order.US.3=Yah oo");
283 280
284 // disable updating 281 // disable updating
285 pref("browser.search.update", false); 282 pref("browser.search.update", false);
286 283
287 // disable search suggestions by default 284 // disable search suggestions by default
288 pref("browser.search.suggest.enabled", false); 285 pref("browser.search.suggest.enabled", false);
289 pref("browser.search.suggest.prompted", false); 286 pref("browser.search.suggest.prompted", false);
290 287
291 // Tell the search service to load search plugins from the locale JAR 288 // Tell the search service to load search plugins from the locale JAR
292 pref("browser.search.loadFromJars", true); 289 pref("browser.search.loadFromJars", true);
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 #ifdef NIGHTLY_BUILD 904 #ifdef NIGHTLY_BUILD
908 pref("dom.serviceWorkers.enabled", true); 905 pref("dom.serviceWorkers.enabled", true);
909 #endif 906 #endif
910 907
911 // Disable sending console to logcat on release builds. 908 // Disable sending console to logcat on release builds.
912 #ifdef RELEASE_BUILD 909 #ifdef RELEASE_BUILD
913 pref("consoleservice.logcat", false); 910 pref("consoleservice.logcat", false);
914 #else 911 #else
915 pref("consoleservice.logcat", true); 912 pref("consoleservice.logcat", true);
916 #endif 913 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld