gecko-dev/toolkit/mozapps
Kris Maglione 1f33d6ac2d Bug 1214058: Part 2 - Run add-on update tests against comparable JSON and RDF manifests. r=Mossop
I tried to keep the changes to existing tests as minimal as
possible. There were a few exceptions, though:

* test_update_ignorecompat.js was completely broken. I couldn't
  figure out why it was suddenly failing after I changed it to use
  `add_test`, and it turned out that it had been failing all along,
  but in a way that the harness didn't pick up.

* I changed most of the `do_throw` in update callbacks to `ok(false`
  because it took me about an hour to figure out where the test was
  failing when I hit one of them.

* I made some changes to sync `test_update.js` and `test_update_ignorecompat.js`
  where one appeared to have been changed without updating the
  other.

* I made `promiseFindAddonUpdates` a bit more generic, because I was
  planning to convert most of `test_update.js` to use it, rather
  than nested callbacks. I changed my mind a quarter of the way
  through, but decided to keep the changes, since they'll probably
  be useful elsewhere.

--HG--
extra : commitid : 2jBJ2yUht46
extra : rebase_source : a123db431a26b29f3deb81e6b961bf556005c2a6
extra : source : 90e625ac70b2071f1c2430725892f7c266928521
2015-10-19 09:18:42 -07:00
..
downloads Bug 1217082 - Remove for-each from toolkit/. r=Gijs 2015-10-19 04:57:14 +09:00
extensions Bug 1214058: Part 2 - Run add-on update tests against comparable JSON and RDF manifests. r=Mossop 2015-10-19 09:18:42 -07:00
handling Bug 1217082 - Remove for-each from toolkit/. r=Gijs 2015-10-19 04:57:14 +09:00
installer Bug 1220763 - 43.0b1 build1 osx en-US beta build failing to upload, r=glandium 2015-11-03 21:22:38 +13:00
preferences Bug 1204154 - Clean up jar manifests that needlessly specify the source file. r=dao 2015-09-15 18:33:57 -07:00
update Bug 1205843 - Part 2: Disable maintenance service on WinXP < SP3 - r=rstrong 2015-10-27 14:31:34 -07:00