Left: | ||
Right: |
OLD | NEW |
---|---|
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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
94 pref("network.http.max-persistent-connections-per-proxy", 20); | 94 pref("network.http.max-persistent-connections-per-proxy", 20); |
95 | 95 |
96 // spdy | 96 // spdy |
97 pref("network.http.spdy.push-allowance", 32768); | 97 pref("network.http.spdy.push-allowance", 32768); |
98 | 98 |
99 // See bug 545869 for details on why these are set the way they are | 99 // See bug 545869 for details on why these are set the way they are |
100 pref("network.buffer.cache.count", 24); | 100 pref("network.buffer.cache.count", 24); |
101 pref("network.buffer.cache.size", 16384); | 101 pref("network.buffer.cache.size", 16384); |
102 | 102 |
103 // predictive actions | 103 // predictive actions |
104 pref("network.predictor.enabled", false); | 104 pref("network.predictor.enabled", true); |
Felix Dahlke
2015/07/22 16:19:18
I wonder if we actually want this. How I understan
| |
105 pref("network.predictor.max-db-size", 2097152); // bytes | 105 pref("network.predictor.max-db-size", 2097152); // bytes |
106 pref("network.predictor.preserve", 50); // percentage of predictor data to keep when cleaning up | 106 pref("network.predictor.preserve", 50); // percentage of predictor data to keep when cleaning up |
107 | 107 |
108 /* history max results display */ | 108 /* history max results display */ |
109 pref("browser.display.history.maxresults", 100); | 109 pref("browser.display.history.maxresults", 100); |
110 | 110 |
111 /* How many times should have passed before the remote tabs list is refreshed */ | 111 /* How many times should have passed before the remote tabs list is refreshed */ |
112 pref("browser.display.remotetabs.timeout", 10); | 112 pref("browser.display.remotetabs.timeout", 10); |
113 | 113 |
114 /* session history */ | 114 /* session history */ |
115 pref("browser.sessionhistory.max_total_viewers", 1); | 115 pref("browser.sessionhistory.max_total_viewers", 1); |
116 pref("browser.sessionhistory.max_entries", 50); | 116 pref("browser.sessionhistory.max_entries", 50); |
117 pref("browser.sessionhistory.contentViewerTimeout", 360); | 117 pref("browser.sessionhistory.contentViewerTimeout", 360); |
118 | 118 |
119 /* session store */ | 119 /* session store */ |
120 pref("browser.sessionstore.resume_session_once", false); | 120 pref("browser.sessionstore.resume_session_once", false); |
121 pref("browser.sessionstore.resume_from_crash", true); | 121 pref("browser.sessionstore.resume_from_crash", true); |
122 pref("browser.sessionstore.interval", 10000); // milliseconds | 122 pref("browser.sessionstore.interval", 10000); // milliseconds |
123 pref("browser.sessionstore.max_tabs_undo", 5); | 123 pref("browser.sessionstore.max_tabs_undo", 5); |
124 pref("browser.sessionstore.max_resumed_crashes", 1); | 124 pref("browser.sessionstore.max_resumed_crashes", 1); |
125 pref("browser.sessionstore.recent_crashes", 0); | 125 pref("browser.sessionstore.recent_crashes", 0); |
126 pref("browser.sessionstore.privacy_level", 0); // saving data: 0 = all, 1 = unen crypted sites, 2 = never | |
126 | 127 |
127 /* these should help performance */ | 128 /* these should help performance */ |
128 pref("mozilla.widget.force-24bpp", true); | 129 pref("mozilla.widget.force-24bpp", true); |
129 pref("mozilla.widget.use-buffer-pixmap", true); | 130 pref("mozilla.widget.use-buffer-pixmap", true); |
130 pref("mozilla.widget.disable-native-theme", true); | 131 pref("mozilla.widget.disable-native-theme", true); |
131 pref("layout.reflow.synthMouseMove", false); | 132 pref("layout.reflow.synthMouseMove", false); |
132 pref("layout.css.report_errors", false); | 133 pref("layout.css.report_errors", false); |
133 | 134 |
134 /* download manager (don't show the window or alert) */ | 135 /* download manager (don't show the window or alert) */ |
135 pref("browser.download.useDownloadDir", true); | 136 pref("browser.download.useDownloadDir", true); |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
169 /* new html5 forms */ | 170 /* new html5 forms */ |
170 pref("dom.experimental_forms", true); | 171 pref("dom.experimental_forms", true); |
171 pref("dom.forms.number", true); | 172 pref("dom.forms.number", true); |
172 | 173 |
173 /* extension manager and xpinstall */ | 174 /* extension manager and xpinstall */ |
174 pref("xpinstall.whitelist.directRequest", false); | 175 pref("xpinstall.whitelist.directRequest", false); |
175 pref("xpinstall.whitelist.fileRequest", false); | 176 pref("xpinstall.whitelist.fileRequest", false); |
176 pref("xpinstall.whitelist.add", "addons.mozilla.org"); | 177 pref("xpinstall.whitelist.add", "addons.mozilla.org"); |
177 pref("xpinstall.whitelist.add.180", "marketplace.firefox.com"); | 178 pref("xpinstall.whitelist.add.180", "marketplace.firefox.com"); |
178 | 179 |
179 pref("extensions.enabledScopes", 4); | 180 pref("extensions.enabledScopes", 1); |
Felix Dahlke
2015/07/22 16:19:18
Needs to be 4, but you already fixed that in a lat
| |
180 pref("extensions.autoupdate.enabled", true); | 181 pref("extensions.autoupdate.enabled", true); |
181 pref("extensions.autoupdate.interval", 86400); | 182 pref("extensions.autoupdate.interval", 86400); |
182 pref("extensions.update.enabled", false); | 183 pref("extensions.update.enabled", false); |
183 pref("extensions.update.interval", 86400); | 184 pref("extensions.update.interval", 86400); |
184 pref("extensions.dss.enabled", false); | 185 pref("extensions.dss.enabled", false); |
185 pref("extensions.dss.switchPending", false); | 186 pref("extensions.dss.switchPending", false); |
186 pref("extensions.ignoreMTimeChanges", false); | 187 pref("extensions.ignoreMTimeChanges", false); |
187 pref("extensions.logging.enabled", false); | 188 pref("extensions.logging.enabled", false); |
188 pref("extensions.hideInstallButton", true); | 189 pref("extensions.hideInstallButton", true); |
189 pref("extensions.showMismatchUI", false); | 190 pref("extensions.showMismatchUI", false); |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
297 #endif | 298 #endif |
298 | 299 |
299 // Enable sparse localization by setting a few package locale overrides | 300 // Enable sparse localization by setting a few package locale overrides |
300 pref("chrome.override_package.global", "browser"); | 301 pref("chrome.override_package.global", "browser"); |
301 pref("chrome.override_package.mozapps", "browser"); | 302 pref("chrome.override_package.mozapps", "browser"); |
302 pref("chrome.override_package.passwordmgr", "browser"); | 303 pref("chrome.override_package.passwordmgr", "browser"); |
303 | 304 |
304 // enable xul error pages | 305 // enable xul error pages |
305 pref("browser.xul.error_pages.enabled", true); | 306 pref("browser.xul.error_pages.enabled", true); |
306 | 307 |
307 pref("browser.history.grouping", "day"); | |
308 pref("browser.history.showSessions", false); | |
309 pref("browser.sessionhistory.max_entries", 50); | |
310 pref("browser.history_expire_sites", 40000); | |
311 | |
312 // disable color management | 308 // disable color management |
313 pref("gfx.color_management.mode", 0); | 309 pref("gfx.color_management.mode", 0); |
314 | 310 |
315 // 0=fixed margin, 1=velocity bias, 2=dynamic resolution, 3=no margins, 4=predic tion bias | 311 // 0=fixed margin, 1=velocity bias, 2=dynamic resolution, 3=no margins, 4=predic tion bias |
316 pref("gfx.displayport.strategy", 1); | 312 pref("gfx.displayport.strategy", 1); |
317 | 313 |
318 // all of the following displayport strategy prefs will be divided by 1000 | 314 // all of the following displayport strategy prefs will be divided by 1000 |
319 // to obtain some multiplier which is then used in the strategy. | 315 // to obtain some multiplier which is then used in the strategy. |
320 // fixed margin strategy options | 316 // fixed margin strategy options |
321 pref("gfx.displayport.strategy_fm.multiplier", -1); // displayport dimension mul tiplier | 317 pref("gfx.displayport.strategy_fm.multiplier", -1); // displayport dimension mul tiplier |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
395 | 391 |
396 pref("dom.max_chrome_script_run_time", 0); // disable slow script dialog for chr ome | 392 pref("dom.max_chrome_script_run_time", 0); // disable slow script dialog for chr ome |
397 pref("dom.max_script_run_time", 20); | 393 pref("dom.max_script_run_time", 20); |
398 | 394 |
399 // JS error console | 395 // JS error console |
400 pref("devtools.errorconsole.enabled", false); | 396 pref("devtools.errorconsole.enabled", false); |
401 // Absolute path to the devtools unix domain socket file used | 397 // Absolute path to the devtools unix domain socket file used |
402 // to communicate with a usb cable via adb forward. | 398 // to communicate with a usb cable via adb forward. |
403 pref("devtools.debugger.unix-domain-socket", "/data/data/@ANDROID_PACKAGE_NAME@/ firefox-debugger-socket"); | 399 pref("devtools.debugger.unix-domain-socket", "/data/data/@ANDROID_PACKAGE_NAME@/ firefox-debugger-socket"); |
404 | 400 |
405 pref("font.size.inflation.minTwips", 120); | 401 pref("font.size.inflation.minTwips", 0); |
406 | 402 |
407 // When true, zooming will be enabled on all sites, even ones that declare user- scalable=no. | 403 // When true, zooming will be enabled on all sites, even ones that declare user- scalable=no. |
408 pref("browser.ui.zoom.force-user-scalable", false); | 404 pref("browser.ui.zoom.force-user-scalable", false); |
409 | 405 |
406 pref("ui.zoomedview.enabled", false); | |
407 pref("ui.zoomedview.limitReadableSize", 8); // value in layer pixels | |
408 | |
410 pref("ui.touch.radius.enabled", false); | 409 pref("ui.touch.radius.enabled", false); |
411 pref("ui.touch.radius.leftmm", 3); | 410 pref("ui.touch.radius.leftmm", 3); |
412 pref("ui.touch.radius.topmm", 5); | 411 pref("ui.touch.radius.topmm", 5); |
413 pref("ui.touch.radius.rightmm", 3); | 412 pref("ui.touch.radius.rightmm", 3); |
414 pref("ui.touch.radius.bottommm", 2); | 413 pref("ui.touch.radius.bottommm", 2); |
415 pref("ui.touch.radius.visitedWeight", 120); | 414 pref("ui.touch.radius.visitedWeight", 120); |
416 | 415 |
417 pref("ui.mouse.radius.enabled", true); | 416 pref("ui.mouse.radius.enabled", true); |
418 pref("ui.mouse.radius.leftmm", 3); | 417 pref("ui.mouse.radius.leftmm", 3); |
419 pref("ui.mouse.radius.topmm", 5); | 418 pref("ui.mouse.radius.topmm", 5); |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
537 pref("layers.low-precision-buffer", true); | 536 pref("layers.low-precision-buffer", true); |
538 pref("layers.low-precision-resolution", "0.25"); | 537 pref("layers.low-precision-resolution", "0.25"); |
539 pref("layers.low-precision-opacity", "1.0"); | 538 pref("layers.low-precision-opacity", "1.0"); |
540 // We want to limit layers for two reasons: | 539 // We want to limit layers for two reasons: |
541 // 1) We can't scroll smoothly if we have to many draw calls | 540 // 1) We can't scroll smoothly if we have to many draw calls |
542 // 2) Pages that have too many layers consume too much memory and crash. | 541 // 2) Pages that have too many layers consume too much memory and crash. |
543 // By limiting the number of layers on mobile we're making the main thread | 542 // By limiting the number of layers on mobile we're making the main thread |
544 // work harder keep scrolling smooth and memory low. | 543 // work harder keep scrolling smooth and memory low. |
545 pref("layers.max-active", 20); | 544 pref("layers.max-active", 20); |
546 | 545 |
546 // Temporarily disable support for offsetX/Y to work around Google Maps bug | |
547 // (bug 1150284) | |
548 pref("dom.mouseEvent.offsetXY.enabled", false); | |
549 | |
547 pref("notification.feature.enabled", true); | 550 pref("notification.feature.enabled", true); |
548 pref("dom.webnotifications.enabled", true); | 551 pref("dom.webnotifications.enabled", true); |
549 | 552 |
550 // prevent tooltips from showing up | 553 // prevent tooltips from showing up |
551 pref("browser.chrome.toolbar_tips", false); | 554 pref("browser.chrome.toolbar_tips", false); |
552 pref("dom.indexedDB.warningQuota", 5); | |
553 | 555 |
554 // prevent video elements from preloading too much data | 556 // prevent video elements from preloading too much data |
555 pref("media.preload.default", 1); // default to preload none | 557 pref("media.preload.default", 1); // default to preload none |
556 pref("media.preload.auto", 2); // preload metadata if preload=auto | 558 pref("media.preload.auto", 2); // preload metadata if preload=auto |
557 pref("media.cache_size", 32768); // 32MB media cache | 559 pref("media.cache_size", 32768); // 32MB media cache |
558 // Try to save battery by not resuming reading from a connection until we fall | 560 // Try to save battery by not resuming reading from a connection until we fall |
559 // below 10s of buffered data. | 561 // below 10s of buffered data. |
560 pref("media.cache_resume_threshold", 10); | 562 pref("media.cache_resume_threshold", 10); |
561 pref("media.cache_readahead_limit", 30); | 563 pref("media.cache_readahead_limit", 30); |
562 | 564 |
563 // Number of video frames we buffer while decoding video. | 565 // Number of video frames we buffer while decoding video. |
564 // On Android this is decided by a similar value which varies for | 566 // On Android this is decided by a similar value which varies for |
565 // each OMX decoder |OMX_PARAM_PORTDEFINITIONTYPE::nBufferCountMin|. This | 567 // each OMX decoder |OMX_PARAM_PORTDEFINITIONTYPE::nBufferCountMin|. This |
566 // number must be less than the OMX equivalent or gecko will think it is | 568 // number must be less than the OMX equivalent or gecko will think it is |
567 // chronically starved of video frames. All decoders seen so far have a value | 569 // chronically starved of video frames. All decoders seen so far have a value |
568 // of at least 4. | 570 // of at least 4. |
569 pref("media.video-queue.default-size", 3); | 571 pref("media.video-queue.default-size", 3); |
570 | 572 |
571 // Enable the MediaCodec PlatformDecoderModule by default. | 573 // Enable the MediaCodec PlatformDecoderModule by default. |
572 pref("media.fragmented-mp4.exposed", true); | 574 pref("media.fragmented-mp4.exposed", true); |
573 pref("media.fragmented-mp4.enabled", true); | 575 pref("media.fragmented-mp4.enabled", true); |
574 pref("media.fragmented-mp4.android-media-codec.enabled", true); | 576 pref("media.fragmented-mp4.android-media-codec.enabled", true); |
575 pref("media.fragmented-mp4.android-media-codec.preferred", true); | 577 pref("media.fragmented-mp4.android-media-codec.preferred", true); |
576 | 578 |
577 // optimize images memory usage | 579 // optimize images memory usage |
578 pref("image.mem.decodeondraw", false); | 580 pref("image.decode-only-on-draw.enabled", true); |
579 | 581 |
580 #ifdef NIGHTLY_BUILD | 582 #ifdef NIGHTLY_BUILD |
581 // Shumway component (SWF player) is disabled by default. Also see bug 904346. | 583 // Shumway component (SWF player) is disabled by default. Also see bug 904346. |
582 pref("shumway.disabled", true); | 584 pref("shumway.disabled", true); |
583 #endif | 585 #endif |
584 | 586 |
585 // enable touch events interfaces | 587 // enable touch events interfaces |
586 pref("dom.w3c_touch_events.enabled", 1); | 588 pref("dom.w3c_touch_events.enabled", 1); |
587 | 589 |
588 #ifdef MOZ_SAFE_BROWSING | 590 #ifdef MOZ_SAFE_BROWSING |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
702 // Transmit UDP busy-work to the LAN when anticipating low latency | 704 // Transmit UDP busy-work to the LAN when anticipating low latency |
703 // network reads and on wifi to mitigate 802.11 Power Save Polling delays | 705 // network reads and on wifi to mitigate 802.11 Power Save Polling delays |
704 pref("network.tickle-wifi.enabled", true); | 706 pref("network.tickle-wifi.enabled", true); |
705 | 707 |
706 // Mobile manages state by autodetection | 708 // Mobile manages state by autodetection |
707 pref("network.manage-offline-status", true); | 709 pref("network.manage-offline-status", true); |
708 | 710 |
709 // increase the timeout clamp for background tabs to 15 minutes | 711 // increase the timeout clamp for background tabs to 15 minutes |
710 pref("dom.min_background_timeout_value", 900000); | 712 pref("dom.min_background_timeout_value", 900000); |
711 | 713 |
712 // The default state of reader mode works on loaded a page. | |
713 pref("reader.parse-on-load.enabled", true); | |
714 | |
715 // Force to enable reader mode to parse on loaded a page. | |
716 // Allow reader mode even on low-memory platforms | |
717 pref("reader.parse-on-load.force-enabled", false); | |
718 | |
719 // The default of font size in reader (1-5) | |
720 pref("reader.font_size", 3); | |
721 | |
722 // The default color scheme in reader (light, dark, sepia, auto) | |
723 // auto = color automatically adjusts according to ambient light level | |
724 pref("reader.color_scheme", "auto"); | |
725 | |
726 // The font type in reader (sans-serif, serif) | |
727 pref("reader.font_type", "sans-serif"); | |
728 | |
729 // Used to show a first-launch tip in reader | |
730 pref("reader.has_used_toolbar", false); | |
731 | |
732 // Media plugins for libstagefright playback on android | 714 // Media plugins for libstagefright playback on android |
733 pref("media.plugins.enabled", true); | 715 pref("media.plugins.enabled", true); |
734 | 716 |
735 // Stagefright's OMXCodec::CreationFlags. The interesting flag values are: | 717 // Stagefright's OMXCodec::CreationFlags. The interesting flag values are: |
736 // 0 = Let Stagefright choose hardware or software decoding (default) | 718 // 0 = Let Stagefright choose hardware or software decoding (default) |
737 // 8 = Force software decoding | 719 // 8 = Force software decoding |
738 // 16 = Force hardware decoding | 720 // 16 = Force hardware decoding |
739 pref("media.stagefright.omxcodec.flags", 0); | 721 pref("media.stagefright.omxcodec.flags", 0); |
740 | 722 |
741 // Coalesce touch events to prevent them from flooding the event queue | 723 // Coalesce touch events to prevent them from flooding the event queue |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
781 pref("browser.contentHandlers.types.2.title", "chrome://browser/locale/region.pr operties"); | 763 pref("browser.contentHandlers.types.2.title", "chrome://browser/locale/region.pr operties"); |
782 pref("browser.contentHandlers.types.2.uri", "chrome://browser/locale/region.prop erties"); | 764 pref("browser.contentHandlers.types.2.uri", "chrome://browser/locale/region.prop erties"); |
783 pref("browser.contentHandlers.types.2.type", "application/vnd.mozilla.maybe.feed "); | 765 pref("browser.contentHandlers.types.2.type", "application/vnd.mozilla.maybe.feed "); |
784 pref("browser.contentHandlers.types.3.title", "chrome://browser/locale/region.pr operties"); | 766 pref("browser.contentHandlers.types.3.title", "chrome://browser/locale/region.pr operties"); |
785 pref("browser.contentHandlers.types.3.uri", "chrome://browser/locale/region.prop erties"); | 767 pref("browser.contentHandlers.types.3.uri", "chrome://browser/locale/region.prop erties"); |
786 pref("browser.contentHandlers.types.3.type", "application/vnd.mozilla.maybe.feed "); | 768 pref("browser.contentHandlers.types.3.type", "application/vnd.mozilla.maybe.feed "); |
787 | 769 |
788 // WebPayment | 770 // WebPayment |
789 pref("dom.mozPay.enabled", true); | 771 pref("dom.mozPay.enabled", true); |
790 | 772 |
791 #ifndef RELEASE_BUILD | |
792 pref("dom.payment.provider.0.name", "Firefox Marketplace"); | 773 pref("dom.payment.provider.0.name", "Firefox Marketplace"); |
793 pref("dom.payment.provider.0.description", "marketplace.firefox.com"); | 774 pref("dom.payment.provider.0.description", "marketplace.firefox.com"); |
794 pref("dom.payment.provider.0.uri", "https://marketplace.firefox.com/mozpay/?req= "); | 775 pref("dom.payment.provider.0.uri", "https://marketplace.firefox.com/mozpay/?req= "); |
795 pref("dom.payment.provider.0.type", "mozilla/payments/pay/v1"); | 776 pref("dom.payment.provider.0.type", "mozilla/payments/pay/v1"); |
796 pref("dom.payment.provider.0.requestMethod", "GET"); | 777 pref("dom.payment.provider.0.requestMethod", "GET"); |
797 #endif | |
798 | 778 |
799 // Shortnumber matching needed for e.g. Brazil: | 779 // Shortnumber matching needed for e.g. Brazil: |
800 // 01187654321 can be found with 87654321 | 780 // 01187654321 can be found with 87654321 |
801 pref("dom.phonenumber.substringmatching.BR", 8); | 781 pref("dom.phonenumber.substringmatching.BR", 8); |
802 pref("dom.phonenumber.substringmatching.CO", 10); | 782 pref("dom.phonenumber.substringmatching.CO", 10); |
803 pref("dom.phonenumber.substringmatching.VE", 7); | 783 pref("dom.phonenumber.substringmatching.VE", 7); |
804 | 784 |
805 // Support for the mozAudioChannel attribute on media elements is disabled in no n-webapps | 785 // Support for the mozAudioChannel attribute on media elements is disabled in no n-webapps |
806 pref("media.useAudioChannelService", false); | 786 pref("media.useAudioChannelService", false); |
807 | 787 |
(...skipping 16 matching lines...) Expand all Loading... | |
824 | 804 |
825 // How frequently we check for new snippets, in seconds (1 day) | 805 // How frequently we check for new snippets, in seconds (1 day) |
826 pref("browser.snippets.updateInterval", 86400); | 806 pref("browser.snippets.updateInterval", 86400); |
827 | 807 |
828 // URL used to check for user's country code | 808 // URL used to check for user's country code |
829 pref("browser.snippets.geoUrl", "https://geo.mozilla.org/country.json"); | 809 pref("browser.snippets.geoUrl", "https://geo.mozilla.org/country.json"); |
830 | 810 |
831 // URL used to ping metrics with stats about which snippets have been shown | 811 // URL used to ping metrics with stats about which snippets have been shown |
832 pref("browser.snippets.statsUrl", "https://snippets-stats.mozilla.org/mobile"); | 812 pref("browser.snippets.statsUrl", "https://snippets-stats.mozilla.org/mobile"); |
833 | 813 |
834 // These prefs require a restart to take effect. | 814 // These prefs require a restart to take effect. |
René Jeschke
2015/07/20 17:16:02
Yes, we probably want to change those three to 'fa
| |
835 pref("browser.snippets.enabled", false); | 815 pref("browser.snippets.enabled", true); |
836 pref("browser.snippets.syncPromo.enabled", false); | 816 pref("browser.snippets.syncPromo.enabled", true); |
837 pref("browser.snippets.firstrunHomepage.enabled", false); | 817 pref("browser.snippets.firstrunHomepage.enabled", true); |
838 | 818 |
839 // The URL of the APK factory from which we obtain APKs for webapps. | 819 // The URL of the APK factory from which we obtain APKs for webapps. |
840 pref("browser.webapps.apkFactoryUrl", "https://controller.apk.firefox.com/applic ation.apk"); | 820 pref("browser.webapps.apkFactoryUrl", "https://controller.apk.firefox.com/applic ation.apk"); |
841 | 821 |
842 // How frequently to check for webapp updates, in seconds (86400 is daily). | 822 // How frequently to check for webapp updates, in seconds (86400 is daily). |
843 pref("browser.webapps.updateInterval", 86400); | 823 pref("browser.webapps.updateInterval", 86400); |
844 | 824 |
845 // Whether or not to check for updates. Enabled by default, but the runtime | 825 // Whether or not to check for updates. Enabled by default, but the runtime |
846 // disables it for webapp profiles on firstrun, so only the main Fennec process | 826 // disables it for webapp profiles on firstrun, so only the main Fennec process |
847 // checks for updates (to avoid duplicate update notifications). | 827 // checks for updates (to avoid duplicate update notifications). |
(...skipping 23 matching lines...) Expand all Loading... | |
871 // Enable device storage API | 851 // Enable device storage API |
872 pref("device.storage.enabled", true); | 852 pref("device.storage.enabled", true); |
873 | 853 |
874 // Enable meta-viewport support for font inflation code | 854 // Enable meta-viewport support for font inflation code |
875 pref("dom.meta-viewport.enabled", true); | 855 pref("dom.meta-viewport.enabled", true); |
876 | 856 |
877 // Enable GMP support in the addon manager. | 857 // Enable GMP support in the addon manager. |
878 pref("media.gmp-provider.enabled", true); | 858 pref("media.gmp-provider.enabled", true); |
879 | 859 |
880 // Suppress the first run page of Adblock Plus in Adblock Browser. | 860 // Suppress the first run page of Adblock Plus in Adblock Browser. |
881 pref("extensions.adblockplus.preconfigured.suppress_first_run_page", true); | 861 pref("extensions.adblockplus.preconfigured.suppress_first_run_page", true); |
Felix Dahlke
2015/07/22 16:19:18
Since this one has nothing to do with Firefox, we
| |
862 | |
863 // The default color scheme in reader mode (light, dark, auto) | |
864 // auto = color automatically adjusts according to ambient light level | |
865 // (auto only works on platforms where the 'devicelight' event is enabled) | |
866 pref("reader.color_scheme", "auto"); | |
867 | |
868 // Color scheme values available in reader mode UI. | |
869 pref("reader.color_scheme.values", "[\"dark\",\"auto\",\"light\"]"); | |
870 | |
871 // Whether to use a vertical or horizontal toolbar. | |
872 pref("reader.toolbar.vertical", false); | |
873 | |
874 // Whether or not to display buttons related to reading list in reader view. | |
875 pref("browser.readinglist.enabled", true); | |
876 | |
877 // Disable sending console to logcat on release builds. | |
878 #ifdef RELEASE_BUILD | |
879 pref("consoleservice.logcat", false); | |
880 #else | |
881 pref("consoleservice.logcat", true); | |
882 #endif | |
OLD | NEW |