From b88b2d254f382cdfafc790938819665091742ee1 Mon Sep 17 00:00:00 2001 From: jbeich Date: Tue, 6 Mar 2018 00:56:50 +0000 Subject: [PATCH] www/firefox: update to 60.0 - Drop libv4l support to reduce maintenance Changes: https://www.mozilla.org/firefox/60.0/releasenotes/ PR: 226476 Tested by: tobik Security: 5aefc41e-d304-4ec8-8c82-824f84f08244 MFH: 2018Q2 --- Mk/Uses/gecko.mk | 4 +- Mk/bsd.gecko.mk | 2 +- www/firefox-i18n/Makefile | 4 +- www/firefox-i18n/Makefile.lang | 5 +- www/firefox-i18n/Makefile.option | 2 + www/firefox-i18n/distinfo | 392 ++++++------ www/firefox/Makefile | 24 +- www/firefox/distinfo | 6 +- www/firefox/files/patch-bug1021761 | 6 +- www/firefox/files/patch-bug1418162 | 58 ++ www/firefox/files/patch-bug1433747 | 24 - www/firefox/files/patch-bug1438678 | 1000 +++++++++++++++++++++++++++++ www/firefox/files/patch-bug1442791 | 33 + www/firefox/files/patch-bug1444083 | 17 - www/firefox/files/patch-bug1448189 | 40 ++ www/firefox/files/patch-bug826985 | 171 ----- www/firefox/files/patch-z-bug1436911 | 1162 ++++++++++++++++++++++++++++++++++ www/firefox/files/patch-z-bug517422 | 24 +- 18 files changed, 2530 insertions(+), 444 deletions(-) create mode 100644 www/firefox/files/patch-bug1418162 delete mode 100644 www/firefox/files/patch-bug1433747 create mode 100644 www/firefox/files/patch-bug1438678 create mode 100644 www/firefox/files/patch-bug1442791 delete mode 100644 www/firefox/files/patch-bug1444083 create mode 100644 www/firefox/files/patch-bug1448189 delete mode 100644 www/firefox/files/patch-bug826985 create mode 100644 www/firefox/files/patch-z-bug1436911 diff --git a/Mk/Uses/gecko.mk b/Mk/Uses/gecko.mk index d07d0a07c4fe..9df59c251201 100644 --- a/Mk/Uses/gecko.mk +++ b/Mk/Uses/gecko.mk @@ -37,12 +37,12 @@ RUN_DEPENDS+= libxul>=45:www/libxul .elif ${gecko_ARGS:Mfirefox} _GECKO_DEFAULT_VERSION= 52 -_GECKO_VERSIONS= 52 59 +_GECKO_VERSIONS= 52 60 _GECKO_TYPE= firefox # Dependence lines for different Firefox versions 52_DEPENDS= ${LOCALBASE}/lib/firefox/firefox:www/firefox-esr -59_DEPENDS= ${LOCALBASE}/lib/firefox/firefox:www/firefox +60_DEPENDS= ${LOCALBASE}/lib/firefox/firefox:www/firefox .if exists(${LOCALBASE}/bin/firefox) _GECKO_INSTALLED_VER!= ${LOCALBASE}/bin/firefox --version 2>/dev/null diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk index 555135a7e7b4..b4c33ff5e8be 100644 --- a/Mk/bsd.gecko.mk +++ b/Mk/bsd.gecko.mk @@ -379,7 +379,7 @@ post-patch-SNDIO-on: .endif .if ${PORT_OPTIONS:MRUST} || ${MOZILLA_VER:R:R} >= 54 -BUILD_DEPENDS+= ${RUST_PORT:T}>=1.22.1:${RUST_PORT} +BUILD_DEPENDS+= ${RUST_PORT:T}>=1.24:${RUST_PORT} RUST_PORT?= lang/rust . if ${MOZILLA_VER:R:R} < 54 MOZ_OPTIONS+= --enable-rust diff --git a/www/firefox-i18n/Makefile b/www/firefox-i18n/Makefile index 276564d29a09..89d74fea2a68 100644 --- a/www/firefox-i18n/Makefile +++ b/www/firefox-i18n/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= firefox-i18n -PORTVERSION= 59.0.2 +PORTVERSION= 60.0b6 CATEGORIES= www MASTER_SITES= MOZILLA/${PORTNAME:S|-i18n||}/releases/${DISTVERSION}/linux-i686/xpi \ MOZILLA/${PORTNAME:S|-i18n||}/candidates/${DISTVERSION}-candidates/build1/linux-i686/xpi @@ -15,7 +15,7 @@ COMMENT= Localized interface for Firefox EXTRACT_DEPENDS= zip:archivers/zip -USES= zip:infozip gecko:firefox,59,build +USES= zip:infozip gecko:firefox,60,build USE_XPI= firefox NO_ARCH= yes diff --git a/www/firefox-i18n/Makefile.lang b/www/firefox-i18n/Makefile.lang index a73f94452926..25b432860d28 100644 --- a/www/firefox-i18n/Makefile.lang +++ b/www/firefox-i18n/Makefile.lang @@ -6,7 +6,7 @@ FIREFOX_I18N_ALL_= ach af an ar as ast az be bg bn-BD bn-IN br bs ca cak \ es-ES es-MX et eu fa ff fi fr fy-NL ga-IE gd gl gn \ gu-IN he hi-IN hr hsb hu hy-AM ia id is it ja ka kab \ kk km kn ko lij lt lv mai mk ml mr ms my nb-NO ne-NP nl \ - nn-NO or pa-IN pl pt-BR pt-PT rm ro ru si sk sl son \ + nn-NO oc or pa-IN pl pt-BR pt-PT rm ro ru si sk sl son \ sq sr sv-SE ta te th tr uk ur uz vi xh zh-CN zh-TW .if defined(FIREFOX_I18N_ALL) || defined(PACKAGE_BUILDING) || target(package) @@ -225,6 +225,9 @@ FIREFOX_I18N+= nl .if ${PORT_OPTIONS:MLANG_NN} FIREFOX_I18N+= nn-NO .endif +.if ${PORT_OPTIONS:MLANG_OC} +FIREFOX_I18N+= oc +.endif .if ${PORT_OPTIONS:MLANG_OR} FIREFOX_I18N+= or .endif diff --git a/www/firefox-i18n/Makefile.option b/www/firefox-i18n/Makefile.option index 082aa76465ba..49e0d6f4adc6 100644 --- a/www/firefox-i18n/Makefile.option +++ b/www/firefox-i18n/Makefile.option @@ -73,6 +73,7 @@ OPTIONS_DEFINE= LANG_ACH \ LANG_NE \ LANG_NL \ LANG_NN \ + LANG_OC \ LANG_OR \ LANG_PA \ LANG_PL \ @@ -122,6 +123,7 @@ LANG_LIJ_DESC?= Ligurian (Genoa) language support LANG_MS_DESC?= Malay language support LANG_MY_DESC?= Burmese language support LANG_NE_DESC?= Nepali language support +LANG_OC_DESC?= Occitan (lengadocian) language support LANG_SW_DESC?= Swahili language support LANG_UR_DESC?= Urdu (Pakistan) language support LANG_UZ_DESC?= Uzbek language support diff --git a/www/firefox-i18n/distinfo b/www/firefox-i18n/distinfo index 1fa30bf8439f..12543ee747c2 100644 --- a/www/firefox-i18n/distinfo +++ b/www/firefox-i18n/distinfo @@ -1,195 +1,197 @@ -TIMESTAMP = 1521751601 -SHA256 (xpi/firefox-i18n-59.0.2/ach.xpi) = d4fd5f94e6463049826f854f66589984854042c997f977049d4f8a990698eb53 -SIZE (xpi/firefox-i18n-59.0.2/ach.xpi) = 439227 -SHA256 (xpi/firefox-i18n-59.0.2/af.xpi) = faca2b8efbef96c1f8362ba5b7f0b39ed76fce2e77028abfc9c1ecad4fc95ac6 -SIZE (xpi/firefox-i18n-59.0.2/af.xpi) = 436731 -SHA256 (xpi/firefox-i18n-59.0.2/an.xpi) = e39ea62741370620936c43c84adc34eb63618108633b2840909ec9365588d76b -SIZE (xpi/firefox-i18n-59.0.2/an.xpi) = 463405 -SHA256 (xpi/firefox-i18n-59.0.2/ar.xpi) = 732cf91f7e5f8c21798ccf5ed7647afd7a3d64147393da23d6d5df97409685d3 -SIZE (xpi/firefox-i18n-59.0.2/ar.xpi) = 486633 -SHA256 (xpi/firefox-i18n-59.0.2/as.xpi) = a862f49f7045e8a10411007486401f134c38e3a0fce9f6f3331bf18783f1541c -SIZE (xpi/firefox-i18n-59.0.2/as.xpi) = 483301 -SHA256 (xpi/firefox-i18n-59.0.2/ast.xpi) = 43cb3a6e8aea1f876722508a6ed1c456fd313c129a93b0d49827d37752b320be -SIZE (xpi/firefox-i18n-59.0.2/ast.xpi) = 454343 -SHA256 (xpi/firefox-i18n-59.0.2/az.xpi) = 7f09f746bb2afcb8d82c76e3919607b7fc2f8a6c7ac65221134d2b713f610493 -SIZE (xpi/firefox-i18n-59.0.2/az.xpi) = 464270 -SHA256 (xpi/firefox-i18n-59.0.2/be.xpi) = 0c9d0500a9f85997334283a015528b2a2a3c86dbd604571206a5522d01811802 -SIZE (xpi/firefox-i18n-59.0.2/be.xpi) = 517059 -SHA256 (xpi/firefox-i18n-59.0.2/bg.xpi) = 6ce855064e22750088cd09d61fd3d77cd3a2cd2b286e8603df9d02386dd4985d -SIZE (xpi/firefox-i18n-59.0.2/bg.xpi) = 508613 -SHA256 (xpi/firefox-i18n-59.0.2/bn-BD.xpi) = 860f9e8d7a7c7e8c35acde03a35f9f94182bd4172e0cfebc43d09a5057f54265 -SIZE (xpi/firefox-i18n-59.0.2/bn-BD.xpi) = 526352 -SHA256 (xpi/firefox-i18n-59.0.2/bn-IN.xpi) = 11cc8e9eeabb0171125939ff050fe736581df2957fa96fc54ba0f5c5c6f91e12 -SIZE (xpi/firefox-i18n-59.0.2/bn-IN.xpi) = 510797 -SHA256 (xpi/firefox-i18n-59.0.2/br.xpi) = 0d5068e3ac9293da71a2bfc3566e6cbe52273741cc9e82d5514b7334a6ed0e4c -SIZE (xpi/firefox-i18n-59.0.2/br.xpi) = 451719 -SHA256 (xpi/firefox-i18n-59.0.2/bs.xpi) = 291a4f8e85977a8eb93ab52ae7caa857caf7998f1c561baa534ab8a3958411c6 -SIZE (xpi/firefox-i18n-59.0.2/bs.xpi) = 457859 -SHA256 (xpi/firefox-i18n-59.0.2/ca.xpi) = 5cbec24877869340fd52eab4af21acdb0e30a298ad9e9d97b899a5a0223be1c4 -SIZE (xpi/firefox-i18n-59.0.2/ca.xpi) = 464912 -SHA256 (xpi/firefox-i18n-59.0.2/cak.xpi) = 935960adb4cd204153f1790397ce3b8793151a6d9b1f5bf38630b7a274b36bfe -SIZE (xpi/firefox-i18n-59.0.2/cak.xpi) = 475234 -SHA256 (xpi/firefox-i18n-59.0.2/cs.xpi) = 266664866deaff544d47ffb90ada91c0d270fb563a1ef67baad86c175d88b606 -SIZE (xpi/firefox-i18n-59.0.2/cs.xpi) = 471575 -SHA256 (xpi/firefox-i18n-59.0.2/cy.xpi) = 73ed7ec234a6e197688ec0fd7809d3bf24d6f6f6f8aad9e47bb10bc600d8918b -SIZE (xpi/firefox-i18n-59.0.2/cy.xpi) = 454433 -SHA256 (xpi/firefox-i18n-59.0.2/da.xpi) = db17d7492e07c2c825572353a1407242180e0b53d399b48579d5f1e53ec8d11e -SIZE (xpi/firefox-i18n-59.0.2/da.xpi) = 446948 -SHA256 (xpi/firefox-i18n-59.0.2/de.xpi) = 4e02cf24936162334435ecf99a9b1abefeebda06b34a75e527c6328502c1fcff -SIZE (xpi/firefox-i18n-59.0.2/de.xpi) = 466272 -SHA256 (xpi/firefox-i18n-59.0.2/dsb.xpi) = 91ef3e6bac7be38155e5f957756f21761bf548a2216e2588721bf59a10792f14 -SIZE (xpi/firefox-i18n-59.0.2/dsb.xpi) = 478974 -SHA256 (xpi/firefox-i18n-59.0.2/el.xpi) = c3457ea19f44ebbd2bcf34403c19d483edee46bdf2fa2de3ad78bb7ee2510f62 -SIZE (xpi/firefox-i18n-59.0.2/el.xpi) = 531408 -SHA256 (xpi/firefox-i18n-59.0.2/en-GB.xpi) = 4920efb507cfee37e39b705b5bda6b1716eb491274f9df5be505e2a65c4d8fd7 -SIZE (xpi/firefox-i18n-59.0.2/en-GB.xpi) = 434300 -SHA256 (xpi/firefox-i18n-59.0.2/en-US.xpi) = c2b1533bb3c2b75c60662225017795905a2f3f28989d6098bdd7b6757ae3bff7 -SIZE (xpi/firefox-i18n-59.0.2/en-US.xpi) = 432749 -SHA256 (xpi/firefox-i18n-59.0.2/en-ZA.xpi) = d3655db524f7eaee1f6c735efe1697bc183776adb85edaaa4b93bfdaf8861924 -SIZE (xpi/firefox-i18n-59.0.2/en-ZA.xpi) = 427365 -SHA256 (xpi/firefox-i18n-59.0.2/eo.xpi) = ca5d2cfd209a5c90521fe4fb014c1d3835b4bf11fd74f9e3c30ec57ada7e4655 -SIZE (xpi/firefox-i18n-59.0.2/eo.xpi) = 453366 -SHA256 (xpi/firefox-i18n-59.0.2/es-AR.xpi) = 9322e35d7dac234c334a9b65347344b4ec47df1bd415d0c715ff310edcae3aea -SIZE (xpi/firefox-i18n-59.0.2/es-AR.xpi) = 461797 -SHA256 (xpi/firefox-i18n-59.0.2/es-CL.xpi) = 28b312de9234e3654ef5105777d195c6dcbd58107978407b4ff69ebabc75d4bc -SIZE (xpi/firefox-i18n-59.0.2/es-CL.xpi) = 464654 -SHA256 (xpi/firefox-i18n-59.0.2/es-ES.xpi) = 3bf4c6c0de74e5eb1202f5dd6cea420b38b1210289f4d8ed78d54095e9241846 -SIZE (xpi/firefox-i18n-59.0.2/es-ES.xpi) = 348463 -SHA256 (xpi/firefox-i18n-59.0.2/es-MX.xpi) = 065e7bb9c94c38eb7d18f674a51076c6356e9c201ab647bc8a9f88d6bc24b934 -SIZE (xpi/firefox-i18n-59.0.2/es-MX.xpi) = 466313 -SHA256 (xpi/firefox-i18n-59.0.2/et.xpi) = f19a1382ee7616d9c0bad256ec10b7dab3c4b5c2395f6cb306f242eb8ce99eb5 -SIZE (xpi/firefox-i18n-59.0.2/et.xpi) = 445394 -SHA256 (xpi/firefox-i18n-59.0.2/eu.xpi) = b28fd08c3a6f923e4cd469ecf8ba58e6a323a754733f13144716e31ef86d002e -SIZE (xpi/firefox-i18n-59.0.2/eu.xpi) = 455236 -SHA256 (xpi/firefox-i18n-59.0.2/fa.xpi) = 0cecfc780e5d5fd00e9bdba9b4b23b1c5da34b520636417cd7636a679bbc50f4 -SIZE (xpi/firefox-i18n-59.0.2/fa.xpi) = 508098 -SHA256 (xpi/firefox-i18n-59.0.2/ff.xpi) = 74ae886495cc10e62cf64eb6d0a90111e79a90f95fe365402b19c1c0d0dc8a7a -SIZE (xpi/firefox-i18n-59.0.2/ff.xpi) = 455027 -SHA256 (xpi/firefox-i18n-59.0.2/fi.xpi) = a3a0291633b412eedd3e93e1e6726b74d181203a4c057a8a31db0981f2abd449 -SIZE (xpi/firefox-i18n-59.0.2/fi.xpi) = 445182 -SHA256 (xpi/firefox-i18n-59.0.2/fr.xpi) = 17bfbbe27944608489b08a3abfa414cce964eecd03b9c341f29d5f125062298d -SIZE (xpi/firefox-i18n-59.0.2/fr.xpi) = 473593 -SHA256 (xpi/firefox-i18n-59.0.2/fy-NL.xpi) = 61cdf4a594632ad0ae2f4cc224b61c3822b81784f6145f9632461f4f596f4b34 -SIZE (xpi/firefox-i18n-59.0.2/fy-NL.xpi) = 462918 -SHA256 (xpi/firefox-i18n-59.0.2/ga-IE.xpi) = cbfcfb995c91ca794714a881cd12701d01ae3830ff518477c4b1235380052de1 -SIZE (xpi/firefox-i18n-59.0.2/ga-IE.xpi) = 471909 -SHA256 (xpi/firefox-i18n-59.0.2/gd.xpi) = 65f578cf7a0c58592d75b7f85c2a3b1c847810ffc623ae3bdc6f8517d8e33c41 -SIZE (xpi/firefox-i18n-59.0.2/gd.xpi) = 461297 -SHA256 (xpi/firefox-i18n-59.0.2/gl.xpi) = 9a3e6621a25ba77291bc3e78f539680eb679929d810d8ff51cbb4db21f4622bb -SIZE (xpi/firefox-i18n-59.0.2/gl.xpi) = 441615 -SHA256 (xpi/firefox-i18n-59.0.2/gn.xpi) = 3f44a6af5e7d75e283514e0a73f1a30a2e35865086bcfb4f47a76cc957f8265d -SIZE (xpi/firefox-i18n-59.0.2/gn.xpi) = 469397 -SHA256 (xpi/firefox-i18n-59.0.2/gu-IN.xpi) = 105229e5f047d917f277c13d72ee50e981c92cecd8a342608c15245b28d4d303 -SIZE (xpi/firefox-i18n-59.0.2/gu-IN.xpi) = 521804 -SHA256 (xpi/firefox-i18n-59.0.2/he.xpi) = a1a5744ce47eaa193278f697a5bf267cccd01777d8e4d7c7433bd7bfe1ddd132 -SIZE (xpi/firefox-i18n-59.0.2/he.xpi) = 472771 -SHA256 (xpi/firefox-i18n-59.0.2/hi-IN.xpi) = b51b0aac6319414c1a49858f180949a07c999c866c63e619818505727ebca52d -SIZE (xpi/firefox-i18n-59.0.2/hi-IN.xpi) = 524279 -SHA256 (xpi/firefox-i18n-59.0.2/hr.xpi) = bde5da8ad592142500f36757d3327129a6343dc52fb7c63b4edb1138b290ac80 -SIZE (xpi/firefox-i18n-59.0.2/hr.xpi) = 459978 -SHA256 (xpi/firefox-i18n-59.0.2/hsb.xpi) = 84354abb5b8d735061284a8357dbf80ad0ab4d49618af82074d6b8cd7990339a -SIZE (xpi/firefox-i18n-59.0.2/hsb.xpi) = 475940 -SHA256 (xpi/firefox-i18n-59.0.2/hu.xpi) = a8c1ceb1fdd231acd78d91a67b79f4a0932842322b76a5cb6e495c8901b83823 -SIZE (xpi/firefox-i18n-59.0.2/hu.xpi) = 476896 -SHA256 (xpi/firefox-i18n-59.0.2/hy-AM.xpi) = afbcfa2bb1f5201a832978eb3ec66ac779107606ee21e7ed21b118887e982a70 -SIZE (xpi/firefox-i18n-59.0.2/hy-AM.xpi) = 508167 -SHA256 (xpi/firefox-i18n-59.0.2/ia.xpi) = 8272d2de413ef02c0ae56633c1814004d4b33893853e2914c01cdd46c9427c32 -SIZE (xpi/firefox-i18n-59.0.2/ia.xpi) = 448829 -SHA256 (xpi/firefox-i18n-59.0.2/id.xpi) = 083e9ed9646f3dcf558e44b65ddd9fd56bdcf8fe19c35e81de20fb5132854589 -SIZE (xpi/firefox-i18n-59.0.2/id.xpi) = 441952 -SHA256 (xpi/firefox-i18n-59.0.2/is.xpi) = 091504efc4de1c554bde2d11e4d547deb03355384776594fb794a818c0b09dd5 -SIZE (xpi/firefox-i18n-59.0.2/is.xpi) = 451373 -SHA256 (xpi/firefox-i18n-59.0.2/it.xpi) = aa5807fbc05cccb0ff71504b7669908744aa61d8e6080fc8a0ccdec015d43f3e -SIZE (xpi/firefox-i18n-59.0.2/it.xpi) = 342524 -SHA256 (xpi/firefox-i18n-59.0.2/ja.xpi) = eb713392349af7ed2383b59463554ee0b2ded2a4f8b5292de5481c056f271bc2 -SIZE (xpi/firefox-i18n-59.0.2/ja.xpi) = 508148 -SHA256 (xpi/firefox-i18n-59.0.2/ka.xpi) = 7cc0bfa96e5a2b5203c78a123cf293f9150bf080cb901a97991658047902bacd -SIZE (xpi/firefox-i18n-59.0.2/ka.xpi) = 492569 -SHA256 (xpi/firefox-i18n-59.0.2/kab.xpi) = f1ba41b49e0ff467b549d406d5554235251d75b91eca0eac193172eeb4a8c5ef -SIZE (xpi/firefox-i18n-59.0.2/kab.xpi) = 461840 -SHA256 (xpi/firefox-i18n-59.0.2/kk.xpi) = ecddec11fcc909fb2bc520da8b4ffe573fde85a29f25b4c4ea72e15d014ebba3 -SIZE (xpi/firefox-i18n-59.0.2/kk.xpi) = 517583 -SHA256 (xpi/firefox-i18n-59.0.2/km.xpi) = d70ef8dad857d4f7b99d508495b3f717d6a27d7b2aa96788c51af4d5e875cd7e -SIZE (xpi/firefox-i18n-59.0.2/km.xpi) = 526359 -SHA256 (xpi/firefox-i18n-59.0.2/kn.xpi) = 7cadd99b0d23cf4f673ef76c0a5beab1ca6a4e9f41b686ca23c752aa2570c794 -SIZE (xpi/firefox-i18n-59.0.2/kn.xpi) = 527879 -SHA256 (xpi/firefox-i18n-59.0.2/ko.xpi) = f7e418dbb3b98023b080814c52bf2bed020b764420084158161c1cc68baab87b -SIZE (xpi/firefox-i18n-59.0.2/ko.xpi) = 487661 -SHA256 (xpi/firefox-i18n-59.0.2/lij.xpi) = d47c2eb90d25be6fbc4f2880659902713495c7cfdfd31cf3d23166e584061dbd -SIZE (xpi/firefox-i18n-59.0.2/lij.xpi) = 446606 -SHA256 (xpi/firefox-i18n-59.0.2/lt.xpi) = e6620d3f8b4a8e479d45bf572e3897be1edc0493735fa599c86abfe8d32bdcba -SIZE (xpi/firefox-i18n-59.0.2/lt.xpi) = 475142 -SHA256 (xpi/firefox-i18n-59.0.2/lv.xpi) = 2a549953373041fa8e36ae40ad913cbadd7af5a08555c5c6dc60459aedae2987 -SIZE (xpi/firefox-i18n-59.0.2/lv.xpi) = 463655 -SHA256 (xpi/firefox-i18n-59.0.2/mai.xpi) = 6903c60c5eccd3e3ba29315aae1406b48841b9396be3927899d6bce6955546b9 -SIZE (xpi/firefox-i18n-59.0.2/mai.xpi) = 499910 -SHA256 (xpi/firefox-i18n-59.0.2/mk.xpi) = f5e80c52b4474f88460329cf8642287a96c7dd61bd03f70d5acb3cac0e25ec4f -SIZE (xpi/firefox-i18n-59.0.2/mk.xpi) = 484076 -SHA256 (xpi/firefox-i18n-59.0.2/ml.xpi) = 29a1db58dce400dd16fb13cd424bdba0f097d9eee2e2e701f8acc0366bc7e473 -SIZE (xpi/firefox-i18n-59.0.2/ml.xpi) = 539735 -SHA256 (xpi/firefox-i18n-59.0.2/mr.xpi) = a4be8ab4e2417c4056c92146a549afe8665071ba777d4252669c67c9ed6f242b -SIZE (xpi/firefox-i18n-59.0.2/mr.xpi) = 517961 -SHA256 (xpi/firefox-i18n-59.0.2/ms.xpi) = 354f738c0df3f4568c52cd70f4b0c59bea2764fef283a0d552b9d209dbf6c3f4 -SIZE (xpi/firefox-i18n-59.0.2/ms.xpi) = 450075 -SHA256 (xpi/firefox-i18n-59.0.2/my.xpi) = 97ade42f8ec1ac2c698e1777ce10a1c4abadef1e2987a3da4df50c64fe1ba758 -SIZE (xpi/firefox-i18n-59.0.2/my.xpi) = 511894 -SHA256 (xpi/firefox-i18n-59.0.2/nb-NO.xpi) = 9f45d75e5ad7fa288b3794661ba2eeba2eb857c11d6bd200324ee1c2188a5467 -SIZE (xpi/firefox-i18n-59.0.2/nb-NO.xpi) = 450276 -SHA256 (xpi/firefox-i18n-59.0.2/ne-NP.xpi) = 023e578ee98db7f1549011b600430a5800e89b75d8ef172719041fba4ecca633 -SIZE (xpi/firefox-i18n-59.0.2/ne-NP.xpi) = 509177 -SHA256 (xpi/firefox-i18n-59.0.2/nl.xpi) = 65384c5e4d3f36257f6f0793f311be4a50333ec67fff877a1aac01b9c403868f -SIZE (xpi/firefox-i18n-59.0.2/nl.xpi) = 458128 -SHA256 (xpi/firefox-i18n-59.0.2/nn-NO.xpi) = d583ae5e1ec6dff31adc76bd243db1c05c390adb7e757bb3be823370141d6e81 -SIZE (xpi/firefox-i18n-59.0.2/nn-NO.xpi) = 451470 -SHA256 (xpi/firefox-i18n-59.0.2/or.xpi) = 64bead2c33ccc197348ecdaeae4bc2b16d947e2d17fa3e83fff9eece9fdc3109 -SIZE (xpi/firefox-i18n-59.0.2/or.xpi) = 493181 -SHA256 (xpi/firefox-i18n-59.0.2/pa-IN.xpi) = 504d8e4a3e3c485ab03fce76636de738dd3bd5ab75e5c52bebbe74634972686e -SIZE (xpi/firefox-i18n-59.0.2/pa-IN.xpi) = 492420 -SHA256 (xpi/firefox-i18n-59.0.2/pl.xpi) = e34d92a38abdd251bf110b64c3c2bbf70ddefdc3d32ef50a6545dd3d8c8022e6 -SIZE (xpi/firefox-i18n-59.0.2/pl.xpi) = 358511 -SHA256 (xpi/firefox-i18n-59.0.2/pt-BR.xpi) = cd0e1e1fb5063fd9a82940506777fd5a9447df36f46f604026b1a4987e65b8e4 -SIZE (xpi/firefox-i18n-59.0.2/pt-BR.xpi) = 455916 -SHA256 (xpi/firefox-i18n-59.0.2/pt-PT.xpi) = ab480af25495f57649c19cf54668bab1e209b60d07654907e13010b26503506a -SIZE (xpi/firefox-i18n-59.0.2/pt-PT.xpi) = 459331 -SHA256 (xpi/firefox-i18n-59.0.2/rm.xpi) = bd4918a2b0ce184da481fde4d6030991096defd8486a49deec07ccd94dd11990 -SIZE (xpi/firefox-i18n-59.0.2/rm.xpi) = 449757 -SHA256 (xpi/firefox-i18n-59.0.2/ro.xpi) = cd6ff4632e846c0d982faccbda31ee379dc002c16a11e119de1b35543bb9f912 -SIZE (xpi/firefox-i18n-59.0.2/ro.xpi) = 453403 -SHA256 (xpi/firefox-i18n-59.0.2/ru.xpi) = 2554a16e953fe70e923778fac94aff135cec1dc83177b8d01c3062a27da3b8d6 -SIZE (xpi/firefox-i18n-59.0.2/ru.xpi) = 526523 -SHA256 (xpi/firefox-i18n-59.0.2/si.xpi) = 5a34546cefac845cb6131382cb04771ae20f18a6eb6c058cab582419cc9324e9 -SIZE (xpi/firefox-i18n-59.0.2/si.xpi) = 492588 -SHA256 (xpi/firefox-i18n-59.0.2/sk.xpi) = 34f7705c36c88f20ba2bcafd09b6ada3c90ae5d71acd4b7747ac60cce70c222c -SIZE (xpi/firefox-i18n-59.0.2/sk.xpi) = 480813 -SHA256 (xpi/firefox-i18n-59.0.2/sl.xpi) = 19d8af678cd2874a37bc5f5836e030d0e04c64de5f3cab994f25dc27c48048ae -SIZE (xpi/firefox-i18n-59.0.2/sl.xpi) = 458824 -SHA256 (xpi/firefox-i18n-59.0.2/son.xpi) = f6d897f43b61d7b476cf0bbdfaa9bb09c97e1b923ed93ebaa45796da17d5815a -SIZE (xpi/firefox-i18n-59.0.2/son.xpi) = 446400 -SHA256 (xpi/firefox-i18n-59.0.2/sq.xpi) = dd0fa029de2d70ac4982d2ec5d904a8543126198080ae8a45b1037100dfc1454 -SIZE (xpi/firefox-i18n-59.0.2/sq.xpi) = 464463 -SHA256 (xpi/firefox-i18n-59.0.2/sr.xpi) = ff0e506cfde1150867113f1fadf49a075c7b39ec1273254fd1c825c7aa3fc61d -SIZE (xpi/firefox-i18n-59.0.2/sr.xpi) = 486178 -SHA256 (xpi/firefox-i18n-59.0.2/sv-SE.xpi) = 0062281cc43f2b132663a690eaaaac8c483196daed5fc1c8f1de02b59005ad70 -SIZE (xpi/firefox-i18n-59.0.2/sv-SE.xpi) = 458659 -SHA256 (xpi/firefox-i18n-59.0.2/ta.xpi) = 12d92d14cdb6aba7228cf634da62ba2ebca3210ed4db9119f4ba2d7c9c8296fc -SIZE (xpi/firefox-i18n-59.0.2/ta.xpi) = 512843 -SHA256 (xpi/firefox-i18n-59.0.2/te.xpi) = 7026e14f3760b906048d45d25eaa73d0f2a657614eb07ba3a567803b4daf2bfe -SIZE (xpi/firefox-i18n-59.0.2/te.xpi) = 527083 -SHA256 (xpi/firefox-i18n-59.0.2/th.xpi) = 226efaa18781edc8c5ffec902c2a00047d3a0796507c9799134a5fe0517b2cc9 -SIZE (xpi/firefox-i18n-59.0.2/th.xpi) = 498544 -SHA256 (xpi/firefox-i18n-59.0.2/tr.xpi) = a39db56a64511ced3451aac4cb6d6dad6e3d49f7a60e074742b08a492a04580c -SIZE (xpi/firefox-i18n-59.0.2/tr.xpi) = 463593 -SHA256 (xpi/firefox-i18n-59.0.2/uk.xpi) = f4b96792dbca4b8de74dccce1b51d5c4e6d0cd2509ef2573c1f992f37dd71c32 -SIZE (xpi/firefox-i18n-59.0.2/uk.xpi) = 516926 -SHA256 (xpi/firefox-i18n-59.0.2/ur.xpi) = 06eea9f0bde0e5d3299e59d76cbc486a5a9e4d36f6ee9e262b2199bb45967b59 -SIZE (xpi/firefox-i18n-59.0.2/ur.xpi) = 507379 -SHA256 (xpi/firefox-i18n-59.0.2/uz.xpi) = 16f3a699afa42f645c0276b53be27d93f35f21f20289206431be0da811e3fe34 -SIZE (xpi/firefox-i18n-59.0.2/uz.xpi) = 456923 -SHA256 (xpi/firefox-i18n-59.0.2/vi.xpi) = b1abb414442450d836094dcae26268c61608102e31d745b717efdc92e05fd760 -SIZE (xpi/firefox-i18n-59.0.2/vi.xpi) = 470069 -SHA256 (xpi/firefox-i18n-59.0.2/xh.xpi) = 7de47e610d82ec7ed7a57d830ef20c4a113770fdc659f19c47c17f4465a9e83b -SIZE (xpi/firefox-i18n-59.0.2/xh.xpi) = 460772 -SHA256 (xpi/firefox-i18n-59.0.2/zh-CN.xpi) = 1e30757d37bb8f13bec733e302e393204bc5f9c9b859465252b25ae053e87b27 -SIZE (xpi/firefox-i18n-59.0.2/zh-CN.xpi) = 483449 -SHA256 (xpi/firefox-i18n-59.0.2/zh-TW.xpi) = 5d852b837ce85c5a7bb4a4e95655bba83ca3e428a20b252c023125cc55e538a4 -SIZE (xpi/firefox-i18n-59.0.2/zh-TW.xpi) = 477089 +TIMESTAMP = 1521738065 +SHA256 (xpi/firefox-i18n-60.0b6/ach.xpi) = 814c08c9dfa9bdba6ab2dbb71d3f3bdc0818540166bf5f03db29c5b651c480e5 +SIZE (xpi/firefox-i18n-60.0b6/ach.xpi) = 448300 +SHA256 (xpi/firefox-i18n-60.0b6/af.xpi) = 3f51f29e917a0022b388fdb858906ffab6254eebc713f4b4d44ae89582cdc3e9 +SIZE (xpi/firefox-i18n-60.0b6/af.xpi) = 445175 +SHA256 (xpi/firefox-i18n-60.0b6/an.xpi) = 2bda7ee2509cb3059afa05d76f1be7735a0b600e95a0da27ce95e7a01080551f +SIZE (xpi/firefox-i18n-60.0b6/an.xpi) = 471901 +SHA256 (xpi/firefox-i18n-60.0b6/ar.xpi) = 3ee2d6b9f6d6741e9a4cc7baa06d250541a450aa815ea1c8734cd1565bf99621 +SIZE (xpi/firefox-i18n-60.0b6/ar.xpi) = 496797 +SHA256 (xpi/firefox-i18n-60.0b6/as.xpi) = ca40ac084b4682e72999cf7321e5066cb85e49dd2fb0a95e38a92c05fd73f541 +SIZE (xpi/firefox-i18n-60.0b6/as.xpi) = 488783 +SHA256 (xpi/firefox-i18n-60.0b6/ast.xpi) = f2301e481335dffb6e4d2d9ab9b8b1169328aebf09d8dafceb9f56db713f3759 +SIZE (xpi/firefox-i18n-60.0b6/ast.xpi) = 463373 +SHA256 (xpi/firefox-i18n-60.0b6/az.xpi) = a3e7d996b0ac1d36663af3922531b1a475ccbee7b395df146e130e1a9e1899fe +SIZE (xpi/firefox-i18n-60.0b6/az.xpi) = 474985 +SHA256 (xpi/firefox-i18n-60.0b6/be.xpi) = 327075d5c3943e83bbf26e8908fdf6ff8ae833122638cf407b8a5874bf52510b +SIZE (xpi/firefox-i18n-60.0b6/be.xpi) = 527106 +SHA256 (xpi/firefox-i18n-60.0b6/bg.xpi) = 0d02fb9d2f665650410c322b52c8c9615c6ff08cc96773bbd4c878f962ecc80b +SIZE (xpi/firefox-i18n-60.0b6/bg.xpi) = 520171 +SHA256 (xpi/firefox-i18n-60.0b6/bn-BD.xpi) = 591739629eac163789296acc7bb59dfec50b2cc6f0933537c07ff2860d5e4320 +SIZE (xpi/firefox-i18n-60.0b6/bn-BD.xpi) = 535950 +SHA256 (xpi/firefox-i18n-60.0b6/bn-IN.xpi) = 672283b596c78553da3af298df4c42ffc864b07de22bb75327d012d2a848d52d +SIZE (xpi/firefox-i18n-60.0b6/bn-IN.xpi) = 521697 +SHA256 (xpi/firefox-i18n-60.0b6/br.xpi) = e0c5642b3409e177ab2b6e4a54471e63a0c365bc4946de5f5698520819ba4d49 +SIZE (xpi/firefox-i18n-60.0b6/br.xpi) = 461844 +SHA256 (xpi/firefox-i18n-60.0b6/bs.xpi) = 7f0a12721072de6e7bb3128f6fc5bf28956cdd564051e8796c540670e631de86 +SIZE (xpi/firefox-i18n-60.0b6/bs.xpi) = 467834 +SHA256 (xpi/firefox-i18n-60.0b6/ca.xpi) = 8b8ccc04f5bec7f81d03129a7cb0818b0fb1c3262a3dc78b24513de016be6e8c +SIZE (xpi/firefox-i18n-60.0b6/ca.xpi) = 475157 +SHA256 (xpi/firefox-i18n-60.0b6/cak.xpi) = 9ec12ceeb9542154106edea9dde597f5f56666785a56054f329c6efd093aecb7 +SIZE (xpi/firefox-i18n-60.0b6/cak.xpi) = 484396 +SHA256 (xpi/firefox-i18n-60.0b6/cs.xpi) = fbdcbe85b92d9a7ba83bb40da4d23a04b8fe691aec616d479e7597ab2c5372a6 +SIZE (xpi/firefox-i18n-60.0b6/cs.xpi) = 480010 +SHA256 (xpi/firefox-i18n-60.0b6/cy.xpi) = e69329ee9f1a60df538dd1c6bf4fd940522d3f1f6fe4c07ab9c677404df28b8c +SIZE (xpi/firefox-i18n-60.0b6/cy.xpi) = 464804 +SHA256 (xpi/firefox-i18n-60.0b6/da.xpi) = aa5aa6d29cee3a0f4c84b8fa3309c63e5f7970064032e3d11f3b1bf4b0678a5d +SIZE (xpi/firefox-i18n-60.0b6/da.xpi) = 457557 +SHA256 (xpi/firefox-i18n-60.0b6/de.xpi) = 5fa52f66eb7903db8891ad7d973fd2d39b6e72c2d17b3d6699260a0b15ab1113 +SIZE (xpi/firefox-i18n-60.0b6/de.xpi) = 477438 +SHA256 (xpi/firefox-i18n-60.0b6/dsb.xpi) = 9c7a80a7025791fdd3f4f725a8101a6395c322c8402ed97c6d221f65a9631ea8 +SIZE (xpi/firefox-i18n-60.0b6/dsb.xpi) = 487579 +SHA256 (xpi/firefox-i18n-60.0b6/el.xpi) = 90c7f449c3abe872d64b6bbc7a8eab3e8674bb3037d8a2bab2a636b07eb479eb +SIZE (xpi/firefox-i18n-60.0b6/el.xpi) = 543007 +SHA256 (xpi/firefox-i18n-60.0b6/en-GB.xpi) = 211db64418945a8a875b3af2fe4051dfeb1b6acb850eeddba302514a0e02a0d8 +SIZE (xpi/firefox-i18n-60.0b6/en-GB.xpi) = 444265 +SHA256 (xpi/firefox-i18n-60.0b6/en-US.xpi) = 78d1f982690b34b8c734375c0cdf8030a95b38143e572446a1353bda4c071261 +SIZE (xpi/firefox-i18n-60.0b6/en-US.xpi) = 439292 +SHA256 (xpi/firefox-i18n-60.0b6/en-ZA.xpi) = 2fc788ffa7b25b1d2853ad891cc0907a8473dab35a62e3e234b1f68ca4c02f5c +SIZE (xpi/firefox-i18n-60.0b6/en-ZA.xpi) = 433970 +SHA256 (xpi/firefox-i18n-60.0b6/eo.xpi) = 207d03598be1320395978d041698f8421a98a8beb176f5fd353036d649ce1688 +SIZE (xpi/firefox-i18n-60.0b6/eo.xpi) = 462277 +SHA256 (xpi/firefox-i18n-60.0b6/es-AR.xpi) = 97a716d899d23e782a76694dce5ace88a8d369b90b794ee4ba4c3902f4deb9c0 +SIZE (xpi/firefox-i18n-60.0b6/es-AR.xpi) = 472936 +SHA256 (xpi/firefox-i18n-60.0b6/es-CL.xpi) = 3d991c7463bcb7bdf433765cccaefdfd8788d8bb85f6e5dfa30a7a24435ce20d +SIZE (xpi/firefox-i18n-60.0b6/es-CL.xpi) = 475788 +SHA256 (xpi/firefox-i18n-60.0b6/es-ES.xpi) = 2eb4357a6202ad22d735592e0f7232630d7fb6c40bedeb9c824982d217d14ae9 +SIZE (xpi/firefox-i18n-60.0b6/es-ES.xpi) = 399400 +SHA256 (xpi/firefox-i18n-60.0b6/es-MX.xpi) = 19645d85b9cb9a732713992935a1b48e22f48a6c170fcafa88d06c9cfdf7a96a +SIZE (xpi/firefox-i18n-60.0b6/es-MX.xpi) = 477122 +SHA256 (xpi/firefox-i18n-60.0b6/et.xpi) = 335b3dec937946fe019da00337419286d0e73c0cdbc3e77a34b4c29d28134578 +SIZE (xpi/firefox-i18n-60.0b6/et.xpi) = 457717 +SHA256 (xpi/firefox-i18n-60.0b6/eu.xpi) = c586affeb343869886b1403173cadc8b313b5a01b1983188c9580206ad3df7a7 +SIZE (xpi/firefox-i18n-60.0b6/eu.xpi) = 463848 +SHA256 (xpi/firefox-i18n-60.0b6/fa.xpi) = ca138dc0b356ce405906150ef630959851533b93df639fe0166c05e083b6c5c4 +SIZE (xpi/firefox-i18n-60.0b6/fa.xpi) = 519006 +SHA256 (xpi/firefox-i18n-60.0b6/ff.xpi) = b53069d10a14411d1bf79eefe49b571ae4edb1f72d0cb955f6a47c7751c6947c +SIZE (xpi/firefox-i18n-60.0b6/ff.xpi) = 464908 +SHA256 (xpi/firefox-i18n-60.0b6/fi.xpi) = eed9d84b610e7f595e01f7135fb53290f84023a2b99bd438f0d74df9b4eccc43 +SIZE (xpi/firefox-i18n-60.0b6/fi.xpi) = 456005 +SHA256 (xpi/firefox-i18n-60.0b6/fr.xpi) = dedb5276a74915dc4ff84b9dd18be29b1eca2c5f7212f69e2221e8b34d6574f3 +SIZE (xpi/firefox-i18n-60.0b6/fr.xpi) = 484347 +SHA256 (xpi/firefox-i18n-60.0b6/fy-NL.xpi) = 8f3c06c57a33cd9c1e8968e883176b44bea9657e3191b951549eb82d0627dad8 +SIZE (xpi/firefox-i18n-60.0b6/fy-NL.xpi) = 472876 +SHA256 (xpi/firefox-i18n-60.0b6/ga-IE.xpi) = eb20bf5771251add484103ad2d2c969a03c02f5a72c456aa71bd47ce46c42b6b +SIZE (xpi/firefox-i18n-60.0b6/ga-IE.xpi) = 481978 +SHA256 (xpi/firefox-i18n-60.0b6/gd.xpi) = fa93cab2471ac694460239c3dab7eac5d866bbf92323f00088b16c6f6ebdadd2 +SIZE (xpi/firefox-i18n-60.0b6/gd.xpi) = 473035 +SHA256 (xpi/firefox-i18n-60.0b6/gl.xpi) = 617d2d7c6ddcb1eafa97341973c6765255c8e9908585784b6ee1ee928a85e652 +SIZE (xpi/firefox-i18n-60.0b6/gl.xpi) = 451644 +SHA256 (xpi/firefox-i18n-60.0b6/gn.xpi) = 6d5d6d4cdabdb2d5b1fa95f8f718f6d6ceb02e35eec4f9a90e72fb6ae738079b +SIZE (xpi/firefox-i18n-60.0b6/gn.xpi) = 481113 +SHA256 (xpi/firefox-i18n-60.0b6/gu-IN.xpi) = a32912e248e9149d522de23a5b1044d0a25eb67d7724d809b27d58ff88754a15 +SIZE (xpi/firefox-i18n-60.0b6/gu-IN.xpi) = 532814 +SHA256 (xpi/firefox-i18n-60.0b6/he.xpi) = 873f68f9dfbb3c1413c7af5056fc0b6777f3152f01f73fd2d00b1c8da83eb374 +SIZE (xpi/firefox-i18n-60.0b6/he.xpi) = 483170 +SHA256 (xpi/firefox-i18n-60.0b6/hi-IN.xpi) = 8dd6a2eb10734a07b8645611e08ba35ce4536eb03aec1c9bb982112b726c9014 +SIZE (xpi/firefox-i18n-60.0b6/hi-IN.xpi) = 535083 +SHA256 (xpi/firefox-i18n-60.0b6/hr.xpi) = f6f20f4a40eb9fb1760cf77813af6d7b83a3f365269bfa1032e784bb21201196 +SIZE (xpi/firefox-i18n-60.0b6/hr.xpi) = 470261 +SHA256 (xpi/firefox-i18n-60.0b6/hsb.xpi) = 0313c1e64d39d60aaff4ffed6c1ac77766fde87b8ef0a8ad0bc35a023f748f2b +SIZE (xpi/firefox-i18n-60.0b6/hsb.xpi) = 485318 +SHA256 (xpi/firefox-i18n-60.0b6/hu.xpi) = ed75c746366320ba79c073cbfbe4ef4afcca7588aebe41e35cd1a19c31cdcc09 +SIZE (xpi/firefox-i18n-60.0b6/hu.xpi) = 486476 +SHA256 (xpi/firefox-i18n-60.0b6/hy-AM.xpi) = 030fb6026224a303388b739e77a4bb6dac80f0abbc3a0daa6f2cf83f0ac8d127 +SIZE (xpi/firefox-i18n-60.0b6/hy-AM.xpi) = 519074 +SHA256 (xpi/firefox-i18n-60.0b6/ia.xpi) = f327427e48d14f091d5b023dc6d3178d080d0419ec47f134644e55d6477ec6ad +SIZE (xpi/firefox-i18n-60.0b6/ia.xpi) = 459844 +SHA256 (xpi/firefox-i18n-60.0b6/id.xpi) = c1ccce0d02878c049386751b35470a85ce94013fa545449aa0316797bb4f7c10 +SIZE (xpi/firefox-i18n-60.0b6/id.xpi) = 451637 +SHA256 (xpi/firefox-i18n-60.0b6/is.xpi) = ce9311eb9e99c1dc3bd04e4229efaf000e308bb33d0c92c482033125c3822c54 +SIZE (xpi/firefox-i18n-60.0b6/is.xpi) = 462160 +SHA256 (xpi/firefox-i18n-60.0b6/it.xpi) = caa9ce5205980c79b289907e7bc82709f40646cc0ebe2943f5c57d34d3ff8a1b +SIZE (xpi/firefox-i18n-60.0b6/it.xpi) = 351401 +SHA256 (xpi/firefox-i18n-60.0b6/ja.xpi) = 19a60ef556061b87f9b9bcfc22ac3ff83c39844ef05ef37058004e84635ba9a4 +SIZE (xpi/firefox-i18n-60.0b6/ja.xpi) = 519001 +SHA256 (xpi/firefox-i18n-60.0b6/ka.xpi) = 530bce354b75b6955774177e1810c73728ae179a604e947a4853baf566fbba14 +SIZE (xpi/firefox-i18n-60.0b6/ka.xpi) = 502573 +SHA256 (xpi/firefox-i18n-60.0b6/kab.xpi) = 6b2c814e802e302055c4a5229eb2ba72d111bd66c470edb6d261ba986a82b0c6 +SIZE (xpi/firefox-i18n-60.0b6/kab.xpi) = 470998 +SHA256 (xpi/firefox-i18n-60.0b6/kk.xpi) = 6d7f13541f0a3049f11a2d14bf132148a828bc341248cb1b1daa3d6039f66930 +SIZE (xpi/firefox-i18n-60.0b6/kk.xpi) = 528117 +SHA256 (xpi/firefox-i18n-60.0b6/km.xpi) = 0f4db35f2dd7fba5b8e6b0be03bc9f143a4f00741798f28b78283de546d21cc3 +SIZE (xpi/firefox-i18n-60.0b6/km.xpi) = 535575 +SHA256 (xpi/firefox-i18n-60.0b6/kn.xpi) = 7921faf4aabd0d59b83e210a4578671ac425f8ab7f8949d5be345a94e66dbb29 +SIZE (xpi/firefox-i18n-60.0b6/kn.xpi) = 535734 +SHA256 (xpi/firefox-i18n-60.0b6/ko.xpi) = 0ffed9c7ab71e330d023ca37143d7ec246d71fb43828ce485a49d3cf544f9744 +SIZE (xpi/firefox-i18n-60.0b6/ko.xpi) = 495640 +SHA256 (xpi/firefox-i18n-60.0b6/lij.xpi) = 1dc68ce3bf4c54e5206c81cd30357b0f022ea2de8c7014d681aea8a2a2f18ae7 +SIZE (xpi/firefox-i18n-60.0b6/lij.xpi) = 460394 +SHA256 (xpi/firefox-i18n-60.0b6/lt.xpi) = aa75a300cec9ad93c13453637477e13b186f3dc238cae9566ea0b3700c75f837 +SIZE (xpi/firefox-i18n-60.0b6/lt.xpi) = 483950 +SHA256 (xpi/firefox-i18n-60.0b6/lv.xpi) = 5ca42bfb31a424bce7ce253bc5360390cce8a8dc393e4e8cec1315aff1c09910 +SIZE (xpi/firefox-i18n-60.0b6/lv.xpi) = 475171 +SHA256 (xpi/firefox-i18n-60.0b6/mai.xpi) = 225e4c0fc51968118fb2cf3b685c9778b2e152a83196ea4417639298b7956561 +SIZE (xpi/firefox-i18n-60.0b6/mai.xpi) = 506322 +SHA256 (xpi/firefox-i18n-60.0b6/mk.xpi) = cd7713a557518d12ecf9955377d22fffc55c0dfdb061f246d19ec3e0a9b3365e +SIZE (xpi/firefox-i18n-60.0b6/mk.xpi) = 471757 +SHA256 (xpi/firefox-i18n-60.0b6/ml.xpi) = 02068867c4d695f55c7bcc155419fd01344c35cffe2fdd750f819986a72829ca +SIZE (xpi/firefox-i18n-60.0b6/ml.xpi) = 549003 +SHA256 (xpi/firefox-i18n-60.0b6/mr.xpi) = 86e20c69d780dd9614505df42ca8833e976cbc09f13f9a07d1c9429f0030ac73 +SIZE (xpi/firefox-i18n-60.0b6/mr.xpi) = 529045 +SHA256 (xpi/firefox-i18n-60.0b6/ms.xpi) = ab1ae2a6332b7594b221e4cc6f683294daacafa87b3028994ec2537554b5068e +SIZE (xpi/firefox-i18n-60.0b6/ms.xpi) = 459260 +SHA256 (xpi/firefox-i18n-60.0b6/my.xpi) = bbb2173688b7f89cd5b0f9251619bbd3042d3d53a7ba1aaf9c0f20b453fe3619 +SIZE (xpi/firefox-i18n-60.0b6/my.xpi) = 521511 +SHA256 (xpi/firefox-i18n-60.0b6/nb-NO.xpi) = f082be6709e0039466de61b5b186cada83a5f6919acc2c0ee9339d309ccfd640 +SIZE (xpi/firefox-i18n-60.0b6/nb-NO.xpi) = 459018 +SHA256 (xpi/firefox-i18n-60.0b6/ne-NP.xpi) = 478df354951da43452d1a1249ef0579bdc184e432b78c49aa2a128da25083485 +SIZE (xpi/firefox-i18n-60.0b6/ne-NP.xpi) = 506112 +SHA256 (xpi/firefox-i18n-60.0b6/nl.xpi) = 33c8b506a56169f5bf4119bdb98cee004043d872babd67261dd30eeff8c7ee12 +SIZE (xpi/firefox-i18n-60.0b6/nl.xpi) = 466120 +SHA256 (xpi/firefox-i18n-60.0b6/nn-NO.xpi) = 82a84fd71b52b6387ed3a89494ecbc72c8a4c757f3a95687e2e087acdc80ee48 +SIZE (xpi/firefox-i18n-60.0b6/nn-NO.xpi) = 460207 +SHA256 (xpi/firefox-i18n-60.0b6/oc.xpi) = 1c1491024c6b3028fe48a5b99c7ddcd566e0217f40f894425a821304c003b5c4 +SIZE (xpi/firefox-i18n-60.0b6/oc.xpi) = 476833 +SHA256 (xpi/firefox-i18n-60.0b6/or.xpi) = d3d1c9f8b5202b6791eb5731f454bbbb23c9ab5d12d575dd4649c919724fb967 +SIZE (xpi/firefox-i18n-60.0b6/or.xpi) = 499286 +SHA256 (xpi/firefox-i18n-60.0b6/pa-IN.xpi) = e0c6209b4a65fd62966c013940e8a1aa5faf75ba98c9504cc2b61eb86a9c61b1 +SIZE (xpi/firefox-i18n-60.0b6/pa-IN.xpi) = 502601 +SHA256 (xpi/firefox-i18n-60.0b6/pl.xpi) = 248b701e51749e487fde314f67c4283eb374c9b59b3ae988119398f91f2db81f +SIZE (xpi/firefox-i18n-60.0b6/pl.xpi) = 369884 +SHA256 (xpi/firefox-i18n-60.0b6/pt-BR.xpi) = ac0faa2ed98035f51248143daa80560f0f1f1d66163ba208db37c9280804e047 +SIZE (xpi/firefox-i18n-60.0b6/pt-BR.xpi) = 464786 +SHA256 (xpi/firefox-i18n-60.0b6/pt-PT.xpi) = be878abe9b1dceb58676f10abd39d53ba5b8a2a7d98a65a6d147da0bfa680686 +SIZE (xpi/firefox-i18n-60.0b6/pt-PT.xpi) = 468591 +SHA256 (xpi/firefox-i18n-60.0b6/rm.xpi) = eae27afea5c5112a7c4fa2b848f5657d5e966bdb4c5687552e02042b6e10e213 +SIZE (xpi/firefox-i18n-60.0b6/rm.xpi) = 460304 +SHA256 (xpi/firefox-i18n-60.0b6/ro.xpi) = 198b42f640750bc4b4a84c8129e6e3e9ea883398861c3cef9f3046b235b8ab21 +SIZE (xpi/firefox-i18n-60.0b6/ro.xpi) = 465339 +SHA256 (xpi/firefox-i18n-60.0b6/ru.xpi) = ae88b3d11ef061478c1baaf6bda2e3540e1e816b4c46d485e5b6455d213ecdab +SIZE (xpi/firefox-i18n-60.0b6/ru.xpi) = 537312 +SHA256 (xpi/firefox-i18n-60.0b6/si.xpi) = 9c6ea709c7cc33c5fb97247760e32c0eb8fd00a485cca04f3c0c96a1ed6c7de5 +SIZE (xpi/firefox-i18n-60.0b6/si.xpi) = 500608 +SHA256 (xpi/firefox-i18n-60.0b6/sk.xpi) = 938fae9735de21fa39c35f990b0bdbaffbae1278777b13f4a7d3e5970b1f980f +SIZE (xpi/firefox-i18n-60.0b6/sk.xpi) = 489638 +SHA256 (xpi/firefox-i18n-60.0b6/sl.xpi) = 3b94aaedb915fd396ccbf4dc37079e2ee7b5db5ecb1fa0bc8819f7fcccc01421 +SIZE (xpi/firefox-i18n-60.0b6/sl.xpi) = 468161 +SHA256 (xpi/firefox-i18n-60.0b6/son.xpi) = dc09794b740550bfaac59a1bbaf0caa14b2d097536059821cc53e019fb23df88 +SIZE (xpi/firefox-i18n-60.0b6/son.xpi) = 454727 +SHA256 (xpi/firefox-i18n-60.0b6/sq.xpi) = 239fac82aaf817fe9b6ffe85743061f9ae69d5479dba20b29c79008eb5a9dfe3 +SIZE (xpi/firefox-i18n-60.0b6/sq.xpi) = 473763 +SHA256 (xpi/firefox-i18n-60.0b6/sr.xpi) = d4173263e7aaa820a16230a5e4ffbff0236247da9fd437e022471636ca26c113 +SIZE (xpi/firefox-i18n-60.0b6/sr.xpi) = 495841 +SHA256 (xpi/firefox-i18n-60.0b6/sv-SE.xpi) = 0f9d5044ae0b7e98ca4fed32e3a65051b9e43a7d36020a76009c0443ca795534 +SIZE (xpi/firefox-i18n-60.0b6/sv-SE.xpi) = 467452 +SHA256 (xpi/firefox-i18n-60.0b6/ta.xpi) = 101b6fea891c2d5cc6f9385f3857197d64d66aaceb40619e2b3bf3f64a5441f6 +SIZE (xpi/firefox-i18n-60.0b6/ta.xpi) = 523859 +SHA256 (xpi/firefox-i18n-60.0b6/te.xpi) = 06203015e0c0236d3f8460187d165485887d3f2d4f505a869dab2663ff659b77 +SIZE (xpi/firefox-i18n-60.0b6/te.xpi) = 537310 +SHA256 (xpi/firefox-i18n-60.0b6/th.xpi) = f44a97ca6cb331a10b4a56a1b812c8e517cb6574ebd9e0c04c60654854356bc4 +SIZE (xpi/firefox-i18n-60.0b6/th.xpi) = 508878 +SHA256 (xpi/firefox-i18n-60.0b6/tr.xpi) = 1c8851d7a7a8e9217a52768aa9e259dde9388ebb2f0baf4386d0302f94278491 +SIZE (xpi/firefox-i18n-60.0b6/tr.xpi) = 474054 +SHA256 (xpi/firefox-i18n-60.0b6/uk.xpi) = d9a4ff58b4d8569de7185bfb6ff829a4dfa24ee655e6e6fabfba9a06392ee3e6 +SIZE (xpi/firefox-i18n-60.0b6/uk.xpi) = 526913 +SHA256 (xpi/firefox-i18n-60.0b6/ur.xpi) = ec17b9f8762aab037f747347eec6a3f686832f2203549ecaa023c6b4320f76b9 +SIZE (xpi/firefox-i18n-60.0b6/ur.xpi) = 517011 +SHA256 (xpi/firefox-i18n-60.0b6/uz.xpi) = 3dcc9e63a8755c998757b54f2abbfb3d81d7cb8b27ed8f56dfd08faf353e4682 +SIZE (xpi/firefox-i18n-60.0b6/uz.xpi) = 466319 +SHA256 (xpi/firefox-i18n-60.0b6/vi.xpi) = 7ff9f65ca867860f4e357b5e3cf85eeb487a3d93d4131c259dfc4b5f1937f7ba +SIZE (xpi/firefox-i18n-60.0b6/vi.xpi) = 480602 +SHA256 (xpi/firefox-i18n-60.0b6/xh.xpi) = 4fe5a8a0bea81765d6c7d8d93cc963d5798f5a89bcb03c8c489a6eafd1d90f34 +SIZE (xpi/firefox-i18n-60.0b6/xh.xpi) = 468377 +SHA256 (xpi/firefox-i18n-60.0b6/zh-CN.xpi) = 74d2fb60387435c16277af8d38dfaf5c4a00520523131dbd0a50c44903e81c4d +SIZE (xpi/firefox-i18n-60.0b6/zh-CN.xpi) = 492237 +SHA256 (xpi/firefox-i18n-60.0b6/zh-TW.xpi) = f8e43fdb99d8a4967d4c05ec3b2ef01c341c5c0654f3306f7ddfb3f6c3ac427f +SIZE (xpi/firefox-i18n-60.0b6/zh-TW.xpi) = 489642 diff --git a/www/firefox/Makefile b/www/firefox/Makefile index 71d48791fec4..1cae63ac0120 100644 --- a/www/firefox/Makefile +++ b/www/firefox/Makefile @@ -2,27 +2,27 @@ # $FreeBSD$ PORTNAME= firefox -DISTVERSION= 59.0.2 +DISTVERSION= 60.0b6 PORTEPOCH= 1 CATEGORIES= www ipv6 -MASTER_SITES= https://hg.mozilla.org/releases/mozilla-release/archive/ -DISTNAME= ${MASTER_SITES:M*hg*:S,/archive/,,:T}-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5 -DISTFILES= ${DISTNAME:C/.*-//}${EXTRACT_SUFX} -DIST_SUBDIR= firefox +MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \ + MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source +DISTNAME= ${PORTNAME}-${PORTVERSION:R} +DISTFILES= ${DISTNAME}${PORTVERSION:E}.source${EXTRACT_SUFX} MAINTAINER= gecko@FreeBSD.org COMMENT= Web browser based on the browser portion of Mozilla -BUILD_DEPENDS= nspr>=4.18:devel/nspr \ - nss>=3.35:security/nss \ +BUILD_DEPENDS= nspr>=4.19:devel/nspr \ + nss>=3.36:security/nss \ icu>=59.1,1:devel/icu \ libevent>=2.1.8:devel/libevent \ - harfbuzz>=1.7.4:print/harfbuzz \ - graphite2>=1.3.10:graphics/graphite2 \ + harfbuzz>=1.7.6:print/harfbuzz \ + graphite2>=1.3.11:graphics/graphite2 \ png>=1.6.34:graphics/png \ libvorbis>=1.3.5,3:audio/libvorbis \ libvpx>=1.5.0:multimedia/libvpx \ - sqlite3>=3.21.0:databases/sqlite3 \ + sqlite3>=3.22.0:databases/sqlite3 \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ v4l_compat>0:multimedia/v4l_compat \ autoconf-2.13:devel/autoconf213 \ @@ -30,15 +30,13 @@ BUILD_DEPENDS= nspr>=4.18:devel/nspr \ zip:archivers/zip # soundtouch>=1.9.0:audio/soundtouch \ -LIB_DEPENDS= libv4l2.so:multimedia/libv4l - USE_GECKO= gecko CONFLICTS_INSTALL= firefox-esr MOZ_PKGCONFIG_FILES= # empty USE_MOZILLA= -cairo -soundtouch USE_GL= gl -USES= tar:bz2 +USES= tar:xz FIREFOX_ICON= ${MOZILLA}.png FIREFOX_ICON_SRC= ${PREFIX}/lib/${MOZILLA}/browser/chrome/icons/default/default48.png diff --git a/www/firefox/distinfo b/www/firefox/distinfo index 16cc11eee990..7ab4743e860e 100644 --- a/www/firefox/distinfo +++ b/www/firefox/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1521751601 -SHA256 (firefox/239e434d6d2b8e1e2b697c3416d1e96d48fe98e5.tar.bz2) = bd9fae16bf74eb6836e9a17c480bf2f46614490e5b93ca9124683681a4cd477c -SIZE (firefox/239e434d6d2b8e1e2b697c3416d1e96d48fe98e5.tar.bz2) = 304965218 +TIMESTAMP = 1521738065 +SHA256 (firefox-60.0b6.source.tar.xz) = 35689c1d0dd0d75e8884409c86cb3c5f22b673ae7fe8bce31bef9fff3a5bff7f +SIZE (firefox-60.0b6.source.tar.xz) = 267954052 diff --git a/www/firefox/files/patch-bug1021761 b/www/firefox/files/patch-bug1021761 index f0764a8c4b22..d2cddd428791 100644 --- a/www/firefox/files/patch-bug1021761 +++ b/www/firefox/files/patch-bug1021761 @@ -1198,9 +1198,9 @@ index b139b8f497fd..d1f8a223c6d8 100755 cp $1/src/cubeb_mixer.h src cp $1/src/cubeb_opensl.c src +cp $1/src/cubeb_oss.c src - cp $1/src/cubeb_osx_run_loop.h src - cp $1/src/cubeb_panner.cpp src - cp $1/src/cubeb_panner.h src + cp $1/src/cubeb-jni.cpp src + cp $1/src/cubeb-jni.h src + cp $1/src/android/cubeb-output-latency.h src/android diff --git toolkit/library/moz.build toolkit/library/moz.build index a61c689c83c3..7764df6f8a6b 100644 --- toolkit/library/moz.build diff --git a/www/firefox/files/patch-bug1418162 b/www/firefox/files/patch-bug1418162 new file mode 100644 index 000000000000..b454e74c438a --- /dev/null +++ b/www/firefox/files/patch-bug1418162 @@ -0,0 +1,58 @@ +commit b2ebb8d82be2 +Author: Tom Ritter +Date: Mon Feb 19 09:43:27 2018 -0600 + + Bug 1418162 Use a build constant to determine update channel, and update ESR equation for 60 r?gijs,Build + + Previously we used Services.appinfo.defaultUpdateChannel to determine if we were on ESR + and if so, we would assert to make sure the ESR equation hadn't changed. But that method + is a footgun. We could use UpdateUtils.getUpdateChannel, but for our purposes here, the + compile-time constant will work just as well. + + If it's set correctly, for Mozilla, we will perform our assert check. If it's not set to + esr (e.g. for Tor), they'll skip the assert. They probably want to control their user agent + themselves anyway. + + MozReview-Commit-ID: DLnWSEpCVJ6 +--- + .../resistfingerprinting/nsRFPService.cpp | 21 +++++++-------------- + 1 file changed, 7 insertions(+), 14 deletions(-) + +diff --git toolkit/components/resistfingerprinting/nsRFPService.cpp toolkit/components/resistfingerprinting/nsRFPService.cpp +index aeb3cb6b3539..1fd6a6e8fe8d 100644 +--- toolkit/components/resistfingerprinting/nsRFPService.cpp ++++ toolkit/components/resistfingerprinting/nsRFPService.cpp +@@ -606,26 +606,19 @@ nsRFPService::GetSpoofedUserAgent(nsACString &userAgent) + uint32_t firefoxVersion = appVersion.ToInteger(&rv); + NS_ENSURE_SUCCESS(rv, rv); + +- // Starting from Firefox 10, Firefox ESR was released once every seven +- // Firefox releases, e.g. Firefox 10, 17, 24, 31, and so on. +- // We infer the last and closest ESR version based on this rule. +- nsCOMPtr runtime = +- do_GetService("@mozilla.org/xre/runtime;1", &rv); +- NS_ENSURE_SUCCESS(rv, rv); +- +- nsAutoCString updateChannel; +- rv = runtime->GetDefaultUpdateChannel(updateChannel); +- NS_ENSURE_SUCCESS(rv, rv); +- + // If we are running in Firefox ESR, determine whether the formula of ESR + // version has changed. Once changed, we must update the formula in this + // function. +- if (updateChannel.EqualsLiteral("esr")) { +- MOZ_ASSERT(((firefoxVersion % 7) == 3), ++ if (!strcmp(NS_STRINGIFY(MOZ_UPDATE_CHANNEL), "esr")) { ++ MOZ_ASSERT(((firefoxVersion % 7) == 4), + "Please udpate ESR version formula in nsRFPService.cpp"); + } + +- uint32_t spoofedVersion = firefoxVersion - ((firefoxVersion - 3) % 7); ++ // Starting from Firefox 10, Firefox ESR was released once every seven ++ // Firefox releases, e.g. Firefox 10, 17, 24, 31, and so on. ++ // Except we used 60 as an ESR instead of 59. ++ // We infer the last and closest ESR version based on this rule. ++ uint32_t spoofedVersion = firefoxVersion - ((firefoxVersion - 4) % 7); + userAgent.Assign(nsPrintfCString( + "Mozilla/5.0 (%s; rv:%d.0) Gecko/%s Firefox/%d.0", + SPOOFED_UA_OS, spoofedVersion, LEGACY_BUILD_ID, spoofedVersion)); diff --git a/www/firefox/files/patch-bug1433747 b/www/firefox/files/patch-bug1433747 deleted file mode 100644 index 1a3b8737e8c3..000000000000 --- a/www/firefox/files/patch-bug1433747 +++ /dev/null @@ -1,24 +0,0 @@ -Apply simd@cf87865a998a to unbreak -C target-cpu with Rust >= 1.24 - -diff --git third_party/rust/simd/.cargo-checksum.json third_party/rust/simd/.cargo-checksum.json -index 65f31b0560e6..f16d0dd4fd61 100644 ---- third_party/rust/simd/.cargo-checksum.json -+++ third_party/rust/simd/.cargo-checksum.json -@@ -1 +1 @@ --{"files":{".travis.yml":"e2c720c3633b7671efce49147c62b12bcbf630d7c5d6fc65cd97620bfa4ddcea","Cargo.toml":"608aad04f17a524ee21048fa2ce9f656ae344e0473dd0e331dc954f0f9677c63","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"6d3a9431e65e69c73a8923e6517b889d17549b23db406b9ec027710d16af701f","README.md":"249294a9a5f63c64c0f7fe4a607060f43f3507dce2378067aa59d25fb3ae681d","benches/mandelbrot.rs":"051b5199e66bca6cf7774e9024915fd4e1349ab39726a10a14e06b60d65d87a4","benches/matrix.rs":"048a21dacdb62365e0105d00d2c8cd6bd2396ac81134f2bff7eb4f7d095fb735","examples/axpy.rs":"4307626045d64ec08361c97c9c72c5dc8d361bdc88f64453b97ac0212041a1b2","examples/convert.rs":"8e658fde050f8a0d8b84ad7570446b10fcf544afbd551b940ca340474f324840","examples/dot-product.rs":"6fe2e007c147af5353804173a593c5b9d57dbccec156e1da37e9e32537363f91","examples/fannkuch-redux-nosimd.rs":"7b2fbde35e8666929d14d67328471cb0483d038a5325232f8db148b30865312b","examples/fannkuch-redux.rs":"ea21fdbd2274488a62cc984acad6e0b65d52f24fb4ff63b7057a3a667e9c8aae","examples/mandelbrot.rs":"8b8fdca1edac50e5a33e0e0592bd41eb75114f31839ccd40d485c61a9a664380","examples/matrix-inverse.rs":"a378d20ef20c2119bb10a86de27c92fec2c2f77f374e6bfd36707c9825a5fe92","examples/nbody-nosimd.rs":"2c8e0a7feacd202fdd65eeceb6420d6e9f43340b81f20a8e532704a587a2796b","examples/nbody.rs":"a864311affab262024479d6348ff51af43d809e9ad332ec30ea4aacceaa2eae1","examples/ops.rs":"1316f915d0afcfa98fdc4077e965ccccf6b4b21c433cbe487ff0cdc60df3cd39","examples/spectral-norm-nosimd.rs":"ffc8512ecde779078ea467f38f423a0ea623c63da7078193f9dd370200773f79","examples/spectral-norm.rs":"edb09c9d477f83939098cfb77a27cc298bc7a0c8a8e29cece0cccae0d70d890e","src/aarch64/mod.rs":"83f52775364c98de0cecb7e1509530c18972e932469f5f1522aa24a735d0fa37","src/aarch64/neon.rs":"1fe769979e07d8e2bc3c78ce116e05d735860744efe097a894cc9421153257fb","src/arm/mod.rs":"dcdd90bc0b39abaf86a0c8946d442b16313563fbae1ff03248628275c74d8617","src/arm/neon.rs":"51cc509856200e80f8e4cc2c982586e6d1cef593ec4537e153dce0cfe31d3428","src/common.rs":"62f4e7e0fefb52ad190d0f2191bc435ac4deab3f2bc70dc427f2a7f9ccb7856e","src/lib.rs":"25f0b39c038fa85af858318135dfd87865be26c33bb4bd1438aec96a1e68d8b5","src/sixty_four.rs":"510a9e00189a61e4f0a5beb7052d5dee37fc8261f94a2af45ef10327e0f3b7df","src/v256.rs":"2e328e49034876d535e0627c7a62191da2b4fb156a657614bf531a5fc75b1385","src/x86/avx.rs":"c66140abefca634b48eae307c3ec8cf5a40f2279b10e246a7e2ac602a2a2bb28","src/x86/avx2.rs":"efe3006b13a13261a3dec3d37dc1d8cb53950f3803c420069231803374949937","src/x86/mod.rs":"0acc5a5e2672e2a0fddc11065663be8b8fa2da87320ea291fa86ff8c2f33edf5","src/x86/sse2.rs":"5ceda75a401958a135fc9d851b22075314cdeed69fd483b6a7be4f11373f40da","src/x86/sse3.rs":"9bd01a4f08069ca4f445952e744d651efe887e3835b18872e757375f0d053bd2","src/x86/sse4_1.rs":"9ceb80dd70a7e7dfeef508cb935e1a2637175bc87a3b090f5dea691ff6aa0516","src/x86/sse4_2.rs":"c59321aed8decdce4d0d8570cff46aed02e1a8265647ef7702e9b180fc581254","src/x86/ssse3.rs":"2290f0269bae316b8e0491495645ee38a9bd73525c8572759c1328341c3bdb4c"},"package":"7a94d14a2ae1f1f110937de5fb69e494372560181c7e1739a097fcc2cee37ba0"} -\ No newline at end of file -+{"files":{".travis.yml":"e2c720c3633b7671efce49147c62b12bcbf630d7c5d6fc65cd97620bfa4ddcea","Cargo.toml":"608aad04f17a524ee21048fa2ce9f656ae344e0473dd0e331dc954f0f9677c63","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"6d3a9431e65e69c73a8923e6517b889d17549b23db406b9ec027710d16af701f","README.md":"249294a9a5f63c64c0f7fe4a607060f43f3507dce2378067aa59d25fb3ae681d","benches/mandelbrot.rs":"051b5199e66bca6cf7774e9024915fd4e1349ab39726a10a14e06b60d65d87a4","benches/matrix.rs":"048a21dacdb62365e0105d00d2c8cd6bd2396ac81134f2bff7eb4f7d095fb735","examples/axpy.rs":"4307626045d64ec08361c97c9c72c5dc8d361bdc88f64453b97ac0212041a1b2","examples/convert.rs":"8e658fde050f8a0d8b84ad7570446b10fcf544afbd551b940ca340474f324840","examples/dot-product.rs":"6fe2e007c147af5353804173a593c5b9d57dbccec156e1da37e9e32537363f91","examples/fannkuch-redux-nosimd.rs":"7b2fbde35e8666929d14d67328471cb0483d038a5325232f8db148b30865312b","examples/fannkuch-redux.rs":"ea21fdbd2274488a62cc984acad6e0b65d52f24fb4ff63b7057a3a667e9c8aae","examples/mandelbrot.rs":"8b8fdca1edac50e5a33e0e0592bd41eb75114f31839ccd40d485c61a9a664380","examples/matrix-inverse.rs":"a378d20ef20c2119bb10a86de27c92fec2c2f77f374e6bfd36707c9825a5fe92","examples/nbody-nosimd.rs":"2c8e0a7feacd202fdd65eeceb6420d6e9f43340b81f20a8e532704a587a2796b","examples/nbody.rs":"a864311affab262024479d6348ff51af43d809e9ad332ec30ea4aacceaa2eae1","examples/ops.rs":"1316f915d0afcfa98fdc4077e965ccccf6b4b21c433cbe487ff0cdc60df3cd39","examples/spectral-norm-nosimd.rs":"ffc8512ecde779078ea467f38f423a0ea623c63da7078193f9dd370200773f79","examples/spectral-norm.rs":"edb09c9d477f83939098cfb77a27cc298bc7a0c8a8e29cece0cccae0d70d890e","src/aarch64/mod.rs":"83f52775364c98de0cecb7e1509530c18972e932469f5f1522aa24a735d0fa37","src/aarch64/neon.rs":"1fe769979e07d8e2bc3c78ce116e05d735860744efe097a894cc9421153257fb","src/arm/mod.rs":"dcdd90bc0b39abaf86a0c8946d442b16313563fbae1ff03248628275c74d8617","src/arm/neon.rs":"51cc509856200e80f8e4cc2c982586e6d1cef593ec4537e153dce0cfe31d3428","src/common.rs":"62f4e7e0fefb52ad190d0f2191bc435ac4deab3f2bc70dc427f2a7f9ccb7856e","src/lib.rs":"25f0b39c038fa85af858318135dfd87865be26c33bb4bd1438aec96a1e68d8b5","src/sixty_four.rs":"510a9e00189a61e4f0a5beb7052d5dee37fc8261f94a2af45ef10327e0f3b7df","src/v256.rs":"2e328e49034876d535e0627c7a62191da2b4fb156a657614bf531a5fc75b1385","src/x86/avx.rs":"c66140abefca634b48eae307c3ec8cf5a40f2279b10e246a7e2ac602a2a2bb28","src/x86/avx2.rs":"3bcb3f391ad5f16f0a6da0bc1301329beb478ad6265bd3b2c9c124fc2e6198e5","src/x86/mod.rs":"0acc5a5e2672e2a0fddc11065663be8b8fa2da87320ea291fa86ff8c2f33edf5","src/x86/sse2.rs":"5ceda75a401958a135fc9d851b22075314cdeed69fd483b6a7be4f11373f40da","src/x86/sse3.rs":"9bd01a4f08069ca4f445952e744d651efe887e3835b18872e757375f0d053bd2","src/x86/sse4_1.rs":"9ceb80dd70a7e7dfeef508cb935e1a2637175bc87a3b090f5dea691ff6aa0516","src/x86/sse4_2.rs":"c59321aed8decdce4d0d8570cff46aed02e1a8265647ef7702e9b180fc581254","src/x86/ssse3.rs":"2290f0269bae316b8e0491495645ee38a9bd73525c8572759c1328341c3bdb4c"},"package":"7a94d14a2ae1f1f110937de5fb69e494372560181c7e1739a097fcc2cee37ba0"} -\ No newline at end of file -diff --git third_party/rust/simd/src/x86/avx2.rs third_party/rust/simd/src/x86/avx2.rs -index fa92e3b60786..e86a33d3b5bb 100644 ---- third_party/rust/simd/src/x86/avx2.rs -+++ third_party/rust/simd/src/x86/avx2.rs -@@ -42,7 +42,7 @@ extern "platform-intrinsic" { - fn x86_mm256_packus_epi32(x: i32x8, y: i32x8) -> u16x16; - fn x86_mm256_permutevar8x32_epi32(x: i32x8, y: i32x8) -> i32x8; - fn x86_mm256_permutevar8x32_ps(x: f32x8, y: i32x8) -> f32x8; -- fn x86_mm256_sad_epu8(x: u8x32, y: u8x32) -> u8x32; -+ fn x86_mm256_sad_epu8(x: u8x32, y: u8x32) -> u64x4; - fn x86_mm256_shuffle_epi8(x: i8x32, y: i8x32) -> i8x32; - fn x86_mm256_sign_epi8(x: i8x32, y: i8x32) -> i8x32; - fn x86_mm256_sign_epi16(x: i16x16, y: i16x16) -> i16x16; diff --git a/www/firefox/files/patch-bug1438678 b/www/firefox/files/patch-bug1438678 new file mode 100644 index 000000000000..47e8dec9ad5b --- /dev/null +++ b/www/firefox/files/patch-bug1438678 @@ -0,0 +1,1000 @@ +commit 68124009fc5a +Author: Nicholas Nethercote +Date: Fri Feb 16 17:54:16 2018 +1100 + + Bug 1438678 - Pass early prefs via shared memory instead of the command line. r=bobowen,jld,glandium. + + This patch replaces the large -intPrefs/-boolPrefs/-stringPrefs flags with + a short-lived, anonymous, shared memory segment that is used to pass the early + prefs. + + Removing the bloat from the command line is nice, but more important is the + fact that this will let us pass more prefs at content process start-up, which + will allow us to remove the early/late prefs split (bug 1436911). + + Although this mechanism is only used for prefs, it's conceivable that it could + be used for other data that must be received very early by children, and for + which the command line isn't ideal. + + Notable details: + + - Much of the patch deals with the various platform-specific ways of passing + handles/fds to children. + + - Linux and Mac: we use a fixed fd (8) in combination with the new + GeckoChildProcessHost::AddFdToRemap() function (which ensures the child + won't close the fd). + + - Android: like Linux and Mac, but the handles get passed via "parcels" and + we use the new SetPrefsFd() function instead of the fixed fd. + + - Windows: there is no need to duplicate the handle because Windows handles + are system-wide. But we do use the new + GeckoChildProcessHost::AddHandleToShare() function to add it to the list of + inheritable handles. We also ensure that list is processed on all paths + (MOZ_SANDBOX with sandbox, MOZ_SANDBOX without sandbox, non-MOZ_SANDBOX) so + that the handles are marked as inheritable. The handle is passed via the + -prefsHandle flag. + + The -prefsLen flag is used on all platforms to indicate the size of the + shared memory segment. + + - The patch also moves the serialization/deserialization of the prefs in/out of + the shared memory into libpref, which is a better spot for it. (This means + Preferences::MustSendToContentProcesses() can be removed.) + + MozReview-Commit-ID: 8fREEBiYFvc + + --HG-- + extra : rebase_source : 7e4c8ebdbcd7d74d6bd2ab3c9e75a6a17dbd8dfe +--- + dom/ipc/ContentParent.cpp | 91 +++++++------- + dom/ipc/ContentProcess.cpp | 121 ++++++++++--------- + dom/ipc/ContentProcess.h | 5 + + ipc/chromium/src/base/process_util_win.cc | 4 + + ipc/glue/GeckoChildProcessHost.cpp | 36 +++--- + ipc/glue/GeckoChildProcessHost.h | 10 ++ + .../org/mozilla/gecko/process/IChildProcess.aidl | 3 +- + .../main/java/org/mozilla/gecko/GeckoThread.java | 13 +- + .../org/mozilla/gecko/mozglue/GeckoLoader.java | 2 +- + .../mozilla/gecko/process/GeckoProcessManager.java | 19 +-- + .../gecko/process/GeckoServiceChildProcess.java | 4 +- + modules/libpref/Preferences.cpp | 134 +++++++++++++++++++-- + modules/libpref/Preferences.h | 17 +-- + mozglue/android/APKOpen.cpp | 4 +- + toolkit/xre/Bootstrap.cpp | 4 +- + toolkit/xre/Bootstrap.h | 2 +- + toolkit/xre/nsEmbedFunctions.cpp | 3 +- + widget/android/GeneratedJNIWrappers.cpp | 4 +- + widget/android/GeneratedJNIWrappers.h | 5 +- + xpcom/build/nsXULAppAPI.h | 2 +- + 20 files changed, 318 insertions(+), 165 deletions(-) + +diff --git dom/ipc/ContentParent.cpp dom/ipc/ContentParent.cpp +index e27f3eedc1b1..60be7005354b 100644 +--- dom/ipc/ContentParent.cpp ++++ dom/ipc/ContentParent.cpp +@@ -7,6 +7,7 @@ + #include "mozilla/DebugOnly.h" + + #include "base/basictypes.h" ++#include "base/shared_memory.h" + + #include "ContentParent.h" + #include "TabParent.h" +@@ -1998,61 +1999,56 @@ ContentParent::LaunchSubprocess(ProcessPriority aInitialPriority /* = PROCESS_PR + extraArgs.push_back(idStr); + extraArgs.push_back(IsForBrowser() ? "-isForBrowser" : "-notForBrowser"); + +- nsAutoCStringN<1024> boolPrefs; +- nsAutoCStringN<1024> intPrefs; +- nsAutoCStringN<1024> stringPrefs; ++ // Prefs information is passed via anonymous shared memory to avoid bloating ++ // the command line. + +- size_t prefsLen; +- ContentPrefs::GetEarlyPrefs(&prefsLen); ++ // Serialize the early prefs. ++ nsAutoCStringN<1024> prefs; ++ Preferences::SerializeEarlyPreferences(prefs); + +- for (unsigned int i = 0; i < prefsLen; i++) { +- const char* prefName = ContentPrefs::GetEarlyPref(i); +- MOZ_ASSERT(i == 0 || strcmp(prefName, ContentPrefs::GetEarlyPref(i - 1)) > 0, +- "Content process preferences should be sorted alphabetically."); +- +- if (!Preferences::MustSendToContentProcesses(prefName)) { +- continue; +- } +- +- switch (Preferences::GetType(prefName)) { +- case nsIPrefBranch::PREF_INT: +- intPrefs.Append(nsPrintfCString("%u:%d|", i, Preferences::GetInt(prefName))); +- break; +- case nsIPrefBranch::PREF_BOOL: +- boolPrefs.Append(nsPrintfCString("%u:%d|", i, Preferences::GetBool(prefName))); +- break; +- case nsIPrefBranch::PREF_STRING: { +- nsAutoCString value; +- Preferences::GetCString(prefName, value); +- stringPrefs.Append(nsPrintfCString("%u:%d;%s|", i, value.Length(), value.get())); +- } +- break; +- case nsIPrefBranch::PREF_INVALID: +- break; +- default: +- printf("preference type: %x\n", Preferences::GetType(prefName)); +- MOZ_CRASH(); +- } ++ // Set up the shared memory. ++ base::SharedMemory shm; ++ if (!shm.Create("", /* read_only */ false, /* open_existing */ false, ++ prefs.Length())) { ++ NS_ERROR("failed to create shared memory in the parent"); ++ MarkAsDead(); ++ return false; ++ } ++ if (!shm.Map(prefs.Length())) { ++ NS_ERROR("failed to map shared memory in the parent"); ++ MarkAsDead(); ++ return false; + } + +- nsCString schedulerPrefs = Scheduler::GetPrefs(); ++ // Copy the serialized prefs into the shared memory. ++ memcpy(static_cast(shm.memory()), prefs.get(), prefs.Length()); + +- // Only do these ones if they're non-empty. +- if (!intPrefs.IsEmpty()) { +- extraArgs.push_back("-intPrefs"); +- extraArgs.push_back(intPrefs.get()); +- } +- if (!boolPrefs.IsEmpty()) { +- extraArgs.push_back("-boolPrefs"); +- extraArgs.push_back(boolPrefs.get()); +- } +- if (!stringPrefs.IsEmpty()) { +- extraArgs.push_back("-stringPrefs"); +- extraArgs.push_back(stringPrefs.get()); +- } ++#if defined(XP_WIN) ++ // Record the handle as to-be-shared, and pass it via a command flag. This ++ // works because Windows handles are system-wide. ++ HANDLE prefsHandle = shm.handle(); ++ mSubprocess->AddHandleToShare(prefsHandle); ++ extraArgs.push_back("-prefsHandle"); ++ extraArgs.push_back( ++ nsPrintfCString("%zu", reinterpret_cast(prefsHandle)).get()); ++#else ++ // In contrast, Unix fds are per-process. So remap the fd to a fixed one that ++ // will be used in the child. ++ // XXX: bug 1440207 is about improving how fixed fds are used. ++ // ++ // Note: on Android, AddFdToRemap() sets up the fd to be passed via a Parcel, ++ // and the fixed fd isn't used. However, we still need to mark it for ++ // remapping so it doesn't get closed in the child. ++ mSubprocess->AddFdToRemap(shm.handle().fd, kPrefsFileDescriptor); ++#endif ++ ++ // Pass the length via a command flag. ++ extraArgs.push_back("-prefsLen"); ++ extraArgs.push_back(nsPrintfCString("%zu", uintptr_t(prefs.Length())).get()); + + // Scheduler prefs need to be handled differently because the scheduler needs + // to start up in the content process before the normal preferences service. ++ nsCString schedulerPrefs = Scheduler::GetPrefs(); + extraArgs.push_back("-schedulerPrefs"); + extraArgs.push_back(schedulerPrefs.get()); + +@@ -2061,6 +2057,7 @@ ContentParent::LaunchSubprocess(ProcessPriority aInitialPriority /* = PROCESS_PR + } + + if (!mSubprocess->LaunchAndWaitForProcessHandle(extraArgs)) { ++ NS_ERROR("failed to launch child in the parent"); + MarkAsDead(); + return false; + } +diff --git dom/ipc/ContentProcess.cpp dom/ipc/ContentProcess.cpp +index e3c1f16910c6..2441c8cb9224 100644 +--- dom/ipc/ContentProcess.cpp ++++ dom/ipc/ContentProcess.cpp +@@ -8,6 +8,8 @@ + + #include "ContentProcess.h" + #include "ContentPrefs.h" ++#include "base/shared_memory.h" ++#include "mozilla/Preferences.h" + #include "mozilla/Scheduler.h" + + #if defined(XP_MACOSX) && defined(MOZ_CONTENT_SANDBOX) +@@ -15,7 +17,6 @@ + #endif + + #if (defined(XP_WIN) || defined(XP_MACOSX)) && defined(MOZ_CONTENT_SANDBOX) +-#include "mozilla/Preferences.h" + #include "mozilla/SandboxSettings.h" + #include "nsAppDirectoryServiceDefs.h" + #include "nsDirectoryService.h" +@@ -81,6 +82,16 @@ SetUpSandboxEnvironment() + } + #endif + ++#ifdef ANDROID ++static int gPrefsFd = -1; ++ ++void ++SetPrefsFd(int aFd) ++{ ++ gPrefsFd = aFd; ++} ++#endif ++ + bool + ContentProcess::Init(int aArgc, char* aArgv[]) + { +@@ -88,9 +99,10 @@ ContentProcess::Init(int aArgc, char* aArgv[]) + bool foundAppdir = false; + bool foundChildID = false; + bool foundIsForBrowser = false; +- bool foundIntPrefs = false; +- bool foundBoolPrefs = false; +- bool foundStringPrefs = false; ++#ifdef XP_WIN ++ bool foundPrefsHandle = false; ++#endif ++ bool foundPrefsLen = false; + bool foundSchedulerPrefs = false; + + uint64_t childID; +@@ -103,7 +115,8 @@ ContentProcess::Init(int aArgc, char* aArgv[]) + #endif + + char* schedulerPrefs = nullptr; +- InfallibleTArray prefsArray; ++ base::SharedMemoryHandle prefsHandle = base::SharedMemory::NULLHandle(); ++ size_t prefsLen = 0; + for (int idx = aArgc; idx > 0; idx--) { + if (!aArgv[idx]) { + continue; +@@ -134,54 +147,24 @@ ContentProcess::Init(int aArgc, char* aArgv[]) + } + isForBrowser = strcmp(aArgv[idx], "-notForBrowser"); + foundIsForBrowser = true; +- } else if (!strcmp(aArgv[idx], "-intPrefs")) { +- char* str = aArgv[idx + 1]; +- while (*str) { +- int32_t index = strtol(str, &str, 10); +- MOZ_ASSERT(str[0] == ':'); +- str++; +- MaybePrefValue value(PrefValue(static_cast(strtol(str, &str, 10)))); +- MOZ_ASSERT(str[0] == '|'); +- str++; +- // XXX: we assume these values as default values, which may not be +- // true. We also assume they are unlocked. Fortunately, these prefs +- // get reset properly by the first IPC message. +- Pref pref(nsCString(ContentPrefs::GetEarlyPref(index)), +- /* isLocked */ false, value, MaybePrefValue()); +- prefsArray.AppendElement(pref); +- } +- foundIntPrefs = true; +- } else if (!strcmp(aArgv[idx], "-boolPrefs")) { ++#ifdef XP_WIN ++ } else if (!strcmp(aArgv[idx], "-prefsHandle")) { + char* str = aArgv[idx + 1]; +- while (*str) { +- int32_t index = strtol(str, &str, 10); +- MOZ_ASSERT(str[0] == ':'); +- str++; +- MaybePrefValue value(PrefValue(!!strtol(str, &str, 10))); +- MOZ_ASSERT(str[0] == '|'); +- str++; +- Pref pref(nsCString(ContentPrefs::GetEarlyPref(index)), +- /* isLocked */ false, value, MaybePrefValue()); +- prefsArray.AppendElement(pref); +- } +- foundBoolPrefs = true; +- } else if (!strcmp(aArgv[idx], "-stringPrefs")) { ++ MOZ_ASSERT(str[0] != '\0'); ++ // ContentParent uses %zu to print a word-sized unsigned integer. So even ++ // though strtoull() returns a long long int, it will fit in a uintptr_t. ++ prefsHandle = reinterpret_cast(strtoull(str, &str, 10)); ++ MOZ_ASSERT(str[0] == '\0'); ++ foundPrefsHandle = true; ++#endif ++ } else if (!strcmp(aArgv[idx], "-prefsLen")) { + char* str = aArgv[idx + 1]; +- while (*str) { +- int32_t index = strtol(str, &str, 10); +- MOZ_ASSERT(str[0] == ':'); +- str++; +- int32_t length = strtol(str, &str, 10); +- MOZ_ASSERT(str[0] == ';'); +- str++; +- MaybePrefValue value(PrefValue(nsCString(str, length))); +- Pref pref(nsCString(ContentPrefs::GetEarlyPref(index)), +- /* isLocked */ false, value, MaybePrefValue()); +- prefsArray.AppendElement(pref); +- str += length + 1; +- MOZ_ASSERT(*(str - 1) == '|'); +- } +- foundStringPrefs = true; ++ MOZ_ASSERT(str[0] != '\0'); ++ // ContentParent uses %zu to print a word-sized unsigned integer. So even ++ // though strtoull() returns a long long int, it will fit in a uintptr_t. ++ prefsLen = strtoull(str, &str, 10); ++ MOZ_ASSERT(str[0] == '\0'); ++ foundPrefsLen = true; + } else if (!strcmp(aArgv[idx], "-schedulerPrefs")) { + schedulerPrefs = aArgv[idx + 1]; + foundSchedulerPrefs = true; +@@ -209,21 +192,43 @@ ContentProcess::Init(int aArgc, char* aArgv[]) + bool allFound = foundAppdir + && foundChildID + && foundIsForBrowser +- && foundIntPrefs +- && foundBoolPrefs +- && foundStringPrefs +- && foundSchedulerPrefs; +- ++ && foundPrefsLen ++ && foundSchedulerPrefs ++#ifdef XP_WIN ++ && foundPrefsHandle ++#endif + #if defined(XP_MACOSX) && defined(MOZ_CONTENT_SANDBOX) +- allFound &= foundProfile; ++ && foundProfile + #endif ++ && true; + + if (allFound) { + break; + } + } + +- Preferences::SetEarlyPreferences(&prefsArray); ++#ifdef ANDROID ++ // Android is different; get the FD via gPrefsFd instead of a fixed fd. ++ MOZ_RELEASE_ASSERT(gPrefsFd != -1); ++ prefsHandle = base::FileDescriptor(gPrefsFd, /* auto_close */ true); ++#elif XP_UNIX ++ prefsHandle = base::FileDescriptor(kPrefsFileDescriptor, ++ /* auto_close */ true); ++#endif ++ ++ // Set up early prefs from the shared memory. ++ base::SharedMemory shm; ++ if (!shm.SetHandle(prefsHandle, /* read_only */ true)) { ++ NS_ERROR("failed to open shared memory in the child"); ++ return false; ++ } ++ if (!shm.Map(prefsLen)) { ++ NS_ERROR("failed to map shared memory in the child"); ++ return false; ++ } ++ Preferences::DeserializeEarlyPreferences(static_cast(shm.memory()), ++ prefsLen); ++ + Scheduler::SetPrefs(schedulerPrefs); + mContent.Init(IOThreadChild::message_loop(), + ParentPid(), +diff --git dom/ipc/ContentProcess.h dom/ipc/ContentProcess.h +index a3854c761e10..6582c94da496 100644 +--- dom/ipc/ContentProcess.h ++++ dom/ipc/ContentProcess.h +@@ -49,6 +49,11 @@ private: + DISALLOW_EVIL_CONSTRUCTORS(ContentProcess); + }; + ++#ifdef ANDROID ++// Android doesn't use -prefsHandle, it gets that FD another way. ++void SetPrefsFd(int aFd); ++#endif ++ + } // namespace dom + } // namespace mozilla + +diff --git ipc/chromium/src/base/process_util_win.cc ipc/chromium/src/base/process_util_win.cc +index 3ed54cd744ac..46667985cd71 100644 +--- ipc/chromium/src/base/process_util_win.cc ++++ ipc/chromium/src/base/process_util_win.cc +@@ -354,6 +354,10 @@ bool LaunchApp(const std::wstring& cmdline, + LPPROC_THREAD_ATTRIBUTE_LIST lpAttributeList = NULL; + std::vector handlesToInherit; + for (HANDLE h : options.handles_to_inherit) { ++ if (SetHandleInformation(h, HANDLE_FLAG_INHERIT, HANDLE_FLAG_INHERIT) == 0) { ++ MOZ_DIAGNOSTIC_ASSERT(false, "SetHandleInformation failed"); ++ return false; ++ } + handlesToInherit.push_back(h); + } + +diff --git ipc/glue/GeckoChildProcessHost.cpp ipc/glue/GeckoChildProcessHost.cpp +index d18ed9edd4ca..3be1c51d10bb 100644 +--- ipc/glue/GeckoChildProcessHost.cpp ++++ ipc/glue/GeckoChildProcessHost.cpp +@@ -1030,9 +1030,6 @@ GeckoChildProcessHost::PerformAsyncLaunchInternal(std::vector& aExt + + if (!CrashReporter::IsDummy()) { + PROsfd h = PR_FileDesc2NativeHandle(crashAnnotationWritePipe); +-# if defined(MOZ_SANDBOX) +- mSandboxBroker.AddHandleToShare(reinterpret_cast(h)); +-# endif // defined(MOZ_SANDBOX) + mLaunchOptions->handles_to_inherit.push_back(reinterpret_cast(h)); + std::string hStr = std::to_string(h); + cmdLine.AppendLooseValue(UTF8ToWide(hStr)); +@@ -1043,6 +1040,11 @@ GeckoChildProcessHost::PerformAsyncLaunchInternal(std::vector& aExt + + # if defined(MOZ_SANDBOX) + if (shouldSandboxCurrentProcess) { ++ // Mark the handles to inherit as inheritable. ++ for (HANDLE h : mLaunchOptions->handles_to_inherit) { ++ mSandboxBroker.AddHandleToShare(h); ++ } ++ + if (mSandboxBroker.LaunchApp(cmdLine.program().c_str(), + cmdLine.command_line_string().c_str(), + mLaunchOptions->env_map, +@@ -1180,7 +1182,7 @@ GeckoChildProcessHost::LaunchAndroidService(const char* type, + const base::file_handle_mapping_vector& fds_to_remap, + ProcessHandle* process_handle) + { +- MOZ_ASSERT((fds_to_remap.size() > 0) && (fds_to_remap.size() <= 3)); ++ MOZ_RELEASE_ASSERT((2 <= fds_to_remap.size()) && (fds_to_remap.size() <= 4)); + JNIEnv* const env = mozilla::jni::GetEnvForThread(); + MOZ_ASSERT(env); + +@@ -1189,21 +1191,25 @@ GeckoChildProcessHost::LaunchAndroidService(const char* type, + for (int ix = 0; ix < argvSize; ix++) { + jargs->SetElement(ix, jni::StringParam(argv[ix].c_str(), env)); + } +- base::file_handle_mapping_vector::const_iterator it = fds_to_remap.begin(); +- int32_t ipcFd = it->first; +- it++; +- // If the Crash Reporter is disabled, there will not be a second file descriptor. ++ ++ // XXX: this processing depends entirely on the internals of ++ // ContentParent::LaunchSubprocess() ++ // GeckoChildProcessHost::PerformAsyncLaunchInternal(), and the order in ++ // which they append to fds_to_remap. There must be a better way to do it. ++ // See bug 1440207. ++ int32_t prefsFd = fds_to_remap[0].first; ++ int32_t ipcFd = fds_to_remap[1].first; + int32_t crashFd = -1; + int32_t crashAnnotationFd = -1; +- if (it != fds_to_remap.end() && !CrashReporter::IsDummy()) { +- crashFd = it->first; +- it++; ++ if (fds_to_remap.size() == 3) { ++ crashAnnotationFd = fds_to_remap[2].first; + } +- if (it != fds_to_remap.end()) { +- crashAnnotationFd = it->first; +- it++; ++ if (fds_to_remap.size() == 4) { ++ crashFd = fds_to_remap[2].first; ++ crashAnnotationFd = fds_to_remap[3].first; + } +- int32_t handle = java::GeckoProcessManager::Start(type, jargs, ipcFd, crashFd, crashAnnotationFd); ++ ++ int32_t handle = java::GeckoProcessManager::Start(type, jargs, prefsFd, ipcFd, crashFd, crashAnnotationFd); + + if (process_handle) { + *process_handle = handle; +diff --git ipc/glue/GeckoChildProcessHost.h ipc/glue/GeckoChildProcessHost.h +index 631c42066bc7..0345e221abcc 100644 +--- ipc/glue/GeckoChildProcessHost.h ++++ ipc/glue/GeckoChildProcessHost.h +@@ -103,6 +103,16 @@ public: + } + #endif + ++#ifdef XP_WIN ++ void AddHandleToShare(HANDLE aHandle) { ++ mLaunchOptions->handles_to_inherit.push_back(aHandle); ++ } ++#else ++ void AddFdToRemap(int aSrcFd, int aDstFd) { ++ mLaunchOptions->fds_to_remap.push_back(std::make_pair(aSrcFd, aDstFd)); ++ } ++#endif ++ + /** + * Must run on the IO thread. Cause the OS process to exit and + * ensure its OS resources are cleaned up. +diff --git mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/process/IChildProcess.aidl mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/process/IChildProcess.aidl +index ba26ae1ba06b..a2535f44c72b 100644 +--- mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/process/IChildProcess.aidl ++++ mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/process/IChildProcess.aidl +@@ -12,6 +12,7 @@ import android.os.ParcelFileDescriptor; + interface IChildProcess { + int getPid(); + boolean start(in IProcessManager procMan, in String[] args, in Bundle extras, +- in ParcelFileDescriptor ipcPfd, in ParcelFileDescriptor crashReporterPfd, ++ in ParcelFileDescriptor prefsPfd, in ParcelFileDescriptor ipcPfd, ++ in ParcelFileDescriptor crashReporterPfd, + in ParcelFileDescriptor crashAnnotationPfd); + } +diff --git mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoThread.java mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoThread.java +index dfabfd05daf0..8311920afeec 100644 +--- mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoThread.java ++++ mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoThread.java +@@ -128,6 +128,7 @@ public class GeckoThread extends Thread { + public static final int FLAG_PRELOAD_CHILD = 2; // Preload child during main thread start. + + private static final String EXTRA_ARGS = "args"; ++ private static final String EXTRA_PREFS_FD = "prefsFd"; + private static final String EXTRA_IPC_FD = "ipcFd"; + private static final String EXTRA_CRASH_FD = "crashFd"; + private static final String EXTRA_CRASH_ANNOTATION_FD = "crashAnnotationFd"; +@@ -149,7 +150,8 @@ public class GeckoThread extends Thread { + + private synchronized boolean init(final GeckoProfile profile, final String[] args, + final Bundle extras, final int flags, +- final int ipcFd, final int crashFd, ++ final int prefsFd, final int ipcFd, ++ final int crashFd, + final int crashAnnotationFd) { + ThreadUtils.assertOnUiThread(); + uiThreadId = android.os.Process.myTid(); +@@ -163,6 +165,7 @@ public class GeckoThread extends Thread { + mFlags = flags; + + mExtras = (extras != null) ? new Bundle(extras) : new Bundle(3); ++ mExtras.putInt(EXTRA_PREFS_FD, prefsFd); + mExtras.putInt(EXTRA_IPC_FD, ipcFd); + mExtras.putInt(EXTRA_CRASH_FD, crashFd); + mExtras.putInt(EXTRA_CRASH_ANNOTATION_FD, crashAnnotationFd); +@@ -174,15 +177,16 @@ public class GeckoThread extends Thread { + + public static boolean initMainProcess(final GeckoProfile profile, final String[] args, + final Bundle extras, final int flags) { +- return INSTANCE.init(profile, args, extras, flags, ++ return INSTANCE.init(profile, args, extras, flags, /* fd */ -1, + /* fd */ -1, /* fd */ -1, /* fd */ -1); + } + + public static boolean initChildProcess(final String[] args, final Bundle extras, +- final int ipcFd, final int crashFd, ++ final int prefsFd, final int ipcFd, ++ final int crashFd, + final int crashAnnotationFd) { + return INSTANCE.init(/* profile */ null, args, extras, /* flags */ 0, +- ipcFd, crashFd, crashAnnotationFd); ++ prefsFd, ipcFd, crashFd, crashAnnotationFd); + } + + private static boolean canUseProfile(final Context context, final GeckoProfile profile, +@@ -442,6 +446,7 @@ public class GeckoThread extends Thread { + + // And go. + GeckoLoader.nativeRun(args, ++ mExtras.getInt(EXTRA_PREFS_FD, -1), + mExtras.getInt(EXTRA_IPC_FD, -1), + mExtras.getInt(EXTRA_CRASH_FD, -1), + mExtras.getInt(EXTRA_CRASH_ANNOTATION_FD, -1)); +diff --git mobile/android/geckoview/src/main/java/org/mozilla/gecko/mozglue/GeckoLoader.java mobile/android/geckoview/src/main/java/org/mozilla/gecko/mozglue/GeckoLoader.java +index b1830fd86945..ac128b651e7b 100644 +--- mobile/android/geckoview/src/main/java/org/mozilla/gecko/mozglue/GeckoLoader.java ++++ mobile/android/geckoview/src/main/java/org/mozilla/gecko/mozglue/GeckoLoader.java +@@ -463,7 +463,7 @@ public final class GeckoLoader { + public static native boolean verifyCRCs(String apkName); + + // These methods are implemented in mozglue/android/APKOpen.cpp +- public static native void nativeRun(String[] args, int ipcFd, int crashFd, int crashAnnotationFd); ++ public static native void nativeRun(String[] args, int prefsFd, int ipcFd, int crashFd, int crashAnnotationFd); + private static native void loadGeckoLibsNative(String apkName); + private static native void loadSQLiteLibsNative(String apkName); + private static native void loadNSSLibsNative(String apkName); +diff --git mobile/android/geckoview/src/main/java/org/mozilla/gecko/process/GeckoProcessManager.java mobile/android/geckoview/src/main/java/org/mozilla/gecko/process/GeckoProcessManager.java +index b762e1c9a3eb..dba329ba8f92 100644 +--- mobile/android/geckoview/src/main/java/org/mozilla/gecko/process/GeckoProcessManager.java ++++ mobile/android/geckoview/src/main/java/org/mozilla/gecko/process/GeckoProcessManager.java +@@ -169,14 +169,14 @@ public final class GeckoProcessManager extends IProcessManager.Stub { + + @WrapForJNI + private static int start(final String type, final String[] args, +- final int ipcFd, final int crashFd, +- final int crashAnnotationFd) { +- return INSTANCE.start(type, args, ipcFd, crashFd, crashAnnotationFd, /* retry */ false); ++ final int prefsFd, final int ipcFd, ++ final int crashFd, final int crashAnnotationFd) { ++ return INSTANCE.start(type, args, prefsFd, ipcFd, crashFd, crashAnnotationFd, /* retry */ false); + } + +- private int start(final String type, final String[] args, final int ipcFd, +- final int crashFd, final int crashAnnotationFd, +- final boolean retry) { ++ private int start(final String type, final String[] args, final int prefsFd, ++ final int ipcFd, final int crashFd, ++ final int crashAnnotationFd, final boolean retry) { + final ChildConnection connection = getConnection(type); + final IChildProcess child = connection.bind(); + if (child == null) { +@@ -184,10 +184,12 @@ public final class GeckoProcessManager extends IProcessManager.Stub { + } + + final Bundle extras = GeckoThread.getActiveExtras(); ++ final ParcelFileDescriptor prefsPfd; + final ParcelFileDescriptor ipcPfd; + final ParcelFileDescriptor crashPfd; + final ParcelFileDescriptor crashAnnotationPfd; + try { ++ prefsPfd = ParcelFileDescriptor.fromFd(prefsFd); + ipcPfd = ParcelFileDescriptor.fromFd(ipcFd); + crashPfd = (crashFd >= 0) ? ParcelFileDescriptor.fromFd(crashFd) : null; + crashAnnotationPfd = (crashAnnotationFd >= 0) ? ParcelFileDescriptor.fromFd(crashAnnotationFd) : null; +@@ -198,7 +200,8 @@ public final class GeckoProcessManager extends IProcessManager.Stub { + + boolean started = false; + try { +- started = child.start(this, args, extras, ipcPfd, crashPfd, crashAnnotationPfd); ++ started = child.start(this, args, extras, prefsPfd, ipcPfd, crashPfd, ++ crashAnnotationPfd); + } catch (final RemoteException e) { + } + +@@ -209,7 +212,7 @@ public final class GeckoProcessManager extends IProcessManager.Stub { + } + Log.w(LOGTAG, "Attempting to kill running child " + type); + connection.unbind(); +- return start(type, args, ipcFd, crashFd, crashAnnotationFd, /* retry */ true); ++ return start(type, args, prefsFd, ipcFd, crashFd, crashAnnotationFd, /* retry */ true); + } + + try { +diff --git mobile/android/geckoview/src/main/java/org/mozilla/gecko/process/GeckoServiceChildProcess.java mobile/android/geckoview/src/main/java/org/mozilla/gecko/process/GeckoServiceChildProcess.java +index f1f6ce109fda..6dc19813fc10 100644 +--- mobile/android/geckoview/src/main/java/org/mozilla/gecko/process/GeckoServiceChildProcess.java ++++ mobile/android/geckoview/src/main/java/org/mozilla/gecko/process/GeckoServiceChildProcess.java +@@ -63,6 +63,7 @@ public class GeckoServiceChildProcess extends Service { + public boolean start(final IProcessManager procMan, + final String[] args, + final Bundle extras, ++ final ParcelFileDescriptor prefsPfd, + final ParcelFileDescriptor ipcPfd, + final ParcelFileDescriptor crashReporterPfd, + final ParcelFileDescriptor crashAnnotationPfd) { +@@ -74,6 +75,7 @@ public class GeckoServiceChildProcess extends Service { + sProcessManager = procMan; + } + ++ final int prefsFd = prefsPfd.detachFd(); + final int ipcFd = ipcPfd.detachFd(); + final int crashReporterFd = crashReporterPfd != null ? + crashReporterPfd.detachFd() : -1; +@@ -83,7 +85,7 @@ public class GeckoServiceChildProcess extends Service { + ThreadUtils.postToUiThread(new Runnable() { + @Override + public void run() { +- if (GeckoThread.initChildProcess(args, extras, ipcFd, crashReporterFd, ++ if (GeckoThread.initChildProcess(args, extras, prefsFd, ipcFd, crashReporterFd, + crashAnnotationFd)) { + GeckoThread.launch(); + } +diff --git modules/libpref/Preferences.cpp modules/libpref/Preferences.cpp +index 330ed4a09b54..b884591c9271 100644 +--- modules/libpref/Preferences.cpp ++++ modules/libpref/Preferences.cpp +@@ -2920,7 +2920,7 @@ public: + + } // namespace + +-// A list of prefs sent early from the parent, via the command line. ++// A list of prefs sent early from the parent, via shared memory. + static InfallibleTArray* gEarlyDomPrefs; + + /* static */ already_AddRefed +@@ -3081,11 +3081,130 @@ NS_IMPL_ISUPPORTS(Preferences, + nsISupportsWeakReference) + + /* static */ void +-Preferences::SetEarlyPreferences(const nsTArray* aDomPrefs) ++Preferences::SerializeEarlyPreferences(nsCString& aStr) ++{ ++ MOZ_RELEASE_ASSERT(InitStaticMembers()); ++ ++ nsAutoCStringN<256> boolPrefs, intPrefs, stringPrefs; ++ size_t numEarlyPrefs; ++ dom::ContentPrefs::GetEarlyPrefs(&numEarlyPrefs); ++ ++ for (unsigned int i = 0; i < numEarlyPrefs; i++) { ++ const char* prefName = dom::ContentPrefs::GetEarlyPref(i); ++ MOZ_ASSERT_IF(i > 0, ++ strcmp(prefName, dom::ContentPrefs::GetEarlyPref(i - 1)) > 0); ++ ++ Pref* pref = pref_HashTableLookup(prefName); ++ if (!pref || !pref->MustSendToContentProcesses()) { ++ continue; ++ } ++ ++ switch (pref->Type()) { ++ case PrefType::Bool: ++ boolPrefs.Append( ++ nsPrintfCString("%u:%d|", i, Preferences::GetBool(prefName))); ++ break; ++ case PrefType::Int: ++ intPrefs.Append( ++ nsPrintfCString("%u:%d|", i, Preferences::GetInt(prefName))); ++ break; ++ case PrefType::String: { ++ nsAutoCString value; ++ Preferences::GetCString(prefName, value); ++ stringPrefs.Append( ++ nsPrintfCString("%u:%d;%s|", i, value.Length(), value.get())); ++ } break; ++ case PrefType::None: ++ break; ++ default: ++ printf_stderr("preference type: %d\n", int(pref->Type())); ++ MOZ_CRASH(); ++ } ++ } ++ ++ aStr.Truncate(); ++ aStr.Append(boolPrefs); ++ aStr.Append('\n'); ++ aStr.Append(intPrefs); ++ aStr.Append('\n'); ++ aStr.Append(stringPrefs); ++ aStr.Append('\n'); ++ aStr.Append('\0'); ++} ++ ++/* static */ void ++Preferences::DeserializeEarlyPreferences(char* aStr, size_t aStrLen) + { + MOZ_ASSERT(!XRE_IsParentProcess()); + +- gEarlyDomPrefs = new InfallibleTArray(mozilla::Move(*aDomPrefs)); ++ MOZ_ASSERT(!gEarlyDomPrefs); ++ gEarlyDomPrefs = new InfallibleTArray(); ++ ++ char* p = aStr; ++ ++ // XXX: we assume these pref values are default values, which may not be ++ // true. We also assume they are unlocked. Fortunately, these prefs get reset ++ // properly by the first IPC message. ++ ++ // Get the bool prefs. ++ while (*p != '\n') { ++ int32_t index = strtol(p, &p, 10); ++ MOZ_ASSERT(p[0] == ':'); ++ p++; ++ int v = strtol(p, &p, 10); ++ MOZ_ASSERT(v == 0 || v == 1); ++ dom::MaybePrefValue value(dom::PrefValue(!!v)); ++ MOZ_ASSERT(p[0] == '|'); ++ p++; ++ dom::Pref pref(nsCString(dom::ContentPrefs::GetEarlyPref(index)), ++ /* isLocked */ false, ++ value, ++ dom::MaybePrefValue()); ++ gEarlyDomPrefs->AppendElement(pref); ++ } ++ p++; ++ ++ // Get the int prefs. ++ while (*p != '\n') { ++ int32_t index = strtol(p, &p, 10); ++ MOZ_ASSERT(p[0] == ':'); ++ p++; ++ dom::MaybePrefValue value( ++ dom::PrefValue(static_cast(strtol(p, &p, 10)))); ++ MOZ_ASSERT(p[0] == '|'); ++ p++; ++ dom::Pref pref(nsCString(dom::ContentPrefs::GetEarlyPref(index)), ++ /* isLocked */ false, ++ value, ++ dom::MaybePrefValue()); ++ gEarlyDomPrefs->AppendElement(pref); ++ } ++ p++; ++ ++ // Get the string prefs. ++ while (*p != '\n') { ++ int32_t index = strtol(p, &p, 10); ++ MOZ_ASSERT(p[0] == ':'); ++ p++; ++ int32_t length = strtol(p, &p, 10); ++ MOZ_ASSERT(p[0] == ';'); ++ p++; ++ dom::MaybePrefValue value(dom::PrefValue(nsCString(p, length))); ++ dom::Pref pref(nsCString(dom::ContentPrefs::GetEarlyPref(index)), ++ /* isLocked */ false, ++ value, ++ dom::MaybePrefValue()); ++ gEarlyDomPrefs->AppendElement(pref); ++ p += length + 1; ++ MOZ_ASSERT(*(p - 1) == '|'); ++ } ++ p++; ++ ++ MOZ_ASSERT(*p == '\0'); ++ ++ // We finished parsing on a '\0'. That should be the last char in the shared ++ // memory. ++ MOZ_ASSERT(aStr + aStrLen - 1 == p); + + #ifdef DEBUG + MOZ_ASSERT(gPhase == ContentProcessPhase::eNoPrefsSet); +@@ -4298,15 +4417,6 @@ Preferences::HasUserValue(const char* aPrefName) + return pref && pref->HasUserValue(); + } + +-/* static */ bool +-Preferences::MustSendToContentProcesses(const char* aPrefName) +-{ +- NS_ENSURE_TRUE(InitStaticMembers(), false); +- +- Pref* pref = pref_HashTableLookup(aPrefName); +- return pref && pref->MustSendToContentProcesses(); +-} +- + /* static */ int32_t + Preferences::GetType(const char* aPrefName) + { +diff --git modules/libpref/Preferences.h modules/libpref/Preferences.h +index 1cb825ecbfe5..c149db62b525 100644 +--- modules/libpref/Preferences.h ++++ modules/libpref/Preferences.h +@@ -41,6 +41,11 @@ class PrefValue; + + struct PrefsSizes; + ++#ifdef XP_UNIX ++// XXX: bug 1440207 is about improving how fixed fds such as this are used. ++static const int kPrefsFileDescriptor = 8; ++#endif ++ + // Keep this in sync with PrefType in parser/src/lib.rs. + enum class PrefValueKind : uint8_t + { +@@ -230,9 +235,6 @@ public: + // Whether the pref has a user value or not. + static bool HasUserValue(const char* aPref); + +- // Must the pref be sent to content processes when they start? +- static bool MustSendToContentProcesses(const char* aPref); +- + // Adds/Removes the observer for the root pref branch. See nsIPrefBranch.idl + // for details. + static nsresult AddStrongObserver(nsIObserver* aObserver, const char* aPref); +@@ -328,11 +330,12 @@ public: + + // When a content process is created these methods are used to pass prefs in + // bulk from the parent process. "Early" preferences are ones that are needed +- // very early on in the content process's lifetime; they are passed via the +- // command line. "Late" preferences are the remainder, which are passed via +- // IPC message. ++ // very early on in the content process's lifetime; they are passed via a ++ // special shared memory segment. "Late" preferences are the remainder, which ++ // are passed via a standard IPC message. ++ static void SerializeEarlyPreferences(nsCString& aStr); ++ static void DeserializeEarlyPreferences(char* aStr, size_t aStrLen); + static void GetPreferences(InfallibleTArray* aSettings); +- static void SetEarlyPreferences(const nsTArray* aSettings); + static void SetLatePreferences(const nsTArray* aSettings); + + // When a single pref is changed in the parent process, these methods are +diff --git mozglue/android/APKOpen.cpp mozglue/android/APKOpen.cpp +index 5f1ef55b605e..b57192488725 100644 +--- mozglue/android/APKOpen.cpp ++++ mozglue/android/APKOpen.cpp +@@ -392,7 +392,7 @@ FreeArgv(char** argv, int argc) + } + + extern "C" APKOPEN_EXPORT void MOZ_JNICALL +-Java_org_mozilla_gecko_mozglue_GeckoLoader_nativeRun(JNIEnv *jenv, jclass jc, jobjectArray jargs, int ipcFd, int crashFd, int crashAnnotationFd) ++Java_org_mozilla_gecko_mozglue_GeckoLoader_nativeRun(JNIEnv *jenv, jclass jc, jobjectArray jargs, int prefsFd, int ipcFd, int crashFd, int crashAnnotationFd) + { + int argc = 0; + char** argv = CreateArgvFromObjectArray(jenv, jargs, &argc); +@@ -407,7 +407,7 @@ Java_org_mozilla_gecko_mozglue_GeckoLoader_nativeRun(JNIEnv *jenv, jclass jc, jo + gBootstrap->GeckoStart(jenv, argv, argc, sAppData); + ElfLoader::Singleton.ExpectShutdown(true); + } else { +- gBootstrap->XRE_SetAndroidChildFds(jenv, ipcFd, crashFd, crashAnnotationFd); ++ gBootstrap->XRE_SetAndroidChildFds(jenv, prefsFd, ipcFd, crashFd, crashAnnotationFd); + gBootstrap->XRE_SetProcessType(argv[argc - 1]); + + XREChildData childData; +diff --git toolkit/xre/Bootstrap.cpp toolkit/xre/Bootstrap.cpp +index 5688519822a9..7e857969a4fb 100644 +--- toolkit/xre/Bootstrap.cpp ++++ toolkit/xre/Bootstrap.cpp +@@ -78,8 +78,8 @@ public: + ::GeckoStart(aEnv, argv, argc, aAppData); + } + +- virtual void XRE_SetAndroidChildFds(JNIEnv* aEnv, int aIPCFd, int aCrashFd, int aCrashAnnotationFd) override { +- ::XRE_SetAndroidChildFds(aEnv, aIPCFd, aCrashFd, aCrashAnnotationFd); ++ virtual void XRE_SetAndroidChildFds(JNIEnv* aEnv, int aPrefsFd, int aIPCFd, int aCrashFd, int aCrashAnnotationFd) override { ++ ::XRE_SetAndroidChildFds(aEnv, aPrefsFd, aIPCFd, aCrashFd, aCrashAnnotationFd); + } + #endif + +diff --git toolkit/xre/Bootstrap.h toolkit/xre/Bootstrap.h +index 686d0a38e324..77adcef80e1f 100644 +--- toolkit/xre/Bootstrap.h ++++ toolkit/xre/Bootstrap.h +@@ -113,7 +113,7 @@ public: + #ifdef MOZ_WIDGET_ANDROID + virtual void GeckoStart(JNIEnv* aEnv, char** argv, int argc, const StaticXREAppData& aAppData) = 0; + +- virtual void XRE_SetAndroidChildFds(JNIEnv* aEnv, int aIPCFd, int aCrashFd, int aCrashAnnotationFd) = 0; ++ virtual void XRE_SetAndroidChildFds(JNIEnv* aEnv, int aPrefsFd, int aIPCFd, int aCrashFd, int aCrashAnnotationFd) = 0; + #endif + + #ifdef LIBFUZZER +diff --git toolkit/xre/nsEmbedFunctions.cpp toolkit/xre/nsEmbedFunctions.cpp +index 53bd2bc2eb47..83184e97ba92 100644 +--- toolkit/xre/nsEmbedFunctions.cpp ++++ toolkit/xre/nsEmbedFunctions.cpp +@@ -243,9 +243,10 @@ GeckoProcessType sChildProcessType = GeckoProcessType_Default; + + #if defined(MOZ_WIDGET_ANDROID) + void +-XRE_SetAndroidChildFds (JNIEnv* env, int ipcFd, int crashFd, int crashAnnotationFd) ++XRE_SetAndroidChildFds (JNIEnv* env, int prefsFd, int ipcFd, int crashFd, int crashAnnotationFd) + { + mozilla::jni::SetGeckoThreadEnv(env); ++ mozilla::dom::SetPrefsFd(prefsFd); + IPC::Channel::SetClientChannelFd(ipcFd); + CrashReporter::SetNotificationPipeForChild(crashFd); + CrashReporter::SetCrashAnnotationPipeForChild(crashAnnotationFd); +diff --git widget/android/GeneratedJNIWrappers.cpp widget/android/GeneratedJNIWrappers.cpp +index e3f6af0cc575..4165df59f0e8 100644 +--- widget/android/GeneratedJNIWrappers.cpp ++++ widget/android/GeneratedJNIWrappers.cpp +@@ -2355,9 +2355,9 @@ constexpr char GeckoProcessManager::GetEditableParent_t::signature[]; + constexpr char GeckoProcessManager::Start_t::name[]; + constexpr char GeckoProcessManager::Start_t::signature[]; + +-auto GeckoProcessManager::Start(mozilla::jni::String::Param a0, mozilla::jni::ObjectArray::Param a1, int32_t a2, int32_t a3, int32_t a4) -> int32_t ++auto GeckoProcessManager::Start(mozilla::jni::String::Param a0, mozilla::jni::ObjectArray::Param a1, int32_t a2, int32_t a3, int32_t a4, int32_t a5) -> int32_t + { +- return mozilla::jni::Method::Call(GeckoProcessManager::Context(), nullptr, a0, a1, a2, a3, a4); ++ return mozilla::jni::Method::Call(GeckoProcessManager::Context(), nullptr, a0, a1, a2, a3, a4, a5); + } + + const char GeckoServiceChildProcess::name[] = +diff --git widget/android/GeneratedJNIWrappers.h widget/android/GeneratedJNIWrappers.h +index ece79ac94a71..228affa1e550 100644 +--- widget/android/GeneratedJNIWrappers.h ++++ widget/android/GeneratedJNIWrappers.h +@@ -6696,10 +6696,11 @@ public: + mozilla::jni::ObjectArray::Param, + int32_t, + int32_t, ++ int32_t, + int32_t> Args; + static constexpr char name[] = "start"; + static constexpr char signature[] = +- "(Ljava/lang/String;[Ljava/lang/String;III)I"; ++ "(Ljava/lang/String;[Ljava/lang/String;IIII)I"; + static const bool isStatic = true; + static const mozilla::jni::ExceptionMode exceptionMode = + mozilla::jni::ExceptionMode::ABORT; +@@ -6709,7 +6710,7 @@ public: + mozilla::jni::DispatchTarget::CURRENT; + }; + +- static auto Start(mozilla::jni::String::Param, mozilla::jni::ObjectArray::Param, int32_t, int32_t, int32_t) -> int32_t; ++ static auto Start(mozilla::jni::String::Param, mozilla::jni::ObjectArray::Param, int32_t, int32_t, int32_t, int32_t) -> int32_t; + + static const mozilla::jni::CallingThread callingThread = + mozilla::jni::CallingThread::ANY; +diff --git xpcom/build/nsXULAppAPI.h xpcom/build/nsXULAppAPI.h +index 94f6daf864c9..d6ac10d51d76 100644 +--- xpcom/build/nsXULAppAPI.h ++++ xpcom/build/nsXULAppAPI.h +@@ -398,7 +398,7 @@ XRE_API(const char*, + + #if defined(MOZ_WIDGET_ANDROID) + XRE_API(void, +- XRE_SetAndroidChildFds, (JNIEnv* env, int ipcFd, int crashFd, int crashAnnotationFd)) ++ XRE_SetAndroidChildFds, (JNIEnv* env, int prefsFd, int ipcFd, int crashFd, int crashAnnotationFd)) + #endif // defined(MOZ_WIDGET_ANDROID) + + XRE_API(void, diff --git a/www/firefox/files/patch-bug1442791 b/www/firefox/files/patch-bug1442791 new file mode 100644 index 000000000000..fe097d8375d2 --- /dev/null +++ b/www/firefox/files/patch-bug1442791 @@ -0,0 +1,33 @@ +Build Linux version of GetExecutablePathImpl() on other Unix systems + +ANGLE system_utils* are unused in Gecko. +https://searchfox.org/mozilla-central/search?regexp=true&q=\bGetExecutable%28Path%7CDirectory%29\B + +diff --git gfx/angle/targets/angle_common/moz.build gfx/angle/targets/angle_common/moz.build +index bd4b743ec0dd..3c0dbfae491a 100644 +--- gfx/angle/targets/angle_common/moz.build ++++ gfx/angle/targets/angle_common/moz.build +@@ -118,17 +118,17 @@ SOURCES += [ + '../../checkout/src/common/uniform_type_info_autogen.cpp', + '../../checkout/src/common/utilities.cpp', + ] +-if CONFIG['OS_ARCH'] == 'Darwin': ++if CONFIG['OS_ARCH'] == 'WINNT': + SOURCES += [ +- '../../checkout/src/common/system_utils_mac.cpp', ++ '../../checkout/src/common/system_utils_win.cpp', + ] +-if CONFIG['OS_ARCH'] == 'Linux': ++elif CONFIG['OS_ARCH'] == 'Darwin': + SOURCES += [ +- '../../checkout/src/common/system_utils_linux.cpp', ++ '../../checkout/src/common/system_utils_mac.cpp', + ] +-if CONFIG['OS_ARCH'] == 'WINNT': ++else: # Android, Linux, BSDs, etc. + SOURCES += [ +- '../../checkout/src/common/system_utils_win.cpp', ++ '../../checkout/src/common/system_utils_linux.cpp', + ] + # + #LDFLAGS += [ diff --git a/www/firefox/files/patch-bug1444083 b/www/firefox/files/patch-bug1444083 deleted file mode 100644 index 9163fe84acb6..000000000000 --- a/www/firefox/files/patch-bug1444083 +++ /dev/null @@ -1,17 +0,0 @@ -Disable custom styling for dropdowns (more than 40 options) - pref("dom.forms.selectSearch", false); - // Allow for webpages to provide custom styling for