gecko-dev/toolkit/mozapps/extensions/test/addons
Dave Townsend 7aaebac0ec Bug 1362364: Lazily load the certificate database into the add-ons manager. r=rhelmer
The lazy loading is a little more complex because we want this to be a constant
in the scope so extensions can't trivially replace it. This also changes the
test to be more like the proof of concept from bug 1244248.

I took the opportunity to promisify a bunch of things which ultimately made the
verifySignatures code nicer.

MozReview-Commit-ID: 2P890uRY1Si

--HG--
extra : rebase_source : 5fbccfa949089db0c7f3dbb341532ba335a4d6bc
2017-05-05 14:41:31 -07:00
..
blocklist_hard1_1 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
blocklist_hard1_2 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
blocklist_hard1_3 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
blocklist_regexp1_1 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
blocklist_regexp1_2 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
blocklist_regexp1_3 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
blocklist_soft1_1 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
blocklist_soft1_2 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
blocklist_soft1_3 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
blocklist_soft2_1 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
blocklist_soft2_2 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
blocklist_soft2_3 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
blocklist_soft3_1 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
blocklist_soft3_2 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
blocklist_soft3_3 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
blocklist_soft4_1 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
blocklist_soft4_2 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
blocklist_soft4_3 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
blocklist_soft5_1 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
blocklist_soft5_2 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
blocklist_soft5_3 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
bootstrap_globals Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
min1max1 Bug 760356: Only show the addon compat UI when necessary; r=unfocused 2014-05-20 13:16:39 -04:00
min1max2 Bug 760356: Only show the addon compat UI when necessary; r=unfocused 2014-05-20 13:16:39 -04:00
min1max3 Bug 760356: Only show the addon compat UI when necessary; r=unfocused 2014-05-20 13:16:39 -04:00
min1max3b Bug 760356: Only show the addon compat UI when necessary; r=unfocused 2014-05-20 13:16:39 -04:00
override1x2-1x3 Bug 760356: Only show the addon compat UI when necessary; r=unfocused 2014-05-20 13:16:39 -04:00
test_AddonRepository_1 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
test_AddonRepository_2
test_AddonRepository_3
test_bootstrap1_1 Bug 1351933 - Remove support for whitelisting addons for the e10s rollout. r=krizsa 2017-04-17 17:26:56 -03:00
test_bootstrap1_2 Backed out changeset 3d3f055ade52 (bug 1207772) for test_system_update.js failures 2015-09-30 13:45:02 -07:00
test_bootstrap1_3 Backed out changeset 3d3f055ade52 (bug 1207772) for test_system_update.js failures 2015-09-30 13:45:02 -07:00
test_bootstrap1_4
test_bootstrap2_1 Bug 1351933 - Remove support for whitelisting addons for the e10s rollout. r=krizsa 2017-04-17 17:26:56 -03:00
test_bootstrap3_1 Bug 1351933 - Remove support for whitelisting addons for the e10s rollout. r=krizsa 2017-04-17 17:26:56 -03:00
test_bootstrap_const Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
test_bug299716_2
test_bug299716_a_1
test_bug299716_a_2
test_bug299716_b_1
test_bug299716_b_2
test_bug299716_c_1
test_bug299716_c_2
test_bug299716_d_1
test_bug299716_d_2
test_bug299716_e_1
test_bug299716_e_2
test_bug299716_f_1
test_bug299716_f_2
test_bug299716_g_1
test_bug299716_g_2
test_bug324121_1
test_bug324121_2
test_bug324121_3
test_bug324121_4
test_bug324121_5
test_bug324121_6
test_bug324121_7
test_bug324121_8
test_bug324121_9
test_bug335238_1
test_bug335238_2
test_bug335238_3
test_bug335238_4
test_bug371495
test_bug394300_1
test_bug394300_2
test_bug397778
test_bug425657
test_bug470377_1 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
test_bug470377_2 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
test_bug470377_3 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
test_bug470377_4 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
test_bug470377_5 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
test_bug521905
test_bug567173
test_bug567184 Bug 1318089: Turn on no-unused-vars ESLint rule for toolkit/mozapps/extensions. r=rhelmer 2016-11-16 13:01:16 -08:00
test_bug587088_1
test_bug587088_2
test_bug595573
test_bug655254 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
test_bug655254_2 Bug 1318089: Turn on no-unused-vars ESLint rule for toolkit/mozapps/extensions. r=rhelmer 2016-11-16 13:01:16 -08:00
test_bug659772
test_bug675371 Bug 1318089: Turn on no-unused-vars ESLint rule for toolkit/mozapps/extensions. r=rhelmer 2016-11-16 13:01:16 -08:00
test_bug740612_1 Bug 1318089: Turn on no-unused-vars ESLint rule for toolkit/mozapps/extensions. r=rhelmer 2016-11-16 13:01:16 -08:00
test_bug740612_2 Bug 1318089: Turn on no-unused-vars ESLint rule for toolkit/mozapps/extensions. r=rhelmer 2016-11-16 13:01:16 -08:00
test_bug757663
test_cache_certdb Bug 1362364: Lazily load the certificate database into the add-ons manager. r=rhelmer 2017-05-05 14:41:31 -07:00
test_cacheflush1
test_cacheflush2
test_chromemanifest_1
test_chromemanifest_2
test_chromemanifest_3
test_chromemanifest_4
test_chromemanifest_5
test_chromemanifest_6 Bug 675372 - Allow resource protocol mappings in chrome.manifest files of bootstrapped add-ons; r=Unfocused 2015-01-22 20:00:13 +13:00
test_data_directory Bug 915838 - Provide add-ons a standard directory to store data, settings. r=Unfocused 2013-10-16 17:10:50 -07:00
test_db_sanity_1_1
test_db_sanity_1_2
test_delay_update_complete_v2 Bug 1318089: Turn on no-unused-vars ESLint rule for toolkit/mozapps/extensions. r=rhelmer 2016-11-16 13:01:16 -08:00
test_delay_update_complete_webextension_v2 Bug 1279012 - implement onUpdateAvailable and runtime.reload() for WebExtensions r=aswan 2016-08-02 09:37:01 -07:00
test_delay_update_defer_v2 Bug 1318089: Turn on no-unused-vars ESLint rule for toolkit/mozapps/extensions. r=rhelmer 2016-11-16 13:01:16 -08:00
test_delay_update_defer_webextension_v2 Bug 1279012 - implement onUpdateAvailable and runtime.reload() for WebExtensions r=aswan 2016-08-02 09:37:01 -07:00
test_delay_update_ignore_v2 Bug 1318089: Turn on no-unused-vars ESLint rule for toolkit/mozapps/extensions. r=rhelmer 2016-11-16 13:01:16 -08:00
test_delay_update_ignore_webextension_v2 Bug 1279012 - implement onUpdateAvailable and runtime.reload() for WebExtensions r=aswan 2016-08-02 09:37:01 -07:00
test_dictionary Bug 1193926: Only register chrome for add-ons that need it. r=bsmedberg 2015-08-24 09:36:57 -07:00
test_dictionary_2
test_dictionary_3
test_dictionary_4
test_dictionary_5
test_distribution1_2
test_experiment1 Bug 1220911: Switch test_experiment.js to task style. r=rhelmer 2015-11-09 15:02:05 -08:00
test_filepointer
test_getresource
test_hotfix_1
test_hotfix_2
test_install1
test_install2_1
test_install2_2
test_install3
test_install5
test_install6
test_install7 Bug 1177130: Multipackage XPIs with no valid XPIs should appear as failed downloads. r=rhelmer 2015-06-24 13:18:27 -07:00
test_install8 Bug 1177130: Multipackage XPIs with no valid XPIs should appear as failed downloads. r=rhelmer 2015-06-24 13:18:27 -07:00
test_jetpack Bug 1318089: Turn on no-unused-vars ESLint rule for toolkit/mozapps/extensions. r=rhelmer 2016-11-16 13:01:16 -08:00
test_langpack
test_locale
test_locked2_5
test_locked2_6
test_migrate4_6
test_migrate4_7
test_migrate6
test_migrate7
test_migrate8
test_migrate9
test_symbol Bug 1318089: Turn on no-unused-vars ESLint rule for toolkit/mozapps/extensions. r=rhelmer 2016-11-16 13:01:16 -08:00
test_theme
test_undoincompatible Bug 612168 - Handle uninstalls of restartless addons in XPIProvider. r=Mossop 2016-02-05 15:06:48 -08:00
test_undouninstall1 Bug 612168 - Handle uninstalls of restartless addons in XPIProvider. r=Mossop 2016-02-05 15:06:48 -08:00
test_update
test_update8
test_update12
test_updateid1 Bug 1318089: Turn on no-unused-vars ESLint rule for toolkit/mozapps/extensions. r=rhelmer 2016-11-16 13:01:16 -08:00
test_updateid2 Bug 1318089: Turn on no-unused-vars ESLint rule for toolkit/mozapps/extensions. r=rhelmer 2016-11-16 13:01:16 -08:00
upgradeable1x2-3_1 Bug 760356: Only show the addon compat UI when necessary; r=unfocused 2014-05-20 13:16:39 -04:00
upgradeable1x2-3_2 Bug 760356: Only show the addon compat UI when necessary; r=unfocused 2014-05-20 13:16:39 -04:00
webextension_1 Bug 1192432 - Support custom icons in Web Extensions. r=mossop 2015-10-14 11:03:40 +02:00
webextension_2 Bug 1196301 - Prefer install.rdf over manifest.json. r=Mossop 2015-08-21 12:30:27 -04:00
webextension_3 Bug 1235365: Parse WebExtension JSON files as UTF-8. r=billm 2016-01-09 16:53:24 -08:00