Commit Graph
34 Commits
Author SHA1 Message Date
Kris Maglione d0b96575aa Bug 1192435: Support updates for WebExtensions. r=Mossop 2015-11-17 16:23:15 -08:00
Kris Maglione 1bee89f0f1 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.
2015-10-19 09:18:42 -07:00
Wes Kocher 480391f34d Backed out 2 changesets (bug 1214058) for xpcshell bustage
Backed out changeset 90e625ac70b2 (bug 1214058)
Backed out changeset a4d5d63a03ef (bug 1214058)
2015-11-03 16:06:23 -08:00
Kris Maglione e21f896f0d 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.
2015-10-19 09:18:42 -07:00
Tooru Fujisawa 7e974cd5fd Bug 1207497 - Part 2: Remove use of expression closure from tests in toolkit/. r=Gijs 2015-09-24 21:25:24 +09:00
Shu-yu Guo 37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Gijs Kruitbosch 02b4192fba Bug 1093034 - test fixes for addon manager and unknown types, r=Mossop 2014-12-19 11:57:37 +00:00
Irving Reid 647cd1ac80 Bug 995108 - Disable blocklist and update timers during Addon Manager mochitests. r=mossop 2014-09-02 11:47:11 -04:00
Irving Reid b814820d30 Bug 760356: #1 Always request all add-ons when loading AddonRepository; r=unfocused 2014-05-20 13:16:37 -04:00
Irving Reid 0b8c66639f Bug 900954: Expose addons.json flush to test harness; r=felipe 2014-04-29 10:09:30 -04:00
Alexander J. Vincent 124eff5db7 Bug 952307 - Move some addon-private JSM's to a subdirectory. r=Unfocused 2014-01-07 20:14:08 -08:00
Irving Reid f4eb0c7bbd Bug 883739 - Set the correct pref so test_update.js does not access services.a.m.o. r=Mossop 2013-12-18 12:24:52 -05:00
Felipe Gomes a5b5a9381c Backed out changeset 24c2574041dd (bug 900954) 2013-10-10 18:43:29 -07:00
Felipe Gomes f358b4d56f Bug 900954 - Make some tests in test_AddonRepository_cache.js wait for data flushed to disk instead of the update-complete notification. r=bmcbride 2013-09-24 01:57:08 -03:00
Irving Reid 491be5c87e Bug 853388: Remove transaction model of database flush control and implement async save of database; r=unfocused 2013-08-08 15:56:35 -04:00
Irving Reid 8a816278ba Back out 2015a41cdf70 for missing reviewer 2013-08-10 19:37:00 -04:00
Irving Reid 3c9da0e288 Bug 853388: Remove transaction model of database flush control and implement async save of database 2013-08-08 15:56:35 -04:00
Felipe Gomes 57b6786c01 Bug 853389 - Convert AddonRepository from SQLite to JSON. r=bmcbride 2013-08-01 12:12:40 -03:00
Irving Reid f108491e86 Bug 853388: Make existing tests a little more robust and easier to debug, also callback stack friendly; r=unfocused 2013-07-13 12:36:27 -04:00
Mark Capella 76ff4e4ac7 Bug 772272 - Remove do_load_httpd_js from xpcshell tests, r=ted, f=gps 2012-08-08 00:51:28 -04:00
Geoff Lankow 1c55536002 Bug 760892 - Store available icon sizes from the API in addons.sqlite; r=Unfocused 2012-07-18 01:24:51 +12:00
Dave Townsend d49cc9c934 Bug 735069 - Some add-ons manager tests are pinging AMO. r=Unfocused 2012-03-21 17:30:19 +13:00
Gregory Szorc ef8f7f31e0 Bug 716736 - Re-add performance data to daily add-on update check; r=Unfocused 2012-01-31 17:22:42 -08:00
Blair McBride 7d0a5282ad Bug 693906 - Parse and use new compatibility ranges in AMO metadata ping. r=dtownsend 2011-12-02 15:28:15 +13:00
Dave Townsend 79e8d0cba0 Bug 635115: Allow opting out of sending add-on information to the discovery pane without disabling automatic add-on updates. r=Unfocused, a=beltzner 2011-02-24 10:32:02 -08:00
Dave Townsend 4f914dc667 Bug 628902: Don't include nonstandard add-on types in AMO metadata ping. r=Unfocused, a=sdwilsh 2011-02-15 15:18:07 -08:00
Dave Townsend 5961a71689 Bug 629237: If a user has turned off updates for individual add-ons then they should not be included in the metadata ping. r=Unfocused, a=blocks-final 2011-01-27 09:58:45 -08:00
Dave Townsend 91f7b48fd9 Bug 617493: Support no contribution amount. r=Unfocused, a=blocks-betaN 2011-01-07 09:17:03 -08:00
Margaret Leibovic 7484b65ff4 Bug 603409 - Allow add-ons to opt out of metadata collection. r=dtownsend, a=blocking-final 2010-12-12 12:44:44 -08:00
Dave Townsend 02320936c4 Bug 595280: Support HTML fragments from the AMO 1.5 API. r=Unfocused, a=blocks-betaN 2010-09-14 16:56:38 -07:00
Ehsan Akhgari cf284ffef4 Backed out changeset fd5ff14bc45a because of unit test failure on Windows 2010-09-13 18:00:28 -04:00
Dave Townsend a981b3dada Bug 595280: AddonRepository should convert HTML to plain text. r=Unfocused, a=blocking-betaN 2010-09-13 10:35:37 -07:00
Michael Wu 22c71da15d Bug 533038 - 7. Extensions should not be extracted into the profile directory, but installed/stored as XPI file, r=Mossop a=blocking-beta6 2010-09-10 15:54:37 -07:00
Ben Parr 9a1865f08f Bug 586591: Expose AMO data to installed add-ons. r=dtownsend, a=blocking-beta5 2010-08-23 18:04:06 -07:00