backout 29799f914cab, Bug 917642 - [Helix] Please update the helix blobs
[gecko.git] / webapprt / prefs.js
blob7980104441db235c28ff09a25e270e4cdf86b297
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 file,
3  * You can obtain one at http://mozilla.org/MPL/2.0/. */
5 pref("browser.chromeURL", "chrome://webapprt/content/webapp.xul");
6 pref("browser.download.folderList", 1);
8 // Disable all add-on locations other than the profile (which can't be disabled this way)
9 pref("extensions.enabledScopes", 1);
10 // Auto-disable any add-ons that are "dropped in" to the profile
11 pref("extensions.autoDisableScopes", 1);
12 // Disable add-on installation via the web-exposed APIs
13 pref("xpinstall.enabled", false);
14 // Disable installation of distribution add-ons
15 pref("extensions.installDistroAddons", false);
16 // Disable the add-on compatibility dialog
17 pref("extensions.showMismatchUI", false);
19 // Set reportURL for crashes
20 pref("breakpad.reportURL", "https://crash-stats.mozilla.com/report/index/");
22 // Blocklist preferences
23 pref("extensions.blocklist.enabled", true);
24 pref("extensions.blocklist.interval", 86400);
25 // Controls what level the blocklist switches from warning about items to forcibly
26 // blocking them.
27 pref("extensions.blocklist.level", 2);
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%/");
29 pref("extensions.blocklist.detailsURL", "https://www.mozilla.com/%LOCALE%/blocklist/");
30 pref("extensions.blocklist.itemURL", "https://addons.mozilla.org/%LOCALE%/%APP%/blocked/%blockID%");
32 pref("full-screen-api.enabled", true);
34 // IndexedDB
35 pref("dom.indexedDB.enabled", true);
36 pref("dom.indexedDB.warningQuota", 50);
38 // Offline cache prefs
39 pref("browser.offline-apps.notify", false);
40 pref("browser.cache.offline.enable", true);
41 pref("offline-apps.allow_by_default", true);
43 // TCPSocket
44 pref("dom.mozTCPSocket.enabled", true);
46 // Enable smooth scrolling
47 pref("general.smoothScroll", true);
49 // WebPayment
50 pref("dom.mozPay.enabled", true);
52 #ifndef RELEASE_BUILD
53 // Enable mozPay default provider
54 pref("dom.payment.provider.0.name", "Firefox Marketplace");
55 pref("dom.payment.provider.0.description", "marketplace.firefox.com");
56 pref("dom.payment.provider.0.uri", "https://marketplace.firefox.com/mozpay/?req=");
57 pref("dom.payment.provider.0.type", "mozilla/payments/pay/v1");
58 pref("dom.payment.provider.0.requestMethod", "GET");
59 #endif
61 // Enable window resize and move
62 pref("dom.always_allow_move_resize_window", true);
64 pref("plugin.allowed_types", "application/x-shockwave-flash,application/futuresplash");
66 pref("devtools.debugger.remote-enabled", true);
67 pref("devtools.debugger.force-local", true);
69 // The default for this pref reflects whether the build is capable of IPC.
70 // (Turning it on in a no-IPC build will have no effect.)
71 #ifdef XP_MACOSX
72 // i386 ipc preferences
73 pref("dom.ipc.plugins.enabled.i386", false);
74 pref("dom.ipc.plugins.enabled.i386.flash player.plugin", true);
75 // x86_64 ipc preferences
76 pref("dom.ipc.plugins.enabled.x86_64", true);
77 #else
78 pref("dom.ipc.plugins.enabled", true);
79 #endif