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

7504 Коммитов

Автор SHA1 Сообщение Дата
Cosmin Sabou ce9ff94ffe Merge inbound to mozilla-central. a=merge 2018-05-02 17:58:43 +03:00
Tim Nguyen 541fe0552d Bug 1432508 - Support default_locale in static theme manifests. r=aswan
MozReview-Commit-ID: HGbsztYtyjr

--HG--
extra : rebase_source : 7e77849a6c717416c23c517036f84bb52e0b4d79
2018-05-02 09:48:14 +01:00
Narcis Beleuzu 403f66d911 Backed out changeset b74e2721b7f0 (bug 1432508) for browser chrome failures on browser_ext_browserAction_theme_icons.js.CLOSED TREE 2018-05-02 10:39:38 +03:00
Tim Nguyen 1cf1a83e5b Bug 1432508 - Support default_locale in static theme manifests. r=aswan
MozReview-Commit-ID: J5desAN98GQ

--HG--
extra : rebase_source : 22267598ea5f4d10e6261dba65ac1aeb1819e87c
2018-04-29 19:20:42 +01:00
Andreea Pavel 443c91d4b4 Merge inbound to mozilla-central. a=merge 2018-04-28 20:30:18 +03:00
Gijs Kruitbosch f484a33f52 Bug 1456515 - make plugin URL methods async, r=kmag
MozReview-Commit-ID: 6EITxFc12mW

--HG--
extra : rebase_source : 1610257bcb928655b28fbbec55c7bbb80ec477a2
2018-04-27 15:56:46 +01:00
Kris Maglione bf4d9f1be5 Bug 1456035: Part 5 - Convert manual QueryInterface to ChromeUtils.generateQI. r=mccr8
Manually-implemented QueryInterface functions don't benefit from the
MozQueryInterface optimizaions, and a lot of them are in hot code, and
implement a large number of interfaces.

MozReview-Commit-ID: 8OzglraowZt

--HG--
extra : rebase_source : 5fff3d9973a0ea976096339a63ce9ff628b68441
2018-04-23 12:58:34 -07:00
Kris Maglione a259026c9d Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Jonathan Kingston 14792a82ae Bug 1454820 - Add support for system addon signing for web extension bundling. r=johannh,kmag
MozReview-Commit-ID: 3dpQKGHOgLa

--HG--
extra : rebase_source : d10066d985118d82d3fcb30bcc81cd255b70d366
2018-04-18 00:43:39 +01:00
Boris Zbarsky 76ead58490 Bug 1455674 part 19. Get rid of JS uses of nsIDOMElement. r=qdot
In nsBlocklistService.js we know we're dealing with actual nodes, so .nodeType
checks should be fine.
2018-04-26 23:37:34 -04:00
Boris Zbarsky 786ad6bda7 Bug 1455674 part 11. Remove nsIDOMElement use from xpidl in toolkit. r=mossop 2018-04-26 23:36:30 -04:00
Kris Maglione f55bef228c Bug 1410214: Part 3 - Support packed WebExtension dictionaries. r=aswan,masayuki
MozReview-Commit-ID: 6nrw0IIe4UG

--HG--
extra : rebase_source : 3e2c2b24bd7a9136d326da9bea3d1dc197cb908b
extra : absorb_source : 9f7ab2b81c220463b82a74cb64e93528a54ff2c4
2018-04-26 13:26:05 -07:00
Kris Maglione d3904fd92f Bug 1410214: Part 1 - Implement support for WebExtension-style dictionary add-ons. r=aswan,gandalf
MozReview-Commit-ID: 3oylyEBgrzB

--HG--
extra : rebase_source : 640a71111fb84506906a2b150ea3d18339ebbdab
2018-04-26 13:32:38 -07:00
Cosmin Sabou a9f70f3fe8 Backed out changeset 5e8342edb62d (bug 1454820) mochitest e-10s failures on test_bug386782.html. CLOSED TREE 2018-04-27 19:50:26 +03:00
Jonathan Kingston 75441127ab Bug 1454820 - Add support for system addon signing for web extension bundling. r=johannh,kmag
MozReview-Commit-ID: 3dpQKGHOgLa

