Граф коммитов

7228 Коммитов

Автор SHA1 Сообщение Дата
Jan Horak 8d50dc0b07 Bug 1297686 - List GIO handlers in the protocol handler list, in the handlers dialog, and in preferences. r=paolo
The nsGIOService now provides GetAppsForURIScheme which is used to append handlers
for specific scheme in handler list dialog (toolkit/mozapps/handling/content/dialog.js)
and also in Applications section in preferences. In case the default system handler
or user added handler has same name as one of the GIO handlers, the GIO handler
is not appended. The check for not adding handler is by using handler name.

The nsGIOMimeApp class now implements nsIHandlerApp interface. Instead overloaded
GetName methods (nsCString and nsString) we now use nsString variant everywhere.
This require change of nsGNOMERegistry::GetFromType which if fact leads to code
simplification.

The implementation of nsGNOMEShellService::SetDefaultBrowser has been changed
because implementation of CreateAppFromCommand has changed.
The CreateAppFromCommand no longer tries to find the application,
for that FindAppFromCommand has been introduced.

MozReview-Commit-ID: KmfFWRPqV3

--HG--
extra : source : 9660ff09c2212cb7456e50cb166752f42e0a0669
extra : amend_source : 3c5fc61fe09b9b68bdfbb9683335cedd4d706744
2017-12-29 07:27:42 +00:00
Cosmin Sabou 43e1d34ab4 Backed out changeset 9660ff09c221 (bug 1297686) for xpcshell failures at uriloader/exthandler/tests/unit/test_handlerService_json.js r=backout on a CLOSED TREE 2017-12-28 19:41:50 +02:00
Jan Horak 5b4fd25730 Bug 1297686 - List GIO handlers in the protocol handler list, in the handlers dialog, and in preferences. r=paolo
The nsGIOService now provides GetAppsForURIScheme which is used to append handlers
for specific scheme in handler list dialog (toolkit/mozapps/handling/content/dialog.js)
and also in Applications section in preferences. In case the default system handler
or user added handler has same name as one of the GIO handlers, the GIO handler
is not appended. The check for not adding handler is by using handler name.

The nsGIOMimeApp class now implements nsIHandlerApp interface. Instead overloaded
GetName methods (nsCString and nsString) we now use nsString variant everywhere.
This require change of nsGNOMERegistry::GetFromType which if fact leads to code
simplification.

The implementation of nsGNOMEShellService::SetDefaultBrowser has been changed
because implementation of CreateAppFromCommand has changed.
The CreateAppFromCommand no longer tries to find the application,
for that FindAppFromCommand has been introduced.

MozReview-Commit-ID: KmfFWRPqV3

--HG--
extra : rebase_source : 36d254cbc45cbe6929cc469cd531211f7ddd6a64
2017-12-28 15:25:32 +00:00
Tom Prince f8e4948e67 Bug 1426528: Pass paths to extra dmg files explicitly when packing; r=glandium
MozReview-Commit-ID: FKwZcNycUW8

--HG--
extra : rebase_source : 3972c8719c58e03483a7d2bded1705df0a82dfda
2017-12-21 13:38:35 -07:00
Andrew Swan c55f9a4a8a Bug 1426563 Fix test_temporary.js on non-nightly channels r=mixedpuppy
In the test of temporary installation of webextension experiments,
the test certificate shim code was marking the test addon as
privileged which allowed it to be loaded, fix that here.

MozReview-Commit-ID: IaZshrMNr3v

--HG--
extra : rebase_source : 34bcd94c6e687c63aadce7cb8d6b07a9ce525597
2017-12-21 12:12:18 -08:00
Sebastian Hengst bc8e5f198e Backed out 2 changesets (bug 1379338) for failing Marionette headless' test_anonymous_content.py TestAnonymousNodes.test_find_anonymous_children. r=backout on a CLOSED TREE
Backed out changeset 232c97d7c2ea (bug 1379338)
Backed out changeset a76ff10b9bff (bug 1379338)
2018-01-04 20:15:18 +02:00
Myk Melez f5bb45814e Bug 1379338 - scriptify preferences XBL; r=jaws
MozReview-Commit-ID: 7NRHlSsdOtf
2018-01-04 07:34:15 -08:00
Sylvestre Ledru cf819c1491 Bug 1426623 - Remove a duplicate declaration in packager.mk DONTBUILD r=marco
MozReview-Commit-ID: J77Vz72IvKg

--HG--
extra : rebase_source : 4d964841753adc26b55724e227adf38f762e6292
2017-12-21 11:18:50 +01:00
Florian Quèze 22c55eb7b7 Bug 1421992 - Hand written cleanup patch to make tests pass after removing obsolete xpcshell functions. r=Gijs,ochameau a=Aryx 2017-12-21 11:11:57 +01:00
Florian Quèze 0f55cd45be Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs. 2017-12-21 11:10:23 +01:00
Florian Quèze 032c961e0a Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs. 2017-12-21 11:08:17 +01:00
Sylvestre Ledru 4b23f17710 Bug 1426083 - Support spaces when dealing with multilocale.json r=gps
MozReview-Commit-ID: Io4fRdcOd1j

--HG--
extra : rebase_source : c352ef401e6264d24fe02e34d8d5d3ebdca85fb0
2017-12-19 11:22:57 +01:00
Dorel Luca 8d7dc32e0f Merge mozilla-inbound to mozilla-central r=merge a=merge
--HG--
extra : amend_source : ab6e52d7abe431d1530dac3f5b0b09f7a8c18d62
2017-12-19 12:08:53 +02:00
Robert Strong d7bc24a8d9 Bug 1425920 - Change telemetry value for DWNLD_RESUME_FAILURE from 15 to 16 so it isn't reusing the value for DWNLD_ERR_VERIFY_NO_HASH_MATCH to simplify the out of date dashboard. r=mhowell 2017-12-18 11:36:37 -08:00
Ting-Yu Chou a5fdd873e9 Bug 1360650 part 1 - Archive pdb files of the binaries for llvm-symbolizer. r=ted 2017-12-18 11:26:02 -05:00
Andrew Swan b71f9b4b1a Bug 1423425 Stop reading the Extension.jsm module object in specialpowers r=kmag
The return value from Cu.import() does not include lexically scoped
symbols so stop using it here.  Also stop using Extension.generate()
while we're here.

MozReview-Commit-ID: HnX3RGgDHbR

--HG--
extra : rebase_source : b4e238f2a5f1c9dce838b4dd70447edd9f401c10
2017-12-18 10:32:23 -08:00
Gurzau Raul bc6e59d2b4 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-19 00:00:36 +02:00
Gijs Kruitbosch ffc0ed12d2 Bug 1425363 - remove onWindowTitleChanged given that nobody uses it, r=bgrins
MozReview-Commit-ID: ALslAwZo4K9

--HG--
extra : rebase_source : ca1add0015eea86128c0c5f209252ebb6a228998
2017-12-14 21:55:44 -06:00
Andrew Swan 0fb60e623e Bug 1394121 Let legacy extensions be installed temporarily r=kmag
MozReview-Commit-ID: 4fiA8vvCjmr

--HG--
extra : rebase_source : 41b7a47f9da4c8f7ca863168c118d2f934446d07
2017-12-07 14:52:10 -08:00
Narcis Beleuzu 8274652feb Backed out changeset effe32c10525 (bug 1394121) for ESlint failure on test_temporary.js r=backout on a CLOSED TREE 2017-12-15 01:58:29 +02:00
Andrew Swan 676c015ddb Bug 1394121 Let legacy extensions be installed temporarily r=kmag
MozReview-Commit-ID: 4fiA8vvCjmr

--HG--
extra : rebase_source : 56e2e6a6637b9446b0d7d148598125a116ea376c
2017-12-07 14:52:10 -08:00
Masatoshi Kimura 295faed3f9 Bug 1418914 - Move E10SUtils.jsm into toolkit/. r=mossop
MozReview-Commit-ID: EgDzEEKAeh1

--HG--
rename : browser/modules/E10SUtils.jsm => toolkit/modules/E10SUtils.jsm
extra : rebase_source : 0920ce818773af797a0daf3cf4ae90af41d71d2a
2017-12-12 21:35:16 +09:00
Andrew Swan 3c6759d100 Bug 1424279 Limit search terms from about:addons to 100 characters r=rhelmer
MozReview-Commit-ID: 3BBXcsOVmqe

--HG--
extra : rebase_source : 155260fb842d1c7d3914e4144075bfc2d3a0df93
2017-12-12 14:35:53 -08:00
Ciure Andrei 3373df795c Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-12-12 11:56:40 +02:00
Dragana Damjanovic 1ee1f7ed9c Bug 1409449 - Update test for bug 1409449. r=:ckerschb 2017-12-12 10:34:42 +01:00
Andrew Swan 9e311e87d6 Bug 1424516 Remove some overlooked addon purchasing bits r=rhelmer
MozReview-Commit-ID: Lt8AcrgxUrx

--HG--
extra : rebase_source : 24a70ea9a7b87fb43d3379176ef362274e8c5832
2017-12-09 14:33:22 -08:00
Masatoshi Kimura 7db9359bb4 Bug 1417842 - Make Cu.readFile and Cu.readURI UTF-8 aware. r=erahm
MozReview-Commit-ID: NwQSoAFzjL

--HG--
extra : rebase_source : 5e11234b57dfa2cee7914da0ebf1af2c037041e3
2017-11-30 20:10:44 +09:00
Andrew Swan 0a51e1ac64 Bug 1263313 Remove search pane from about:addons r=rhelmer
Also remove related code that was only used from here including
stuff related to marketplace purchases, etc.

MozReview-Commit-ID: ESX78tVQK7M

--HG--
extra : rebase_source : 56d956168f75cdc40fd3df057e41493f80733352
2017-12-05 21:17:13 -08:00
Andrew Swan b0dd2b0198 Bug 1263313 Switch search to AMO r=rhelmer
MozReview-Commit-ID: 6FO2dgI5WdH

--HG--
extra : rebase_source : 57ad54c0483f07248ab17e67a5250c27f8db8d36
2017-12-05 21:07:09 -08:00
Andrew Swan 755fde92c8 Bug 1263313 Remove tests of old about:addons search r=rhelmer
Also consolidated the two .ini files in toolkit/mozapps/extension/test/browser
since we only run these tests in tabs now.

MozReview-Commit-ID: HHwM4Q1K5C8

