Skip to content

Update Firefox version 69.0.2 to 70.0 #1446

Merged
merged 1 commit into from
Nov 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 31 additions & 3 deletions firefox.be0
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#export BEE_TMP_TMPDIR=/dev/shm BEE_TMP_BUILDROOT=/dev/shm/bee-root BEE_MAKEFLAGS='-j80'

# BEE_VERSION firefox-69.0.2-0
# BEE_VERSION firefox-70.0-0

#https://ftp.mozilla.org/pub/firefox/releases/$pkgversion/SOURCE to find the right download link
SRCURL[0]="https://ftp.mozilla.org/pub/firefox/releases/${PKGVERSION}/source/firefox-${PKGVERSION}.source.tar.xz"
Expand All @@ -19,10 +19,10 @@ mee_configure() {
ac_add_options --enable-application=browser
ac_add_options --disable-necko-wifi
ac_add_options --enable-official-branding
ac_add_options --enable-system-sqlite
ac_add_options --disable-system-sqlite
ac_add_options --enable-system-pixman
ac_add_options --with-system-bz2
ac_add_options --with-system-icu
ac_add_options --without-system-icu
ac_add_options --without-system-nspr
ac_add_options --disable-tests
ac_add_options --enable-optimize
Expand All @@ -37,6 +37,7 @@ mee_configure() {
}

mee_build() {
export CARGO_HOME=$B/.cargo
${S}/mach build
}

Expand Down Expand Up @@ -165,6 +166,33 @@ defaultPref("experiments.activeExperiment", false);
// disable Mozilla permission to silently opt you into tests
defaultPref("network.allow-experiments", false);

/* 0206: disable geographically specific results/search engines e.g. "browser.search.*.US"
* i.e. ignore all of Mozilla's various search engines in multiple locales ***/
defaultPref("browser.search.geoSpecificDefaults", false);
defaultPref("browser.search.geoSpecificDefaults.url", "");

/* 0503: disable Normandy/Shield [FF60+]
* Shield is an telemetry system (including Heartbeat) that can also push and test "recipes"
* [1] https://wiki.mozilla.org/Firefox/Shield
* [2] https://github.com/mozilla/normandy ***/
defaultPref("app.normandy.enabled", false);
defaultPref("app.normandy.api_url", "");

/* 0601: disable link prefetching
* [1] https://developer.mozilla.org/docs/Web/HTTP/Link_prefetching_FAQ ***/
defaultPref("network.prefetch-next", false);
/* 0602: disable DNS prefetching
* [1] https://www.ghacks.net/2013/04/27/firefox-prefetching-what-you-need-to-know/
* [2] https://developer.mozilla.org/docs/Web/HTTP/Headers/X-DNS-Prefetch-Control ***/
defaultPref("network.dns.disablePrefetch", true);
defaultPref("network.dns.disablePrefetchFromHTTPS", true); // [HIDDEN PREF ESR] [DEFAULT: true FF70+]
/* 0603: disable predictor / prefetching ***/
defaultPref("network.predictor.enabled", false);
defaultPref("network.predictor.enable-prefetch", false); // [FF48+]

/* 0320: disable about:addons' Recommendations pane (uses Google Analytics) ***/
defaultPref("extensions.getAddons.showPane", false); // [HIDDEN PREF]

//disable pocket
defaultPref("extensions.pocket.enabled", false);

Expand Down