--HG--
extra : rebase_source : 887bbeb5429f765eb8222a833ef4783d91fe8ae7
2018-04-18 00:43:39 +01:00
Andrei Hajdukewycz 778578c240 Bug 1458162 - Change xpcshell test toolkit/mozapps/extensions/test/xpcshell/test_pluginInfoURL.js to use blocklist pref for test_infoURL_missing. r=Gijs
--HG--
extra : rebase_source : 9a752e927b7246334040e87be8504ea4849d64d0
2018-04-30 23:53:27 -07:00
Cosmin Sabou 70a151f470 Backed out changeset 7e3aa63ae752 (bug 1454820) for ESlint failure on extensions/Extension.jsm:509:22. CLOSED TREE 2018-04-27 14:46:19 +03:00
Jonathan Kingston bd4b4207f0 Bug 1454820 - Add support for system addon signing for web extension bundling. r=johannh,kmag
MozReview-Commit-ID: 3dpQKGHOgLa

--HG--
extra : source : 8141b60030b908c1f291979d72e0f21db8206c5c
2018-04-18 00:43:39 +01:00
Kris Maglione be628a4524 Bug 1456677: Make the blocklist service a JSM, with an XPCOM service stub. r=Gijs
Aside from making things easier for JS callers, this also makes it harder to
accidentally trigger an early load of the service, which can be expensive
during startup.

This also makes a slight change to nsPluginHost to initially preserve the
previous blocklist state when a plugin is updated, to avoid the risk of the
possible additioanl asynchrony unblocking a plugin that should stay blocked.

MozReview-Commit-ID: 4EvIGJ1Ke0Z

--HG--
rename : toolkit/mozapps/extensions/nsBlocklistService.js => toolkit/mozapps/extensions/Blocklist.jsm
extra : rebase_source : e7047615ea3a728478695c76a0c521b0281f363b
extra : amend_source : b74115abacacd17ae3e8433a534a5bbb541905b0
2018-04-24 17:46:44 -07:00
Kris Maglione ab9869b512 Bug 1456324: Follow-up: Fix assertion in debug builds. r=bustage
MozReview-Commit-ID: BUwZBVc87mZ

--HG--
extra : rebase_source : 0dcfb08173d48890e21f5d603fa1ec13d2282808
2018-04-25 13:32:32 -07:00
Kris Maglione a7b308c3a2 Bug 1456686: Part 1 - Fix unused and shadowed explicit imports. r=standard8
These issues were previously ignored due to the nature of our global import
rules. They need to be fixed before that rule can be updated.

MozReview-Commit-ID: DCChktTc5TW

--HG--
extra : rebase_source : cffb1c9762191c579d1397c8169e6e7635d229da
extra : histedit_source : dea59ddd2daaae52069c5faceae9149a4f08dd73
2018-04-24 20:18:09 -07:00
Kris Maglione efab220d5f Bug 1456324: Part 1 - Update tests to use nsIFakePluginTag rather than JS mocks. r=Gijs
This will allow us to make nsIPluginTag a builtin class.

This patch also factors out some common logic from AOM plugin tests.

MozReview-Commit-ID: FbXlSE8sjyK

--HG--
extra : rebase_source : 6403a62bcd6d5a1481c0b4d74c41339f659280ca
2018-04-25 12:31:25 -07:00
Brindusan Cristian 59f801793b Merge inbound to mozilla-central. a=merge 2018-04-25 00:50:59 +03:00
Kris Maglione 320f51fd2c Bug 1456262: Optimize addAddonsToCrashReporter at startup. r=aswan
This consistently shows up in profiles as taking about 6-10ms during startup.

Part of the problem is that it loads TelemetrySession.jsm, which we can't fix.

Part of the problem is that the escaping and string manipulation it does is fairly expensive. We can cache the escaped values in addonStartup.jsm to avoid that.