--HG--
extra : rebase_source : 6db3527ee6973946d188fa70dc8af1c008094d49
2017-12-06 10:49:25 -08:00
Sylvestre Ledru 5de63ef061 Bug 1394734 - Replace CONFIG['MSVC'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 5orfnoude7h

--HG--
extra : rebase_source : 1ed9a6b56e1d27221a07624767a7fb0e6147117f
2017-12-08 13:46:13 +01:00
Sylvestre Ledru 9bfe27d903 Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 7duJk2gSd4m

--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Cosmin Sabou c191e25cf5 Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-12-08 11:56:44 +02:00
Bill McCloskey 937af89369 Bug 1412456 - Allow CPOWs without interposition (r=aswan)
MozReview-Commit-ID: G1Y6ztyYKA6
2017-12-07 12:55:29 -08:00
Bill McCloskey 9f4d083047 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-07 12:55:24 -08:00
Tom Prince cb26557eaa Bug 1424098: Support spaces in MOZ_MACBUNDLE_NAME when signing packages; r=glandium
MozReview-Commit-ID: 4xn1piRnVSU

--HG--
extra : rebase_source : 49a0b703877a68dff0951037b6154fdb34fd1003
2017-12-07 16:58:34 -07:00
Nick Alexander 0cf6550d5a Bug 1417232 - Part 2: Extract magic Gradle configuration from build into |mach android assemble-app|. r=ted.mielczarek
These magic locations evolve over time.  Baking them into
moz.configure is the easiest way to share them across the build
system, and pushing them into a new |mach android *| command continues
a pattern that has been very successful.

MozReview-Commit-ID: CyxVQ0LHHgl

--HG--
extra : rebase_source : 8350d71665f0126aa4ee2c8fec32c4b8e34dc772
2017-11-08 15:27:36 -08:00
shindli 53c3b17b09 Backed out 6 changesets (bug 1417232) for failing in /python/mozbuild/mozbuild/test/configure/lint.py::Lint::test_mobile_android r=backout on a CLOSED TREE
Backed out changeset 06e72cdd94a5 (bug 1417232)
Backed out changeset 036308b8fe6b (bug 1417232)
Backed out changeset bb63e12fea6f (bug 1417232)
Backed out changeset d0a9d2d4c5b7 (bug 1417232)
Backed out changeset b613dde03d99 (bug 1417232)
Backed out changeset 8699e19b02e5 (bug 1417232)
2017-12-08 01:25:05 +02:00
Nick Alexander d1d1541e8d Bug 1417232 - Part 2: Extract magic Gradle configuration from build into |mach android assemble-app|. r=ted.mielczarek
These magic locations evolve over time.  Baking them into
moz.configure is the easiest way to share them across the build
system, and pushing them into a new |mach android *| command continues
a pattern that has been very successful.

MozReview-Commit-ID: CyxVQ0LHHgl

--HG--
extra : rebase_source : 8350d71665f0126aa4ee2c8fec32c4b8e34dc772
2017-11-08 15:27:36 -08:00
Mike Hommey 501ba627bc Bug 1423416 - Remove updatecommon-standalone. r=ted
Maybe there was a time where both updatecommon and
updatecommon-standalone were used in the same configuration, but it's
currently not the case. So the distinction between both is not
necessary, and updatecommon can just become the standalone version of
itself on Windows.

--HG--
extra : rebase_source : effa3c7aa3bbaab33b335f23a71a8807ef69ab59
2017-12-06 10:47:15 +09:00
Sylvestre Ledru 06be3310e3 Bug 1407285 - Support spaces in MOZ_MACBUNDLE_NAME and in various Makefile and tools r=glandium
MozReview-Commit-ID: Eda1qiPCTJ0

--HG--
extra : rebase_source : 1766fd1c1b78244161efce0b6db8b58dd2ec2009
2017-11-28 23:21:54 +01:00
David Keeler 1202940332 bug 1422904 - add an integration test for an add-on signed with PKCS#7/SHA-256 r=mossop
The add-on included in this test was signed with SHA-256 by the AMO signing
infrastructure. (Note that its compatibility information targets xpcshell
specifically, so it can't be installed in Firefox.)

MozReview-Commit-ID: 5pjZYKnPeBh

--HG--
extra : rebase_source : 09fa697cd8c7a1347797c8743ec238093aa46fee
2017-12-04 10:25:37 -08:00
shindli 2e08acdf88 Merge inbound to mozilla-central r=merge a=merge 2017-12-05 11:58:51 +02:00
Richard Marti 69d5654bd1 Bug 1422031 - Remove remaining nav-button style parts in extensions. r=rhelmer 2017-11-30 06:56:44 +01:00
Sebastian Hengst 8faace1526 Backed out changeset 9fff8b2fcf78 (bug 1407285) for L10n bustage. r=backout a=backout 2017-12-05 01:28:11 +02:00
Bogdan Tara ebe0a1a20c Merge inbound to mozilla-central r=merge a=merge 2017-12-04 22:20:49 +02:00
Marco Castelluccio 7674aa9dc2 Bug 1422762 - Mark some updater unit tests as failing on Windows coverage builds until we figure out a way to get the build signed. r=jmaher 2017-12-04 10:25:02 +01:00
Sebastian Hengst 586a1914e3 merge mozilla-central to autoland. r=merge a=merge 2017-12-05 01:37:16 +02:00
Bogdan Tara be0e9ed9c8 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-12-04 22:46:08 +02:00
Tom Prince 97dfa44b21 Bug 1421466: Use `MOZ_BUILD_APP` to find the `setup.exe` to upload; r=ted
MozReview-Commit-ID: KrH46ZdQ4eN

--HG--
extra : rebase_source : 2e7917e1c8aa10b9500598ff729dab1b8e587f4e
2017-11-20 16:11:23 -07:00
Sylvestre Ledru 0df2ec12c4 Bug 406738 - No longer show the kind of updates in 'Show Update History' as they are all marked as "security updates" r=florian
MozReview-Commit-ID: 1TTK5vPRnfT

--HG--
extra : rebase_source : a7d6f2d06a2cb8f2e85139f5ca09f5e999ea0ef3
2017-10-19 11:36:25 +02:00
Csoregi Natalia 31c313504e Backed out changeset 313e0c5a2081 (bug 406738) for failing browser-chrome's browser/components/preferences/in-content/tests/browser_advanced_update.js r=backout on a CLOSED TREE 2017-12-01 19:39:50 +02:00
Sylvestre Ledru 52773cd64b Bug 406738 - No longer show the kind of updates in 'Show Update History' as they are all marked as "security updates" r=florian
MozReview-Commit-ID: 1TTK5vPRnfT

--HG--
extra : rebase_source : 7d7dd108e8cab840c4029f995b6802b6cae23d1b
2017-10-19 11:36:25 +02:00
Gijs Kruitbosch 1265e774bc Bug 1421711 - remove pluginInstallerWizard.css and pluginGeneric*.png, r=daleharvey
MozReview-Commit-ID: 4yuH7IFEOme

--HG--
extra : rebase_source : f47b18b4178588b810df84404b9b618b41451d1a
2017-11-29 18:14:23 +00:00
Sylvestre Ledru 250a624c2a Bug 1407285 - Support spaces in MOZ_MACBUNDLE_NAME and in various Makefile and tools r=glandium
MozReview-Commit-ID: Eda1qiPCTJ0

--HG--
extra : rebase_source : c85c5e8bfb5a0f0dc673ea0b6fce1ac1162d9497
2017-11-28 23:21:54 +01:00
Robert Helmer 46aa852d2c Bug 1395425 - actually return early on uninstall/setenable for AddonManager webAPI r=kmag,mythmon
MozReview-Commit-ID: EmHoHvDYPJS

--HG--
extra : rebase_source : 242701ead90bbc6d30b8fb3e3bcfa679e0658c84
2017-08-30 19:03:39 -07:00
Margareta Eliza Balazs f0400e7e4c Merge inbound to mozilla-central r=merge a=merge 2017-11-27 23:57:42 +02:00
Andrea Marchesini 2ef23c7ade Bug 1420223 - createImageBitmap must work with nsIAsyncInputStream - part 4 - ImageBitmap must use imgITools::decodeImageBuffer, r=aosmond 2017-11-27 17:05:57 +01:00
Mark Banner e4262540c6 Bug 1417944 - Enable ESLint rule mozilla/use-services for toolkit/. r=mossop
MozReview-Commit-ID: JhHXYma5Adp

--HG--
extra : rebase_source : 79d9876a82b39070d5d3cd1e9464e23d113c88a8
2017-11-22 13:36:34 +00:00
Mark Banner 1d5ed02880 Bug 1417944 - Enable ESLint rule mozilla/use-services for toolkit/mozapps/extensions. r=aswan
MozReview-Commit-ID: 6nK45TknN9x

--HG--
extra : rebase_source : 2bbe6436db99da969d1630b05451c47f6b7ba296
2017-11-22 13:35:52 +00:00
Luca Greco 04dd99c30f Bug 1409697 - Fix multiple addon options rendered on addon reload. r=aswan
MozReview-Commit-ID: 5IRvDqdW1ZO

--HG--
extra : rebase_source : a3ea4959f027e86ff220c9fb835582be7c3ae130
2017-11-17 16:27:06 +01:00
Tooru Fujisawa 9a3aa36ec4 Bug 1416153 - Part 0: Fix tests that uses BrowserTestUtils.waitForNewTab to perform the registration of the next event handler instantly inside the new tab event handler. r=Gijs 2017-11-24 07:50:12 +09:00
Tooru Fujisawa 39de38980b Backed out changeset 4e261d018c03 (bug 1416153) CLOSED TREE 2017-11-24 09:17:18 +09:00
Tooru Fujisawa 53546e0355 Bug 1416153 - Part 0: Fix tests that uses BrowserTestUtils.waitForNewTab to perform the registration of the next event handler instantly inside the new tab event handler. r=Gijs 2017-11-24 07:50:12 +09:00
Gabriele Svelto 52fcc3bed8 Bug 1402519 - Remove MOZ_CRASHREPORTER directives from toolkit; r=mossop
MozReview-Commit-ID: GsnhrLJYkqG

--HG--
extra : rebase_source : 8969d6f173c39478a28fd1030c3b6e2756698da4
2017-10-10 15:56:48 +02:00
Jared Wein 9788800512 Bug 1436575 - Manually fix the errors from no-compare-against-boolean-literal that the autofix couldn't change. r=standard8
MozReview-Commit-ID: 6NtfU76sPKv

--HG--
extra : rebase_source : 143891b98995658a5683e01631eba9f6a2bb7b6f
2018-02-08 13:35:53 -05:00
Jared Wein c8d331f4c9 Bug 1436575 - Autofix errors from no-compare-against-boolean-literal. r=standard8
MozReview-Commit-ID: 66sXxnOWDgw

--HG--
extra : rebase_source : a0bf26e37a03a1e77476bdeedfc1af3ebec32f2a
2018-02-08 12:57:31 -05:00
Cosmin Sabou a5d613086a Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-11-23 11:42:46 +02:00
shindli fb855aa7ba Backed out 16 changesets (bug 1402519) for conflicts during merge r=backout on a CLOSED TREE
Backed out changeset 07fcf163241a (bug 1402519)
Backed out changeset c6d2ad45d8e2 (bug 1402519)
Backed out changeset 8a3caca61294 (bug 1402519)
Backed out changeset 01425eae2c48 (bug 1402519)
Backed out changeset cf298d3815de (bug 1402519)
Backed out changeset e1964f4389cd (bug 1402519)
Backed out changeset f405337f3569 (bug 1402519)
Backed out changeset a76356fd3359 (bug 1402519)
Backed out changeset d3bb350d1c34 (bug 1402519)
Backed out changeset 9d3bfd9f932c (bug 1402519)
Backed out changeset e3dd6e5b073f (bug 1402519)
Backed out changeset e801b0c00134 (bug 1402519)
Backed out changeset 8a4139fa5dca (bug 1402519)
Backed out changeset 8d01c14ac1ca (bug 1402519)
Backed out changeset 24e0dcd01898 (bug 1402519)
Backed out changeset f8fdf450613f (bug 1402519)
2017-11-23 00:11:44 +02:00
Gabriele Svelto 1f91d943f0 Bug 1402519 - Remove MOZ_CRASHREPORTER directives from toolkit; r=mossop
MozReview-Commit-ID: GsnhrLJYkqG

--HG--
extra : rebase_source : d51a31e47bcbb79e3f78e4151d6f1612133a98b9
2017-10-10 15:56:48 +02:00
Robert Strong 39881f7af2 bug 1419594 - test only - make update tests less likely to fail during async writes of the update xml files. r=mhowell 2017-11-22 11:34:10 -08:00
Chris H-C c143532062 bug 1381633 - Communicate whether getActiveAddons is serving full data r=Dexter,rhelmer
getActiveAddons can either return partial or full data for use by the Telemetry
Environment. This is just a spike that communicates that difference out of
XPIProvider and into the Environment so we know whether the DB has been loaded.

MozReview-Commit-ID: 4Y5mq5aM6uu

--HG--
extra : rebase_source : 989d47fb68bac5e33d24782dfd09eb603a2067fc
2017-11-21 14:00:07 -05:00
Robert Helmer 56ca69de9d Bug 1389341 - start generating jsdoc for AddonManager API r=kmag
MozReview-Commit-ID: IpREaXBIMbq

--HG--
extra : rebase_source : 83fa1b40a52f890b25bbf477bef2aaf146f77098
2017-09-14 13:18:11 -07:00
Gijs Kruitbosch 59ffe6e6ca Bug 1408044 - fix miscellaneous tests that depended on about: existing, r=dao
MozReview-Commit-ID: EKsaFbRoBc4

--HG--
extra : rebase_source : 3c22ed909437a7fa98e2126b4eb8b9c669f98173
2017-11-15 17:19:33 +00:00
Dan Banner b2e847755c Bug 1367704 - Enable the semi ESLint rule across the tree. r=standard8
MozReview-Commit-ID: GrlcOI9K2hJ

--HG--
extra : rebase_source : 6574cf3c67eb11733ffd9999c260f71c8551abc4
2017-05-28 19:57:46 +01:00
Tom Prince 358bea59fa Bug 1417322: Get rid of reference to deprecated MOZ_PKG_MANIFEST_P; r=nalexander.
MozReview-Commit-ID: 3MRG8ex2ARo

--HG--
extra : rebase_source : e8d129c08c82b409ba304ce68c72ef800a9abb30
2017-11-14 23:42:02 -07:00
Ciure Andrei a8907fc95a Backed out 5 changesets (bug 1408044) for failing Android test: TestAboutPagesPreparer.java:24: cannot find symbol. r=backout on a CLOSED TREE
Backed out changeset 5c5152ad910d (bug 1408044)
Backed out changeset c9a062838c12 (bug 1408044)
Backed out changeset 9ceaa645f2a9 (bug 1408044)
Backed out changeset 10fc0a581606 (bug 1408044)
Backed out changeset 513140019014 (bug 1408044)
2017-11-17 12:19:30 +02:00
Ciure Andrei fdbe147ffb Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-11-17 12:09:31 +02:00
Bill McCloskey 794104b1e1 Bug 1413738 - Mozsearch clang plugin (r=mystor)
MozReview-Commit-ID: 53zUQ0vDMpd
2017-11-16 15:06:32 -08:00
Dave Townsend 9b2e25316e Bug 1414406: Remove the inline options feature for add-ons. r=aswan
MozReview-Commit-ID: 4ycTaMzqWgx

--HG--
extra : rebase_source : 9176d61244a140a5c4fde953302e9fb72aebff5a
2017-11-13 15:09:00 -08:00
Dave Townsend b184ffe5e8 Bug 1414406: Switch plugins to use inline browser options. r=aswan
MozReview-Commit-ID: 2hE7lYny6li

--HG--
extra : rebase_source : 0e5c7a3171b19cc78ef91d136130b7a3ab8248ff
2017-11-13 15:08:34 -08:00
Gijs Kruitbosch 03f7acbb5c Bug 1408044 - fix miscellaneous tests that depended on about: existing, r=dao
MozReview-Commit-ID: EKsaFbRoBc4

--HG--
extra : rebase_source : 36497c95be10e307805a304e811a5b7a6bebebce
2017-11-15 17:19:33 +00:00
David Keeler d49916e353 bug 1415991 - remove support for signed unpacked addons r=jcj,rhelmer
Unfortunately we have a number of add-on installation tests that rely on
unpacked addons verifying as signed. The test infrastructure achieves this by
monkey-patching nsIX509CertDB.verifySignedDirectoryAsync to always succeed.
These tests are, in general, not actually testing the successful verification of
signed unpacked add-ons but rather other aspects of add-on installation,
updating, etc.. Some of these tests are certainly no longer relevant now that
legacy add-ons aren't supported, but we don't have the time to go through all of
them at the moment (this blocks updating add-on signature verification to use
COSE signatures, which we need to ship in 59 or we're probably not shipping at
all).

MozReview-Commit-ID: 3TVPK703mUy

--HG--
extra : rebase_source : 5bf0b72a4d7c8ade702334345fdc3bf6a8761b15
2017-11-09 11:19:23 -08:00
Csoregi Natalia 6d76ab3d79 Backed out 2 changesets (bug 1414406)for ESLINT failures /toolkit/mozapps/extensions/content/extensions.js:1193 r=backout on a CLOSED TREE
Backed out changeset f501182ed44b (bug 1414406)
Backed out changeset f438ce3fc88e (bug 1414406)
2017-11-14 00:02:18 +02:00
Dave Townsend 9c5a18de90 Bug 1414406: Remove the inline options feature for add-ons. r=aswan
MozReview-Commit-ID: 4ycTaMzqWgx

--HG--
extra : rebase_source : 2898d9947489b9a1d8b69364cb6574706e849225
2017-11-06 10:26:40 -08:00
Dave Townsend 0f21963c35 Bug 1414406: Switch plugins to use inline browser options. r=aswan
MozReview-Commit-ID: 2hE7lYny6li

--HG--
extra : rebase_source : fde43d2a5e1c21213ebf3faa60cd0c1601397109
2017-11-10 11:09:39 -08:00
Matt Howell 2e8f14b5ac Bug 1416295 - Support downloading updates from servers that don't support resuming. r=dthayer
MozReview-Commit-ID: Cw0cUibaD3d

--HG--
extra : rebase_source : 002e602a32bdcc28eef28aceeaba3038d93947ee
2017-11-10 09:54:13 -08:00
Andrew Swan 899e8c96a4 Bug 1405491 Remove DeferredSave r=kmag
MozReview-Commit-ID: KZytP5mECHM

--HG--
extra : rebase_source : bc39a6dddd6de0e2551b797a245fe1c013853025
2017-11-07 12:50:30 -08:00
Andrew Swan dbe52a8f51 Bug 1405491 Switch AddonRepository to DeferredTask r=kmag
MozReview-Commit-ID: KCebMmb6QY1

--HG--
extra : rebase_source : 56b7d05564f70243b88fe4cb3249fa6a8b7efd59
2017-11-07 12:44:54 -08:00
Andrew Swan 5a55bb3e50 Bug 1405491 Switch XPIDatabase over to DeferredTask r=kmag
MozReview-Commit-ID: Kjfl2FIM5F8

--HG--
extra : rebase_source : fa344d9879e0946945c9922fa969185aa8194b80
2017-10-02 13:51:27 -07:00
Geoff Brown cbb956e0c3 Bug 1407679 - Merge nsIIOService and nsIIOService2; r=nwgh 2017-11-10 07:03:36 -07:00
Andrea Marchesini 207b8d909e Bug 1347515 - Get rid of nsIJSON.decodeFromStream, r=qdot 2017-11-10 00:27:22 +01:00
Nika Layzell 3409141758 Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug
This is a large patch which tries to switch many of the external consumers of
nsGlobalWindow to instead use the new Inner or Outer variants.

MozReview-Commit-ID: 99648Lm46T5
2017-11-09 10:44:47 -05:00
Andrew Swan c853702b2c Bug 1415017 Remove AddonRepository sqlite migration code r=kmag
MozReview-Commit-ID: 2F64Um931sy

--HG--
extra : rebase_source : 12939d12578a1bc2ed821e57690705ac5f332c5a
2017-11-06 17:47:57 -08:00
Csoregi Natalia 563cb976d2 Merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE 2017-11-06 15:40:53 +02:00
Csoregi Natalia c79466f107 (bug 1411688) Make --with-gradle handle single-locale repack r=snorp a=reland
--HG--
extra : amend_source : d435c08a762988804bfe23251b8b5f76702eca99
2017-11-06 15:23:47 +02:00
Csoregi Natalia aaa47364af Backed out 5 changesets (bug 1411688) for failing Android single-locale repacks. r=backout a=backout
Backed out changeset 65d5d13b4ea0 (bug 1411688)
Backed out changeset 8ba514bd8ed6 (bug 1411688)
Backed out changeset 866854a996b8 (bug 1411688)
Backed out changeset 34f83aab44e6 (bug 1411688)
Backed out changeset 2e4e139bb5d7 (bug 1411688)
2017-11-06 12:18:50 +02:00
Paolo Amadini 170b25f0d8 Bug 1413074 - Sanitize the file names of downloads before opening the file picker. r=mak
MozReview-Commit-ID: 90QE4g1P49w

--HG--
extra : rebase_source : 4e2cfe4b3bf43a1dabe3576ce5d8c883a81cb883
extra : source : 7dfb5111a3a8bc78cabdfaca96c4d949e33bafdb
2017-11-06 09:30:33 +00:00
Andrew Swan 1bf7198d39 Bug 1413322 Don't load old-style language packs r=gandalf,kmag
MozReview-Commit-ID: GnG6UznHFZR

--HG--
extra : rebase_source : a687e51a7c087c639a202f29b87ae466cd3705b8
2017-10-31 14:23:06 -07:00
Nick Alexander cc2129e406 Bug 1411688 - Part 1: Make --with-gradle handle single-locale repacks. r=snorp
Single-locale repacks do the following:

Download existing APK; unzip APK; update l10n resources; |mach package| with IS_LANGUAGE_REPACK=1.

This is pretty hard to accommodate, but we can try.  The key issues
here are to recognize when IS_LANGUAGE_REPACK=1 and not ask for l10n
resources (in particular, strings.xml) to be generated.

We do need to include the freshly built classes.dex when repackaging,
because newer Gradle/aapt doesn't preserve the R.java IDs.

MozReview-Commit-ID: 9FvQtmPOUjg

--HG--
extra : rebase_source : b0440ceb318662bf3c08f2139c51dae5775a6b38
2017-10-23 13:24:58 -07:00
Zibi Braniecki 4c3a3ac1fb Bug 1410736 - Replace remaining uses of general.useragent.locale with LocaleService API. r=jfkthame
MozReview-Commit-ID: F0Ofe2lHHEo

--HG--
extra : rebase_source : 420c65111dc5066eb00ef86ddf375db533008bbf
2017-11-03 17:08:34 -07:00
Sebastian Hengst eebc5b65c0 Backed out changeset 0637dca8a971 (bug 1410736) for eslint failure at toolkit/components/extensions/test/xpcshell/test_ext_i18n_css.js:130: Unexpected var, use let or const instead. r=backout on a CLOSED TREE 2017-11-04 00:51:02 +01:00
Sebastian Hengst 07b805d165 Backed out 5 changesets (bug 1411688) for flake8 linting failure at testing/mozharness/scripts/mobile_l10n.py. r=backout on a CLOSED TREE
Backed out changeset 8ddf3257a8db (bug 1411688)
Backed out changeset c313d76f2aa5 (bug 1411688)
Backed out changeset 3df83a3b7e9c (bug 1411688)
Backed out changeset 133417cefdab (bug 1411688)
Backed out changeset a8fd33d8a2af (bug 1411688)
2017-11-04 00:49:47 +01:00
Nick Alexander 9de930db2b Bug 1411688 - Part 1: Make --with-gradle handle single-locale repacks. r=snorp
Single-locale repacks do the following:

Download existing APK; unzip APK; update l10n resources; |mach package| with IS_LANGUAGE_REPACK=1.

This is pretty hard to accommodate, but we can try.  The key issues
here are to recognize when IS_LANGUAGE_REPACK=1 and not ask for l10n
resources (in particular, strings.xml) to be generated.

We do need to include the freshly built classes.dex when repackaging,
because newer Gradle/aapt doesn't preserve the R.java IDs.

MozReview-Commit-ID: 9FvQtmPOUjg

--HG--
extra : rebase_source : 6a34a8c299138ea39c6703f334c8fd5f49b03237
2017-10-23 13:24:58 -07:00
Zibi Braniecki 5db1dc8a9d Bug 1410736 - Replace remaining uses of general.useragent.locale with LocaleService API. r=jfkthame
MozReview-Commit-ID: CmXBFcKxOkX

--HG--
extra : rebase_source : deeeee81fd187aa9ca4f26f9f5c69633ff405e34
2017-11-02 14:11:41 -07:00
J.C. Jones cdfad59288 Bug 1409259 - Add xpcshell tests for the Symantec distrust r=keeler
This commit adds two new xpcshell tests, both of them testing whether the
security state in TransportSecurityInfo includes the new
STATE_CERT_DISTRUST_IMMINENT flag under the correct circumstances.

The first test, test_symantec_apple_google.js, tests the four combinations of
certs that chain to an affected Symantec root: with/without a whitelisted
intermediate, and before/after the notBefore cutoff date.

The second test, test_symantec_apple_google_unaffected.js, tests an unrelated
ca->intermediate->ee chain that does not chain to an affected root, and ensures
the flag is not set.

This patch adds SymantecSanctionsServer to the mozbuild and xpcshell test
infrastructure files to ensure it runs properly on TaskCluster, too.

MozReview-Commit-ID: GtUXH2VFFh

--HG--
rename : security/manager/ssl/tests/unit/bad_certs/default-ee.key => security/manager/ssl/tests/unit/test_symantec_apple_google/default-ee.key
rename : security/manager/ssl/tests/unit/bad_certs/default-ee.key.keyspec => security/manager/ssl/tests/unit/test_symantec_apple_google/default-ee.key.keyspec
rename : security/manager/ssl/tests/unit/bad_certs/default-ee.pem => security/manager/ssl/tests/unit/test_symantec_apple_google/default-ee.pem
rename : security/manager/ssl/tests/unit/bad_certs/default-ee.pem.certspec => security/manager/ssl/tests/unit/test_symantec_apple_google/default-ee.pem.certspec
rename : security/manager/ssl/tests/unit/tlsserver/cmd/BadCertServer.cpp => security/manager/ssl/tests/unit/tlsserver/cmd/SymantecSanctionsServer.cpp
extra : rebase_source : f399bca5a13db3efa5bbaa5136c8effc3948ed5e
2017-11-01 11:12:11 -07:00
Moritz Brunner fa5bc83999 Bug 366192 - Fixed http/https regex checks. r=mak
MozReview-Commit-ID: FL0AWkM9Ggm

--HG--
extra : rebase_source : 2550b1fca77c517093e430bb4c3e81bcfa0c3f5c
2017-11-02 22:43:19 +01:00
Sebastian Hengst 4ff29d14f8 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: GSDYk9wLOAM

--HG--
rename : browser/base/content/test/general/browser_bug561636.js => browser/modules/test/browser/formValidation/browser_form_validation.js
rename : browser/base/content/test/general/browser_bug595507.js => browser/modules/test/browser/formValidation/browser_validation_iframe.js
rename : browser/modules/test/browser/browser_bug1319078.js => browser/modules/test/browser/formValidation/browser_validation_invisible.js
2017-11-01 22:55:12 +01:00
Matt Howell fd96b7623b Bug 1413295 - Use BrandShortName as the title for new shortcuts, and rename existing shortcuts our installer created. r=rstrong
MozReview-Commit-ID: K4YvG5DZgqb

--HG--
extra : source : 324e11f297d7e4ced78f3402792e5fdcdf2abac1
2017-10-31 12:18:25 -07:00
Tom Prince ad6d3406a9 Bug 1413581: Use comm-central friendly path for calling gen_multilocale.py. r=chmanchester
MozReview-Commit-ID: CVUOrkkekNf

--HG--
extra : rebase_source : f7f048110551e2ee2c7752ed458ba85b80ba41b9
2017-11-01 10:40:53 -06:00
Zibi Braniecki 026b20f505 Bug 1412751 - Move the multilocale.json generation to python and add to moz.build. r=chmanchester
MozReview-Commit-ID: 2MalHxkcFxn

--HG--
extra : rebase_source : 2ca8f3ff9b2dc7b31d2564a3b5222776131dcb93
2017-10-30 09:50:16 -07:00
Andrew Swan 77124f8a0d Bug 1409245 Part 3 Handle update and uninstall events in WebExtensions r=kmag
This patch just forwards invocations of the bootstrap update() and
uninstall() methods to events that other parts of the WebExtension
framework can listen for.  We have an existing event that fires while
an extension is being uninstalled.  This event was named "uninstall"
but it gets renamed here to "onUninstalling" to disambiguate the two
events.

MozReview-Commit-ID: BIpIR8n9HBM

--HG--
extra : rebase_source : b191d43279129da6fc7f67b7e7960b8b20dca6b8
2017-10-25 20:49:14 -07:00
Andrew Swan 30a1f56c87 Bug 1409245 Part 2 Implement bootstrap update() method r=kmag
When we are updating versions of an extension, instead of
calling uninstall() on the old version followed by calling
install() on the new version, we now call update() once with
details about the old and new versions.

This logic is only applied for webextensions, any other
bootstrapped extensions retain the old behavior.

MozReview-Commit-ID: EwdvGATG0rK

--HG--
extra : rebase_source : 60ead06460340874c86c109bcaa4b61be1717dd1
2017-10-25 15:34:45 -07:00
Andrew Swan f6221fbeff Bug 1409245 Part 1 Move temporary addon cleanup earlier in shutdown r=kmag
MozReview-Commit-ID: 7aze1AxfjlC

--HG--
extra : rebase_source : 9f33fa0cc22da99a4368abc7d5df4959caf1fe14
2017-10-21 15:36:59 -07:00
Valentin Gosu 1bd153659e Bug 1407720 - Merge nsICookieManager and nsICookieManager2 r=nwgh
MozReview-Commit-ID: HuzeeB43YZZ

--HG--
extra : rebase_source : 3924170ce50126dbbae7c97cae601b69d0ab95af
2017-10-31 13:02:28 +01:00
Sebastian Hengst f07fc93141 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4PW6ESqLL73
2017-10-30 23:52:23 +01:00
Chris H-C 75fc345254 bug 1406391 - Remove toolkit.telemetry.enabled manipulation from tests r=Dexter
Minor note:
reftests should've turned off uploadEnabled in the first place.
reftests should have unified telemetry on. It's the future.

MozReview-Commit-ID: 9spzuUAXwwP
2017-10-30 10:47:39 -04:00
Mark Banner 01008c7d57 Bug 1412778 - Enable ESLint rule no-cpows-in-tests across the whole tree. r=florian
MozReview-Commit-ID: 8pidN7x6MYh

--HG--
extra : rebase_source : 6a0d6800091231fc1535223bd7fc6df0ba40d47b
2017-10-30 09:55:39 +00:00
Sebastian Hengst 3792a177e6 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IZImXBBcbVQ
2017-10-28 10:25:57 +02:00
Phil Ringnalda 4bc2b1615d Backed out 4 changesets (bug 1408433, bug 1406391, bug 1408512) for crashing tests by touching the network contacting incoming.telemetry.mozilla.org on nightly builds
Backed out changeset 9bfd4b0927dc (bug 1408433)
Backed out changeset 555850d5107e (bug 1408512)
Backed out changeset 15d959b9123e (bug 1406391)
Backed out changeset e1f34ba9cecc (bug 1406391)

MozReview-Commit-ID: BVoGRsD73Hf
2017-10-27 21:08:27 -07:00
Sebastian Hengst 28b1c813ea merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: DasxLYlgq0N
2017-10-27 23:30:52 +02:00
Chris H-C 8e6dd31d55 bug 1406391 - Remove toolkit.telemetry.enabled manipulation from tests r=Dexter
Minor note:
reftests should've turned off uploadEnabled in the first place.

MozReview-Commit-ID: 9spzuUAXwwP
2017-10-27 10:59:43 -04:00
Sebastian Hengst 841ee307e6 merge mozilla-central to autoland. r=merge a=merge 2017-10-27 23:32:15 +02:00
Jared Wein 6d23a3e261 Bug 1378366 - Change 'var' to 'const' and 'let' in fontBuilder.js. r=timdream
MozReview-Commit-ID: 3QYWdnVzgJs

--HG--
extra : rebase_source : b7d1dfd517eed88df35909c6e2f6785c60bb3301
2017-10-27 06:51:16 -04:00
Jared Wein f953e19feb Bug 1378366 - If the default font is not found, use 'Default' as the name for an unchanged font preference. Previously this would show up as blank in this case. r=timdream
MozReview-Commit-ID: G1GEwWNtBMi

--HG--
extra : rebase_source : 9c972fd4f2108325fddb9413ad364dd94b99e832
2017-10-26 12:25:12 -04:00
Zibi Braniecki c46d36dffb Bug 1362617 - Generalize MOZ_CHROME_MULTILOCALE to work for browser as well. r=gps,mshal,Pike,ted
MozReview-Commit-ID: 80ldQPhNyi7

--HG--
extra : rebase_source : d6a1c6fcc36ba7fb49df25fa4c73f4aa564db613
2017-10-23 08:04:24 -07:00
Mark Banner 4de6bf22b1 Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: H5YVp3rnzGo

--HG--
extra : rebase_source : 5b45b6c0df834131812d094e975047eaad374e06
2017-10-26 11:47:01 +01:00
Sebastian Hengst 429ff227ee Backed out changeset 17ef68e368bb (bug 1362617) for build bustage on OS X. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 78500a66ae825039d21ea4d69a23ae2d6570ee38
2017-10-27 16:46:27 +02:00
Zibi Braniecki f31e020d7e Bug 1362617 - Generalize MOZ_CHROME_MULTILOCALE to work for browser as well. r=gps,mshal,Pike,ted
MozReview-Commit-ID: 80ldQPhNyi7

--HG--
extra : rebase_source : e40838ce14ebe1e4fae4d6742633c16b5c4387f9
2017-10-23 08:04:24 -07:00
Sebastian Hengst 06e215c2ce merge mozilla-central to autoland. r=merge a=merge 2017-10-26 23:59:14 +02:00
Sebastian Hengst b181c484ad merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: LcCWQzgwIBi
2017-10-26 23:57:40 +02:00
Kris Maglione 257d9118dc Bug 1409249: Require singleton constructors to return explicit already_AddRefed. r=froydnj
Right now, NS_GENERIC_FACTORY_SINGLETON_CONSTRUCTOR expects singleton
constructors to return already-addrefed raw pointers, and while it accepts
constructors that return already_AddRefed, most existing don't do so.

Meanwhile, the convention elsewhere is that a raw pointer return value is
owned by the callee, and that the caller needs to addref it if it wants to
keep its own reference to it.

The difference in convention makes it easy to leak (I've definitely caused
more than one shutdown leak this way), so it would be better if we required
the singleton getters to return an explicit already_AddRefed, which would
behave the same for all callers.


This also cleans up several singleton constructors that left a dangling
pointer to their singletons when their initialization methods failed, when
they released their references without clearing their global raw pointers.

MozReview-Commit-ID: 9peyG4pRYcr

--HG--
extra : rebase_source : 2f5bd89c17cb554541be38444672a827c1392f3f
2017-10-16 21:08:42 -07:00
Zibi Braniecki bac6a262f6 Bug 1396467 - Add tests for the new langpacks consumption code. r=aswan
MozReview-Commit-ID: BFkV4MuRQh1

--HG--
extra : rebase_source : 56a3701df13dd529db16e79cb170ed14bb5c6fb9
2017-10-06 01:05:31 +02:00
Sebastian Hengst 525fbe17e2 Backed out changeset b2232cf95183 (bug 1396467) for eslint failures in test_webextension_langpack.js. r=backout on a CLOSED TREE
--HG--
extra : amend_source : e3e7b9c1fce2e241d20cf33ce2a504a53864da26
2017-10-26 23:30:00 +02:00
Zibi Braniecki bdc31ebac0 Bug 1396467 - Add tests for the new langpacks consumption code. r=aswan
MozReview-Commit-ID: BFkV4MuRQh1

--HG--
extra : rebase_source : f4b7116d6fe9cad32b22117171c7c078a22727bd
2017-10-06 01:05:31 +02:00
maliu ee011aac6f Bug 1360587 - Part 1. Remove apk upload task, r=aki
MozReview-Commit-ID: RhXoazDESU

--HG--
extra : rebase_source : 0f0c63ac0be7c02ad419449b75ea91c159682f68
2017-10-25 21:03:02 +08:00
Zibi Braniecki e26530837a Bug 1410733 - Minor cleanups to the callers of GetRequestedLocales. r=jfkthame
Once we add fallback chain to GetRequestedLocales we can slightly improve the
locale negotiation for extensions. I made it tighter against just `en-US` because
in the future it is possible that RequestedLocales fallback chain will not contain
en-US in some scenarios, and it seems that for WebExtensions en-US should be the
last resort no matter what.

The other change is a fix to a regression I introduced when switching to LocaleService,
that somehow noone noticed.

MozReview-Commit-ID: FH6cePcoi0R

--HG--
extra : rebase_source : 7e253fb940c153c3522a6aa41139fbf703c7266b
2017-10-22 11:44:11 -07:00
Sebastian Hengst 319217d574 Backed out changeset ba4a39241953 (bug 1386018) for xpcshell failures, e.g. toolkit/mozapps/extensions/test/xpcshell/test_signed_install.js on Linux debug. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 0b31c5a3d73783a3c60f4126a5c11fdda862d9e3
2017-10-25 00:32:35 +02:00
Sebastian Hengst 24b7b2eb7c merge mozilla-central to autoland. r=merge a=merge 2017-10-24 23:59:14 +02:00
Mark Striemer 04b924cbdf Bug 1386018 - Tell users that the default search engine was set by an extension r=bsilverberg,jaws
MozReview-Commit-ID: A7uJ2lN0cLF

--HG--
extra : rebase_source : 98875d0bcabbae86f9c25dea9b4fe30d6a3d0109
2017-10-18 14:54:54 -05:00
Joel Maher 92be126aad Bug 1395539 - Disable toolkit/mozapps/extensions/test/browser/browser_bug591465.js on linux/opt to get tests running in multi-core. r=gbrown 2017-10-24 12:37:20 -04:00
Sebastian Hengst 1ead0a96a9 Backed out changeset dab1c5badddb (bug 1407679) for failing server startup in mochitests on Android. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 3dc4cb2bbaf55f3f6329687ce64d4e862fc3800b
2017-10-24 21:18:26 +02:00
Valentin Gosu 9dd47ebf50 Bug 1407679 - Merge nsIIOService and nsIIOService2 r=nwgh
Removes deprecated nsIIOService2.newChannelFromURIWithProxyFlags

MozReview-Commit-ID: Gr3nA25kcre

--HG--
extra : rebase_source : 3407b5ed0f8f7067523abee28c137db3cac86b14
2017-10-20 16:41:07 +02:00
Sebastian Hengst 8263d24918 Backed out changeset 3bd7e87109e0 (bug 1410733) 2017-10-24 18:57:34 +02:00
Zibi Braniecki 46e53a9c19 Bug 1410733 - Minor cleanups to the callers of GetRequestedLocales. r=jfkthame
Once we add fallback chain to GetRequestedLocales we can slightly improve the
locale negotiation for extensions. I made it tighter against just `en-US` because
in the future it is possible that RequestedLocales fallback chain will not contain
en-US in some scenarios, and it seems that for WebExtensions en-US should be the
last resort no matter what.

The other change is a fix to a regression I introduced when switching to LocaleService,
that somehow noone noticed.

MozReview-Commit-ID: FH6cePcoi0R

--HG--
extra : rebase_source : 52f0b6915dbf86a72e3c9f07218e7c244d191e71
2017-10-22 11:44:11 -07:00
Andrew Swan 6988c661f0 Bug 607818 Fix bootstrap reasons during addon upgrade/downgrade operations r=kmag
When the same addon is installed in multiple locations and the copy in
the highest priority location is removed, we reveal the next-highest priority
copy.  Since we're just changing addon versions, this sequence should look
like an upgrade or downgrade.  This patch fixes the reason parameter passed
to both instance's bootstrap methods to reflect that.

MozReview-Commit-ID: DfQadQFufZE

--HG--
extra : rebase_source : 5be9c3da3c4f10e9ea7ce1b29da00b68e4a7bcf4
2017-10-21 20:07:09 -07:00
Phil Ringnalda a6b525b33e Merge m-c to autoland
MozReview-Commit-ID: K1ZFkTVIF5B
2017-10-27 21:42:38 -07:00
Sebastian Hengst 8d0319bfa2 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Gu7wIBFJOqe
2017-10-21 00:05:19 +02:00
hrdktg b55f2120fb Bug 1383562 - Correctly get Month and date in DownloadUtils.jsm. r=gandalf
--HG--
extra : rebase_source : deb64bb081069d19c712aa8738fc59344655cea5
2017-10-20 06:51:59 +05:30
Tom Prince 802c3383f3 Bug 1410203: Don't build mozharness package when in comm-topdir build, rather than any thunderbird build; r=gps
MozReview-Commit-ID: 9SBHRWQYnNU

--HG--
extra : rebase_source : 297ece28f21ffca31de439184f3287451aa72942
extra : source : 03d217fdeabdefae9cf8c15caaad31e280958952
2017-10-19 10:20:23 -06:00
Andrew Swan 4e2fe4e96b Bug 1280235 Part 2 Allow webextensions apis to be limited to "Mozilla Extensions" signed extensions r=kmag
MozReview-Commit-ID: DciT0fWTgef

--HG--
extra : rebase_source : 119665d41d8afa7389753c6b0618ec3a1c7efbf9
2017-10-13 22:28:26 -07:00
Andrew Swan 18c2365901 Bug 1280235 Part 1 remove createAddonDetails from XPIProvider r=kmag
MozReview-Commit-ID: 7NWVD1Rvb2X

--HG--
extra : rebase_source : 876db88f718033e4f4dbefa667105c9e899df77e
2017-10-08 09:54:18 -07:00
Alessio Placitelli c31169c186 Bug 1405614 - Add 'displayVersion' to the update ping with reason 'ready'. r=chutten,mhowell
This is needed in addition to "version" as, for some channel, it will report
the release suffix.

MozReview-Commit-ID: BT2Vxm3Q2nK

--HG--
extra : rebase_source : 57572e0005f4f49c47813d87070a3aef4cab818a
2017-10-11 10:01:44 +02:00
Ryan VanderMeulen cb612851ed Merge inbound to m-c. a=merge 2017-10-18 21:01:34 -04:00
Blake Kaplan 0a9754f57f Bug 1406212 - Remove the code that handles extensions for e10s{,-multi}. r=Felipe
MozReview-Commit-ID: ElPZIBmOYHR

--HG--
extra : rebase_source : 97e955084c71be1658a588013160d69469dc307c
2017-09-28 16:09:20 -07:00
Matt Howell 353e6851a0 Bug 1348087 Part 3 - Test changes for new app update downloader implementation. r=rstrong
MozReview-Commit-ID: 34zJprqSfWF

--HG--
rename : toolkit/mozapps/update/tests/unit_aus_update/downloadInterruptedRecovery.js => toolkit/mozapps/update/tests/unit_aus_update/downloadInterruptedRecoveryChannel.js
extra : source : be43dff49c5dfeb8417638388a7189ce6e38b5b4
2017-09-08 14:08:59 -07:00
Matt Howell 3262f458f0 Bug 1348087 Part 1 - Stop using nsIIncrementalDownload for application update. r=rstrong
--HG--
extra : source : 34638bc920b79fe3f60555d81fc9ac13991b9250
2017-10-18 13:12:48 -07:00
Nick Alexander af26e68984 Bug 1366644 - Part 3a: Update Android build-tools (25.0.3), Gradle (3.4.1), Android-Gradle (2.3.3). r=maliu
The goal is to use a newer Android-Gradle build plugin version (2.3.3
is latest stable).  That requires a modern Gradle (anything 3.3+, but
3.4.1 is the default from my Android Studio), and also a newer
build-tools (25.0.3 is latest stable).

The locations of lint output changed, and we want to use the standard
output location because it's difficult to accommodate variant details
in custom names.  We change the location of findbugs output to follow
suit.

This requires either:

- fixing lint errors
- adding to the lint whitelist
- using the new lint baseline

It's best to use the new lint baseline, which will happen in the next commit.

MozReview-Commit-ID: D19FzIDCJrE

--HG--
extra : rebase_source : 12d132c0c3e0dbe2b8873b31360ea96d612de44c
2017-10-16 15:09:15 -07:00
Matt Howell 5ed38fdf7f Bug 1337856 Part 1 - Use a better up/down-scaling method for the stub installer background. r=agashlin
MozReview-Commit-ID: Ag02ni4nJ00

--HG--
extra : rebase_source : 391e57a31468a9215953ba0491756bff99bec1bd
2017-10-10 08:50:31 -07:00
Dan Banner 7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Nicholas Nethercote 159f6b5627 Bug 1406794 - Provide the CSP keywords in both UTF8 and UTF16 forms. r=ckerschb
This avoids the need for numerous 8-to-16-bit and 16-to-8-bit string
conversions.

The patch also introduces a higher-order macro, FOR_EACH_CSP_KEYWORD, which
defines all the stuff about the keywords in a single place and makes the code
nicer.

--HG--
extra : rebase_source : b0f655546aa397749bb18dc7d6d27fbc12fe8fca
2017-10-06 16:16:52 +11:00
Luca Greco 305df319dc Bug 1390445 - Fix select popup positioning for oop extensions options_ui pages. r=billm,kats,kmag
MozReview-Commit-ID: Izt10SuUK0i

--HG--
extra : rebase_source : d6e302d4fd8b78100d98cbe52c4234bd49de1dfd
2017-09-20 20:03:58 +02:00
Matt Brubeck 7a1ac15e7f Bug 1406749 - Use member variables instead of global variables in ArchiveReader. r=rstrong
MozReview-Commit-ID: 8igmXe2QReO

--HG--
extra : rebase_source : d04a13deae99743bef56585422cc88daa1e21c52
2017-10-08 06:51:02 -07:00
Dale Harvey 0c903578be Bug 1394248 - Update plugins icon. r=dao
MozReview-Commit-ID: L3UrtSwDxW2

--HG--
extra : rebase_source : 26cfb27434edd394b3db3136c8560270fc7b3e5d
2017-09-30 10:43:02 +01:00
Luca Greco 359d915760 Bug 1385548 - Part 1: Support tab modals in WebExtensions options_ui pages. r=kmag
This patch introduces a stub gBrowser object which allow a WebExtensions options_ui page
to open a tab modal using alert/prompt/confirm.

The about:addons page is defined at toolkit level but the TabModalPromptBox is defined
at browser level, and so to be able to provide a TabMobalPromptBox from the about:addons
page this patch uses the implementation provided by the window that contains the
about:addons tab, if any.

MozReview-Commit-ID: m6khgJyMs

--HG--
extra : rebase_source : 1b5b776084e8d1dc14484542099ebfff98b674c7
2017-09-18 22:10:11 +02:00
Andrew Swan 1b859fa83a Bug 1405264 Part 2: Use startupData for new langpacks r=gandalf,kmag
Webextension-formatted langpacks now store their list of chrome
registry resources in startupData so that those resources can be
registered early in startup.

MozReview-Commit-ID: 80eOiPKLlWu

--HG--
extra : rebase_source : b00abc0484e6b41bfb1d17c543a450dc737a6b30
2017-10-04 13:29:20 -07:00
Andrew Swan 73d8eb4bdc Bug 1405264 Part 1: Add startupData to internal addon representation r=kmag
If a non-null value is stored in this property, its contents (which
must be json serializable) are stored in addonStartup.json and are
then passed to the addon's bootstrap startup() method.  This is meant
for data that must be available synchronously during browser startup.
Of course addonStartup.json is read synchronously during startup so
this should be used sparingly.

MozReview-Commit-ID: ALS1CcYbH92

--HG--
extra : rebase_source : 2469fda13f82c3e3837123f75afb5bc6029ed55c
2017-10-04 13:27:50 -07:00
Robert Helmer c42f57923a Bug 1348981 - only load system add-ons from a built-in list r=kmag
MozReview-Commit-ID: A6c5kaLmNPP

--HG--
extra : rebase_source : e20ec54eabb5ecb2cc0b85efb687dbed06f1d16a
2017-10-02 18:41:20 -07:00
Robert Helmer b5691ba8af Bug 1348981 - provide method to re-initialize URLPreloader for xpcshell tests r=kmag
MozReview-Commit-ID: rnjEJc1Uir

--HG--
extra : rebase_source : ee273d624c3d4a4ec21506574f1e203fce4b2d45
2017-09-21 11:24:14 -07:00
Wes Kocher d8985b6e57 Merge inbound to central, a=merge
MozReview-Commit-ID: IUFdbLdYFhX
2017-10-04 16:37:59 -07:00
Tom Schuster 13fd77b08d Bug 1403721 - Limit management.get to allowed addon types. r=mixedpuppy 2017-10-04 16:06:27 +02:00
Sebastian Hengst a6d1ac8e4b Backed out changeset 33ef79c5fe06 (bug 1403721) for failing eslint at toolkit/components/extensions/test/xpcshell/test_ext_experiments.js:162: 'boringAddon' is already declared in the upper scope. r=backout 2017-10-04 17:47:22 +02:00
Tom Schuster 2362c11c90 Bug 1403721 - Limit management.get to allowed addon types. r=mixedpuppy 2017-10-04 16:06:27 +02:00
Tom Ritter 97b86e893f Bug 1404147 Resolve inconsistency between GetLastError (DWORD - unsigned) and HRESULT (signed) r=smaug
MozReview-Commit-ID: AzyiFjAG5Wt

--HG--
extra : rebase_source : f31c89e010661798506c9ed334a71f97a9e8ad6d
2017-09-28 17:50:52 -05:00
Sebastian Hengst 261978bbab Backed out changeset d96c54a045a4 (bug 1348981) 2017-10-04 15:43:51 +02:00
Sebastian Hengst bd61777c6b Backed out changeset fe9b8761d51f (bug 1348981) 2017-10-04 15:43:46 +02:00
Robert Helmer 8d488926ef Bug 1348981 - only load system add-ons from a built-in list r=kmag
MozReview-Commit-ID: A6c5kaLmNPP

--HG--
extra : rebase_source : 9ad775a652affc0d8d6c7ce4153dddc8a13c4ca4
2017-10-02 18:41:20 -07:00
Robert Helmer fe1edf420d Bug 1348981 - provide method to re-initialize URLPreloader for xpcshell tests r=kmag
MozReview-Commit-ID: rnjEJc1Uir

--HG--
extra : rebase_source : ee273d624c3d4a4ec21506574f1e203fce4b2d45
2017-09-21 11:24:14 -07:00
Sebastian Hengst 3c14e73ba8 Backed out changeset 199b3fe8114f (bug 1348981) 2017-10-04 01:00:15 +02:00
Sebastian Hengst d8e232c88a Backed out changeset 8dda8bbcf385 (bug 1348981) 2017-10-04 01:00:09 +02:00
Robert Helmer c8714b1c7d Bug 1348981 - only load system add-ons from a built-in list r=kmag
MozReview-Commit-ID: A6c5kaLmNPP

--HG--
extra : rebase_source : 058e6011c8ce953059e674eea032ba79c19f8eb8
2017-10-02 18:41:20 -07:00
Robert Helmer 9ade6ed8ac Bug 1348981 - provide method to re-initialize URLPreloader for xpcshell tests r=kmag
MozReview-Commit-ID: rnjEJc1Uir

--HG--
extra : rebase_source : ee273d624c3d4a4ec21506574f1e203fce4b2d45
2017-09-21 11:24:14 -07:00
Ian Moody 88c31186c4 Bug 1258797 - Catch error when trying to open save as dialog to invalid path. r=Gijs
MozReview-Commit-ID: GbMgcfOgVaq

--HG--
extra : rebase_source : da89a0b7d2c66e8c744395f874a6b5fc61516454
2017-09-30 17:51:05 +01:00
Sebastian Hengst 9579302d63 Backed out changeset e900a3d074b8 (bug 1258797) for failing eslint at toolkit/mozapps/downloads/DownloadLastDir.jsm:150. r=backout 2017-10-01 00:36:43 +02:00
Ian Moody bafd3b292e Bug 1258797 - Catch error when trying to open save as dialog to invalid path. r=Gijs
MozReview-Commit-ID: GbMgcfOgVaq

--HG--
extra : rebase_source : a447ae597bc93903fba3d5d99198baa782c0c8d4
2017-09-30 17:51:05 +01:00
Mike Shal 9e6798ac00 Bug 1402012 - Update buildconfig.py to use PartialConfigEnvironment; r=glandium
By using the PartialConfigEnvironment, the clients of buildconfig will
depend on config.statusd/ files instead of config.status directly.
Clients can access substs and defines using buildconfig.substs['FOO'] or
buildconfig.defines['BAR'], and then collect file-level dependencies for
make using buildconfig.get_dependencies(). All GENERATED_FILES rules
already make use of this because file_generate.py automatically includes
these dependencies (along with all python modules loaded).

As a result of this commit, re-running configure will no longer cause
the world to be rebuilt. Although config.status is updated, no build
steps use config.status directly and instead depend on values in
config.statusd/, which are written with FileAvoidWrite. Since those
files are not official targets according to the make backend, make won't
try to continually rebuild the backend when those files are out of date.
And since they are FileAvoidWrite, make will only re-run dependent steps
if the actual configure value has changed.

As a result of using JSON to load data from the config.statusd
directory, substs can be unicode (instead of a bare string type).
generate_certdata.py converts the subst manually to a string so the
value can be exported to the environment without issue on Windows.

Additionally, patching the buildconfig.substs dict no longer works, so
the unit-symbolstore.py test was modified to patch the underlying
buildconfig.substs._dict instead.

The other files that needed to be modified make use of all the defines
for the preprocessor. Those that are used during 'mach build' now use
buildconfig.defines['ALLDEFINES'], which maps to a special
FileAvoidWrite file generated for the PartialConfigEnvironment.

MozReview-Commit-ID: 2pJ4s3TVeS8

--HG--
extra : rebase_source : d6bb0208483f9f043e7be1b36907ca13243985f8
2017-08-24 22:52:01 -04:00
Mark Goodwin ae55f5a197 Bug 1359428 - Remove preference to select OneCRL update mechanism r=keeler,leplatrem,rhelmer
MozReview-Commit-ID: A6CwZrIDmTn

--HG--
extra : rebase_source : 41e17d29f982d23f30f48a6f85ad20fc84b018c6
2017-09-29 10:47:27 +01:00
Wes Kocher 1674eb3e4f Merge inbound to m-c a=merge
MozReview-Commit-ID: 7zOjePOWzOM
2017-09-28 16:56:44 -07:00
Sebastian Hengst 127937baec merge mozilla-central to autoland. r=merge a=merge 2017-09-28 12:16:20 +02:00
Sebastian Hengst 9187795579 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 74cERYrHFIG
2017-09-28 11:44:21 +02:00
Andrew Swan 04725fe976 Bug 1401584 Properly cancel local installs of incompatible extensions r=rhelmer
MozReview-Commit-ID: EmRZQZeh0jQ

--HG--
extra : rebase_source : 14dbffdba2bf680c48274b764e5a8c88a89798a0
2017-09-22 14:27:20 -07:00
Paolo Amadini c6564bb63b Bug 1402279 - Part 2 - Unify the usage of the DownloadPaths module. r=mak,aswan
MozReview-Commit-ID: HEhwkyxtYTP

--HG--
extra : rebase_source : f4adb90eea4898b8c769900400a3ead6246b9ece
extra : source : 41da9c5daa902543f0f59818b2e3bbae44605036
2017-09-27 12:13:07 +01:00
Paolo Amadini 56aa46cd29 Bug 1402279 - Part 1 - Move the DownloadPaths module to the jsdownloads folder. r=mak
MozReview-Commit-ID: 91ZqKef6NIE

--HG--
rename : toolkit/mozapps/downloads/DownloadPaths.jsm => toolkit/components/jsdownloads/src/DownloadPaths.jsm
rename : toolkit/mozapps/downloads/tests/unit/test_DownloadPaths.js => toolkit/components/jsdownloads/test/unit/test_DownloadPaths.js
extra : rebase_source : 09a94524be5a68e4e26f17e505b5d10d0ec7398c
extra : source : d5bc3152714edda86a0a4342b86fa2372d09f39d
2017-09-22 15:45:39 +01:00
Mark Striemer c21eac2f26 Bug 1390276 - Make the options_ui background transparent r=rhelmer
MozReview-Commit-ID: Imowx5I5YK4

--HG--
extra : rebase_source : dc12046563b9bb642067fa18be23550bb6e3ad9b
2017-09-20 12:31:37 -05:00
sajattack a883671274 Bug 1364333 - remove leftover code and strings from standalone about:addons UI r=rhelmer
MozReview-Commit-ID: SmDGrX0fz5

--HG--
extra : rebase_source : 70762fa21a33d7c781c0f75423f7a0636c33b26d
2017-09-14 13:44:36 -07:00
Sebastian Hengst e071afa182 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-28 12:17:21 +02:00
Kris Maglione a32ad146bd Bug 1402944: Part 8 - Avoid X-ray overhead when cloning event handler responses. r=mixedpuppy
MozReview-Commit-ID: 4CHP80WymuA

--HG--
extra : rebase_source : 612b9d38cc0c6c5146b1863f22a40789c7471808
2017-09-23 13:30:52 -07:00
Chris Peterson a0c8081df4 Bug 870698 - Part 4: Replace Equals("") with EqualsLiteral(""). r=erahm
MozReview-Commit-ID: G1GhyvD29WK

--HG--
extra : rebase_source : 115842c37a40041bdca7b4e1ff0a5680b02ced15
extra : source : 90bfff9c01d80086cdc17637f310e898fea295ea
2017-09-06 01:13:45 -07:00
Mark Striemer 7b86e8200b Bug 1400379 - Crop category labels in about: pages r=rhelmer
MozReview-Commit-ID: JJ50aIIWbSI

--HG--
extra : rebase_source : 618a7786f8747b3993a621d13b2a46b24ccd0810
2017-09-19 22:24:24 -05:00
Mark Striemer 1c50c67333 Bug 1400379 - Backed out changeset e0fe9ab6917b r=rhelmer
MozReview-Commit-ID: 891WMgch0A3

--HG--
extra : rebase_source : 311a2c0df7f6282f8af9e1d955d2257d284b822d
2017-09-19 22:23:49 -05:00