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

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

Issue 29329014: Issue 3128 - The default search engine is removed if it was one of those removed by issue 3047 (ABB… (Closed)
Patch Set: Created Oct. 9, 2015, 1:22 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 | toolkit/components/search/nsSearchService.js » ('j') | 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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 // 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
260 pref("browser.search.param.maxSuggestions", "4"); 260 pref("browser.search.param.maxSuggestions", "4");
261 // SSL error page behaviour 261 // SSL error page behaviour
262 pref("browser.ssl_override_behavior", 2); 262 pref("browser.ssl_override_behavior", 2);
263 pref("browser.xul.error_pages.expert_bad_cert", false); 263 pref("browser.xul.error_pages.expert_bad_cert", false);
264 264
265 // ordering of search engines in the engine list. 265 // ordering of search engines in the engine list.
266 pref("browser.search.order.1", "chrome://browser/locale/region.properties"); 266 pref("browser.search.order.1", "chrome://browser/locale/region.properties");
267 pref("browser.search.order.2", "chrome://browser/locale/region.properties"); 267 pref("browser.search.order.2", "chrome://browser/locale/region.properties");
268 pref("browser.search.order.3", "chrome://browser/locale/region.properties"); 268 pref("browser.search.order.3", "chrome://browser/locale/region.properties");
269 // Added 4+5 according to https://issues.adblockplus.org/ticket/3128
270 pref("browser.search.order.4", "chrome://browser/locale/region.properties");
271 pref("browser.search.order.5", "chrome://browser/locale/region.properties");
269 272
270 // Market-specific search defaults 273 // Market-specific search defaults
271 // Changed in Adblock Browser, see: https://issues.adblockplus.org/ticket/3003. 274 // Changed in Adblock Browser, see: https://issues.adblockplus.org/ticket/3003.
272 pref("browser.search.geoSpecificDefaults", false); 275 pref("browser.search.geoSpecificDefaults", false);
273 pref("browser.search.geoSpecificDefaults.url", "https://search.services.mozilla. com/1/%APP%/%VERSION%/%CHANNEL%/%LOCALE%/%REGION%/%DISTRIBUTION%/%DISTRIBUTION_V ERSION%"); 276 pref("browser.search.geoSpecificDefaults.url", "https://search.services.mozilla. com/1/%APP%/%VERSION%/%CHANNEL%/%LOCALE%/%REGION%/%DISTRIBUTION%/%DISTRIBUTION_V ERSION%");
274 277
275 // US specific default (used as a fallback if the geoSpecificDefaults request fa ils). 278 // US specific default (used as a fallback if the geoSpecificDefaults request fa ils).
276 pref("browser.search.defaultenginename.US", "chrome://browser/locale/region.prop erties"); 279 pref("browser.search.defaultenginename.US", "chrome://browser/locale/region.prop erties");
277 pref("browser.search.order.US.1", "chrome://browser/locale/region.properties"); 280 pref("browser.search.order.US.1", "chrome://browser/locale/region.properties");
278 pref("browser.search.order.US.2", "chrome://browser/locale/region.properties"); 281 pref("browser.search.order.US.2", "chrome://browser/locale/region.properties");
279 pref("browser.search.order.US.3", "chrome://browser/locale/region.properties"); 282 pref("browser.search.order.US.3", "chrome://browser/locale/region.properties");
283 // Added 4+5 (just in case) according to https://issues.adblockplus.org/ticket/3 128
284 pref("browser.search.order.US.4", "chrome://browser/locale/region.properties");
285 pref("browser.search.order.US.5", "chrome://browser/locale/region.properties");
280 286
281 // disable updating 287 // disable updating
282 pref("browser.search.update", false); 288 pref("browser.search.update", false);
283 289
284 // disable search suggestions by default 290 // disable search suggestions by default
285 pref("browser.search.suggest.enabled", false); 291 pref("browser.search.suggest.enabled", false);
286 pref("browser.search.suggest.prompted", false); 292 pref("browser.search.suggest.prompted", false);
287 293
288 // Tell the search service to load search plugins from the locale JAR 294 // Tell the search service to load search plugins from the locale JAR
289 pref("browser.search.loadFromJars", true); 295 pref("browser.search.loadFromJars", true);
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
904 #ifdef NIGHTLY_BUILD 910 #ifdef NIGHTLY_BUILD
905 pref("dom.serviceWorkers.enabled", true); 911 pref("dom.serviceWorkers.enabled", true);
906 #endif 912 #endif
907 913
908 // Disable sending console to logcat on release builds. 914 // Disable sending console to logcat on release builds.
909 #ifdef RELEASE_BUILD 915 #ifdef RELEASE_BUILD
910 pref("consoleservice.logcat", false); 916 pref("consoleservice.logcat", false);
911 #else 917 #else
912 pref("consoleservice.logcat", true); 918 pref("consoleservice.logcat", true);
913 #endif 919 #endif
OLDNEW
« no previous file with comments | « no previous file | toolkit/components/search/nsSearchService.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld