webapprt/prefs.js

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

     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 // System messages
    53 pref("dom.sysmsg.enabled", true);
    55 // Alarm API
    56 pref("dom.mozAlarms.enabled", true);
    58 // Disable slow script dialog for apps
    59 pref("dom.max_script_run_time", 0);
    60 pref("dom.max_chrome_script_run_time", 0);
    62 // The request URL of the GeoLocation backend
    63 pref("geo.wifi.uri", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
    65 #ifndef RELEASE_BUILD
    66 // Enable mozPay default provider
    67 pref("dom.payment.provider.0.name", "Firefox Marketplace");
    68 pref("dom.payment.provider.0.description", "marketplace.firefox.com");
    69 pref("dom.payment.provider.0.uri", "https://marketplace.firefox.com/mozpay/?req=");
    70 pref("dom.payment.provider.0.type", "mozilla/payments/pay/v1");
    71 pref("dom.payment.provider.0.requestMethod", "GET");
    72 #endif
    74 // Enable window resize and move
    75 pref("dom.always_allow_move_resize_window", true);
    77 pref("plugin.allowed_types", "application/x-shockwave-flash,application/futuresplash");
    79 pref("devtools.debugger.remote-enabled", true);
    80 pref("devtools.debugger.force-local", true);
    82 // The default for this pref reflects whether the build is capable of IPC.
    83 // (Turning it on in a no-IPC build will have no effect.)
    84 #ifdef XP_MACOSX
    85 // i386 ipc preferences
    86 pref("dom.ipc.plugins.enabled.i386", false);
    87 pref("dom.ipc.plugins.enabled.i386.flash player.plugin", true);
    88 // x86_64 ipc preferences
    89 pref("dom.ipc.plugins.enabled.x86_64", true);
    90 #else
    91 pref("dom.ipc.plugins.enabled", true);
    92 #endif
    94 pref("places.database.growthIncrementKiB", 0);

mercurial