services/sync/tests/unit/bootstrap1-search.json
author Andrew Swan <aswan@mozilla.com>
Wed, 10 Jan 2018 14:18:20 -0800
changeset 405504 5dd1b3a4ea85dc32387d744dcc2f19fb86f63fb0
parent 83002 services/sync/tests/unit/bootstrap1-search.xml@33278465af7c93eead262ad8d86956cec7663cbd
permissions -rw-r--r--
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

{
  "next": null,
  "results": [
    {
      "name": "Restartless Test Extension",
      "type": "extension",
      "guid": "bootstrap1@tests.mozilla.org",
      "current_version": {
        "version": "1.0",
        "files": [
          {
            "platform": "all",
            "size": 485,
            "url": "http://127.0.0.1:8888/bootstrap1.xpi"
          }
        ]
      },
      "last_updated": "2011-09-05T20:42:09Z"
    }
  ]
}