mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
aeee120808
Switch from the old XML-based AMO metadata API to the modern JSON based API. This turned into something between a modest update and complete rewrite. Most notably, external APIs became (mostly) promise-based. The exception is getCachedAddonById() which XPIInstall.jsm requires a synchronous callback from. Also, hopefully we will be able to get rid of a bunch of this metadata handling soon. If this code had a long life ahead of it, the unit tests could use some more attention, but I mostly did the minimum here just to keep them running for now with the expectation that we'll be able to get rid of them within some small number of months. MozReview-Commit-ID: 3DRaBdWGaiJ --HG-- rename : services/sync/tests/unit/addon1-search.xml => services/sync/tests/unit/addon1-search.json rename : services/sync/tests/unit/bootstrap1-search.xml => services/sync/tests/unit/bootstrap1-search.json rename : services/sync/tests/unit/missing-sourceuri.xml => services/sync/tests/unit/missing-sourceuri.json rename : services/sync/tests/unit/missing-xpi-search.xml => services/sync/tests/unit/missing-xpi-search.json rename : services/sync/tests/unit/rewrite-search.xml => services/sync/tests/unit/rewrite-search.json rename : services/sync/tests/unit/systemaddon-search.xml => services/sync/tests/unit/systemaddon-search.json extra : rebase_source : f25d78b938768041c5c05b72a1f7ff3a7dee8275 |
||
---|---|---|
.. | ||
components | ||
content | ||
crashreporter | ||
forgetaboutsite | ||
library | ||
locales | ||
modules | ||
mozapps | ||
pluginproblem | ||
profile | ||
system | ||
themes | ||
xre | ||
.eslintrc.js | ||
moz.build | ||
moz.configure | ||
nss.configure | ||
toolkit.mozbuild |