A lot of the problem is that we call it every time we load a bootstrap scope, even though we already set the correct value before we start loading any bootstrapped scopes, and it doesn't change after that. We can avoid this by skipping the redundant calls during startup.

MozReview-Commit-ID: 68EWdnJdPvk

--HG--
extra : rebase_source : a2ad982214634304be5adc17661c9997fc94a708
extra : amend_source : aa2038ff9d655e8d5628c70615c04f7a5101fe28
2018-04-22 15:58:02 -07:00
Kris Maglione fb878aebe0 Bug 1455964: Make encodeBlob fallible on OOM. r=zombie
MozReview-Commit-ID: 83t9c9we5zg

--HG--
extra : rebase_source : 08568d79b13ac498fb5f30b268a202d8219711b9
extra : amend_source : b6092955eddc48d48cb6510384f068f85ab062bf
2018-04-22 12:20:20 -07:00
Kris Maglione 5368c68c85 Bug 1363925: Follow-up: Fix JSDoc issues. r=zombie DONTBUILD
MozReview-Commit-ID: 4MlDEcrLOS5

--HG--
extra : rebase_source : d750fbadf20517922879bce386f920e380146fe6
2018-04-24 12:03:51 -07:00
Kris Maglione a8e81034c4 Bug 1363925: Follow-up: Cleanup merge artifacts from bug 1433574. r=trivial
MozReview-Commit-ID: EFrwjQkk7OO

--HG--
extra : rebase_source : bdde36041472d2b887d4a586afd5ede0518afcec
2018-04-24 12:05:26 -07:00
Andrew Swan 7b20ac46dc Bug 1433574 Remove startup addon update check r=kmag
MozReview-Commit-ID: AjcRaDqjDNy

--HG--
extra : rebase_source : 6c70243496248b617d3bf5d7244388d0c30004f8
2018-04-23 14:59:11 -07:00
Kris Maglione 39792c8bdf Bug 1449071: Disable browser_file_xpi_no_process_switch for too frequent failures. r=me,test-only DONTBUILD
MozReview-Commit-ID: IUOwdb4XHv3
2018-04-23 21:30:39 -07:00
Kris Maglione 7f57158c87 Bug 1363925: Follow-up: Fix more rebase bustage. r=bustage
MozReview-Commit-ID: CpJkphCaNuE
2018-04-23 21:15:56 -07:00
Kris Maglione b34897b3b6 Bug 1456291: Follow-up: Fix dummy GMP data. r=bustage
MozReview-Commit-ID: 94xc6yDoHls

--HG--
extra : rebase_source : 4fc3d8b7f8b058b568d1f3455a43aee9f9a870e8
2018-04-23 20:50:54 -07:00
Kris Maglione c655361fd7 Bug 1363925: Follow-up: Fix eslint bustage after rebase. r=bustage DONTBUILD
MozReview-Commit-ID: JOPfyCxb65B
2018-04-23 20:37:06 -07:00
Kris Maglione e109e359c0 Bug 1363925: Part 8e - Convert AddonInternal classes to ES6 classes. r=aswan
MozReview-Commit-ID: LUwU0JbRn2H

--HG--
extra : rebase_source : f4bbed728a20c799c239640f6676e35ebf0324ef
extra : histedit_source : 2f6dce596319efb28181bafcb7a0eefd3c15b0a9
2018-04-22 15:21:30 -07:00
Kris Maglione 294399b3fb Bug 1363925: Part 8d - Move updateAddonDisabledState to XPIDatabase. r=aswan
This code is large and complex, and can only be called when we have an
AddonInternal object from XPIDatabase.jsm. It should live with that code.

MozReview-Commit-ID: 3ssV5aH9NUJ

--HG--
extra : rebase_source : d54474f67213420678706f04291b246ceee154de
extra : histedit_source : d1a3ca6fd05856a6675380717351e2e1d1568cf1
2018-04-22 15:00:08 -07:00
Kris Maglione 4f17dc56da Bug 1363925: Part 8c - Move isUsableAddon to XPIDatabase.jsm. r=aswan
MozReview-Commit-ID: 1aIA9Lu5sS2

