Files
firefox/services/sync/tests/unit/missing-sourceuri.json
Andrew Swan e03b60f5ea Bug 1402064 Switch to modern AMO metadata API r=kmag
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
2018-01-10 14:18:20 -08:00

21 lines
390 B
JSON

{
"next": null,
"results": [
{
"name": "Restartless Test Extension",
"type": "extension",
"guid": "[email protected]",
"current_version": {
"version": "1.0",
"files": [
{
"platform": "all",
"size": 485
}
]
},
"last_updated": "2011-09-05T20:42:09Z"
}
]
}