webapprt/prefs.js

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
michael@0 3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 pref("browser.chromeURL", "chrome://webapprt/content/webapp.xul");
michael@0 6 pref("browser.download.folderList", 1);
michael@0 7
michael@0 8 // Disable all add-on locations other than the profile (which can't be disabled this way)
michael@0 9 pref("extensions.enabledScopes", 1);
michael@0 10 // Auto-disable any add-ons that are "dropped in" to the profile
michael@0 11 pref("extensions.autoDisableScopes", 1);
michael@0 12 // Disable add-on installation via the web-exposed APIs
michael@0 13 pref("xpinstall.enabled", false);
michael@0 14 // Disable installation of distribution add-ons
michael@0 15 pref("extensions.installDistroAddons", false);
michael@0 16 // Disable the add-on compatibility dialog
michael@0 17 pref("extensions.showMismatchUI", false);
michael@0 18
michael@0 19 // Set reportURL for crashes
michael@0 20 pref("breakpad.reportURL", "https://crash-stats.mozilla.com/report/index/");
michael@0 21
michael@0 22 // Blocklist preferences
michael@0 23 pref("extensions.blocklist.enabled", true);
michael@0 24 pref("extensions.blocklist.interval", 86400);
michael@0 25 // Controls what level the blocklist switches from warning about items to forcibly
michael@0 26 // blocking them.
michael@0 27 pref("extensions.blocklist.level", 2);
michael@0 28 pref("extensions.blocklist.url", "https://addons.mozilla.org/blocklist/3/%APP_ID%/%APP_VERSION%/%PRODUCT%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/%PING_COUNT%/%TOTAL_PING_COUNT%/%DAYS_SINCE_LAST_PING%/");
michael@0 29 pref("extensions.blocklist.detailsURL", "https://www.mozilla.com/%LOCALE%/blocklist/");
michael@0 30 pref("extensions.blocklist.itemURL", "https://addons.mozilla.org/%LOCALE%/%APP%/blocked/%blockID%");
michael@0 31
michael@0 32 pref("full-screen-api.enabled", true);
michael@0 33
michael@0 34 // IndexedDB
michael@0 35 pref("dom.indexedDB.enabled", true);
michael@0 36 pref("dom.indexedDB.warningQuota", 50);
michael@0 37
michael@0 38 // Offline cache prefs
michael@0 39 pref("browser.offline-apps.notify", false);
michael@0 40 pref("browser.cache.offline.enable", true);
michael@0 41 pref("offline-apps.allow_by_default", true);
michael@0 42
michael@0 43 // TCPSocket
michael@0 44 pref("dom.mozTCPSocket.enabled", true);
michael@0 45
michael@0 46 // Enable smooth scrolling
michael@0 47 pref("general.smoothScroll", true);
michael@0 48
michael@0 49 // WebPayment
michael@0 50 pref("dom.mozPay.enabled", true);
michael@0 51
michael@0 52 // System messages
michael@0 53 pref("dom.sysmsg.enabled", true);
michael@0 54
michael@0 55 // Alarm API
michael@0 56 pref("dom.mozAlarms.enabled", true);
michael@0 57
michael@0 58 // Disable slow script dialog for apps
michael@0 59 pref("dom.max_script_run_time", 0);
michael@0 60 pref("dom.max_chrome_script_run_time", 0);
michael@0 61
michael@0 62 // The request URL of the GeoLocation backend
michael@0 63 pref("geo.wifi.uri", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
michael@0 64
michael@0 65 #ifndef RELEASE_BUILD
michael@0 66 // Enable mozPay default provider
michael@0 67 pref("dom.payment.provider.0.name", "Firefox Marketplace");
michael@0 68 pref("dom.payment.provider.0.description", "marketplace.firefox.com");
michael@0 69 pref("dom.payment.provider.0.uri", "https://marketplace.firefox.com/mozpay/?req=");
michael@0 70 pref("dom.payment.provider.0.type", "mozilla/payments/pay/v1");
michael@0 71 pref("dom.payment.provider.0.requestMethod", "GET");
michael@0 72 #endif
michael@0 73
michael@0 74 // Enable window resize and move
michael@0 75 pref("dom.always_allow_move_resize_window", true);
michael@0 76
michael@0 77 pref("plugin.allowed_types", "application/x-shockwave-flash,application/futuresplash");
michael@0 78
michael@0 79 pref("devtools.debugger.remote-enabled", true);
michael@0 80 pref("devtools.debugger.force-local", true);
michael@0 81
michael@0 82 // The default for this pref reflects whether the build is capable of IPC.
michael@0 83 // (Turning it on in a no-IPC build will have no effect.)
michael@0 84 #ifdef XP_MACOSX
michael@0 85 // i386 ipc preferences
michael@0 86 pref("dom.ipc.plugins.enabled.i386", false);
michael@0 87 pref("dom.ipc.plugins.enabled.i386.flash player.plugin", true);
michael@0 88 // x86_64 ipc preferences
michael@0 89 pref("dom.ipc.plugins.enabled.x86_64", true);
michael@0 90 #else
michael@0 91 pref("dom.ipc.plugins.enabled", true);
michael@0 92 #endif
michael@0 93
michael@0 94 pref("places.database.growthIncrementKiB", 0);

mercurial