--HG--
extra : rebase_source : ed39e7050d21d116338000234ab0cc4c6d34cf51
extra : histedit_source : f23e525032390d32e203d0b505cbf19d228d5ff6
2018-04-22 14:52:27 -07:00
Kris Maglione 980c561d2e Bug 1363925: Part 8b - Move AddonInternal to XPIDatabase.jsm. r=aswan
AddonInternal objects are only ever created after the database is loaded, so
there's no reason to load that code beforehand. More importantly, creating
the AddonWrapper class is expecially expensive, since most of their properties
are created dynamically. We should avoid doing that at startup when at all
possible.

MozReview-Commit-ID: AaRVN12e1qM

--HG--
extra : rebase_source : d5f9da1f8a54cdeecc45aa9857c6a6329821bb34
extra : histedit_source : 73c67373ad04a397bf9b2c2174c637f8ba645a95
2018-04-22 14:45:02 -07:00
Kris Maglione a6683dff36 Bug 1363925: Part 8a - Migrate XPIProviderUtils.js to XPIDatabase.jsm. r=aswan
MozReview-Commit-ID: CNfHgCYCkNd

--HG--
rename : toolkit/mozapps/extensions/internal/XPIProviderUtils.js => toolkit/mozapps/extensions/internal/XPIDatabase.jsm
extra : rebase_source : 968e0072b9dfaf7d9f3f9b2c551ae34582ff1934
extra : histedit_source : a5ad9c4e61f8a92f3830953d3db88213f12a5c8b
2018-04-22 14:22:59 -07:00
Kris Maglione 17554348ca Bug 1363925: Part 7c - Turn on valid-jsdoc rule for XPIProviderUtils.js. r=me,npotb
MozReview-Commit-ID: ENdbZ8dicVX

--HG--
extra : rebase_source : 5b87da8abd55ed49d2b03c686545ad4cbacb09c6
extra : histedit_source : 098718bfd845fcc1b3bfff4aecafcdf1d84a82c3
2018-04-22 14:05:17 -07:00
Kris Maglione fdcc021e51 Bug 1363925: Part 7b - Turn on valid-jsdoc rule for XPIProvider.jsm. r=me,npotb
MozReview-Commit-ID: BQ6N84B2pC3

--HG--
extra : rebase_source : 04b9d4f3331d0de1ef8225b56e0f069265d7d4f4
extra : histedit_source : 287ad8e3c17f19cc7d140fed4f4ef5f4a36a0dc9
2018-04-21 20:51:52 -07:00
Kris Maglione 65b6ddb7e2 Bug 1363925: Part 7a - Turn on valid-jsdoc rule for XPIInstall.jsm. r=me,npotb
MozReview-Commit-ID: Ch1NaeLAxtJ

--HG--
extra : rebase_source : 26ebeec5db42c7ed27bb536cbfb81c41983cb1cc
extra : histedit_source : 4764ba7f0c7239fdca1fb2540e1e92ed07a4569f
2018-04-21 20:28:19 -07:00
Kris Maglione d099436c30 Bug 1363925: Part 6 - Move staged add-on install logic to XPIInstall. r=aswan
MozReview-Commit-ID: IDXsbKvl5U3

--HG--
extra : rebase_source : a17fb46c989f05c4519b9bce380d89eaca118edd
extra : histedit_source : e3065c8f52311f67eefdb51b13abe26bbba9adaf
2018-04-21 19:47:16 -07:00
Kris Maglione 58a8659f77 Bug 1363925: Part 4 - Move XPIProvider install methods to XPIInstall. r=aswan
MozReview-Commit-ID: DiPA01emGA9

--HG--
extra : rebase_source : e7e755c7ced75b2d884e85349989326d57cdd533
extra : histedit_source : e1227a92de4edbb1994c4f8981d4fc7ec46a637e
2018-04-21 19:06:44 -07:00
Kris Maglione 33ff77dabf Bug 1363925: Part 3 - Move more install logic from XPIProvider to XPIInstall. r=aswan
MozReview-Commit-ID: 87PXV43Lpn9

--HG--
extra : rebase_source : dfc38cfb001455243449d7fe0da7f9294e88c8c2
extra : histedit_source : 6e561d0601dcca8da34c926b72e65a126bd40572
2018-04-21 18:29:33 -07:00
Kris Maglione 86b3ec9863 Bug 1372694: Part 2 - Remove support for registering non-bootstrapped extension chrome. r=aswan
MozReview-Commit-ID: FpTfAHWpTnt

--HG--
extra : rebase_source : 0a22166f56a6316957b372f1f45b20822df0d784
extra : amend_source : 0a0d30a995fc032672cf5283627c55b3c26955ac
2018-04-20 17:00:29 -07:00
Tim Nguyen 92c9a958e1 Bug 1372694 - Stop making the default theme a heavyweight theme. r=kmag,aswan
MozReview-Commit-ID: 30wMauuc9oo

--HG--
rename : browser/base/content/default-theme-icon.svg => toolkit/mozapps/extensions/content/default-theme-icon.svg
extra : rebase_source : 5e4cf784135f4a8e40a2ed8357ba651e7fce9728
2018-04-01 13:53:31 +02:00
Gijs Kruitbosch c4a85a5a4d Bug 1456171 - make getPluginBlocklistState API asynchronous, r=kmag
MozReview-Commit-ID: KcDWtkdkNKs

--HG--
extra : rebase_source : 3c96317565b0efecc796ba4429324aa6c2945a69
2018-04-23 17:11:34 +01:00
Xidorn Quan 804bbb9b67 Bug 1455623 part 1 - Remove stylo-bindings.zip artifact. r=froydnj
MozReview-Commit-ID: IOa51wZzTlB

--HG--
extra : rebase_source : e7382ad82325c44b23024c0914a61280921a555e
2018-04-21 00:20:41 +10:00
Kris Maglione 695d065f22 Bug 1455868: Expect unsigned langpack install to fail on release builds. r=aswan
MozReview-Commit-ID: DpNa24d2T6U

--HG--
extra : rebase_source : 63a4f9fcda603439ebcd20b817fd5d3144628f9c
extra : amend_source : 10bf56008da37b758389a8f77afb6ef3e61e1ca7
extra : histedit_source : 6f19646f2e0a73d4be708aeee14b8f739557f5ed
2018-04-21 16:40:23 -07:00
Kris Maglione 11454d5e75 Bug 1450834: Remove AddonManagerTesting.jsm for it is monumentally silly. r=aswan
MozReview-Commit-ID: HWGELfaFEx4

--HG--
extra : rebase_source : 4c8b2134c1e55a322dc00dea71198a8b31e7ab19
extra : amend_source : f1bb977af4f6fd5c00913a097719ff1f0afa6cff
extra : absorb_source : 004c56118ce4eb49280ec3034335d1a83e5b5805
extra : histedit_source : 52bc5e1119da3ceb691fe9c2aaf43097362abba7
2018-04-15 19:01:19 -07:00
Kris Maglione 882b43fb78 Bug 1454202: Part 5b-c - Remove interstitial callback argument from getInstall* APIs. r=aswan
***
Bug 1454202: Part 5b - Remove interstitial callback argument from getInstall* APIs. r=aswan

MozReview-Commit-ID: ATKWozPZF4d
***
Bug 1454202: Part 5c - Update callers for new getInstall* signature. r=aswan

MozReview-Commit-ID: FWzZ2dxZOGs

--HG--
extra : rebase_source : f5460c6c7cb7dbd844c03edb6158cfdeb5e1dd9f
extra : absorb_source : d112aeea40576383a9acc7573cc4cde71b5150fb
extra : histedit_source : fb0ac000504068db820193823bcf1e6fac9fa3cf
2018-04-15 14:22:55 -07:00