gecko-dev/toolkit/modules
Kris Maglione 877eae8863 Bug 1454202: Part 1 - Update legacy callers to use Promise-based AddonManager APIs. r=aswan
***
Bug 1454202: Part 1a - Auto-replace uses of callback-based AddonManager APIs with Promise-based versions. r=aswan

This was done using the following script:

4cd5ae9597/processors/aom-api-generators.jsm

MozReview-Commit-ID: 8hobLz15a66
***
Bug 1454202: Part 1b - Manually fix eslint errors after auto-rewrite. r=aswan

This also deletes an obsolete test whose xpcshell variant was already deleted.

MozReview-Commit-ID: DM9W9Q2SVIE
***
Bug 1454202: Part 1c - Manually fix non-eslint issues after auto-rewrite. r=aswan

MozReview-Commit-ID: DtMscWZuExc

--HG--
extra : rebase_source : d4c2f80bdf02ec4a07e3713a9ae1823145d25942
2018-04-14 19:38:18 -07:00
..
addons Bug 1034036 - Part 2: Rename and shorten `getMostRecentBrowserWindow` to `getTopWindow` and modernize the style used in BrowserWindowTracker.jsm. r=dao 2018-04-11 12:05:59 +02:00
docs
secondscreen Bug 1440761 - Enable no-unused-vars for global scope on jsm files in toolkit/. r=mossop 2018-02-23 19:25:59 +00:00
sessionstore Bug 1443379 - Stop pretending cacheKey can be anything other than uint32_t, r=smaug 2018-04-10 17:49:46 -04:00
subprocess Bug 1451215: Run codespell on code. r=aswan 2018-04-03 22:22:07 -07:00
tests Bug 1453869 part 10. Stop constructing DOMParser by contract. r=mrbkap 2018-04-20 23:04:45 -04:00
third_party/jsesc Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
AppConstants.jsm Bug 1450279 - Replace CAN_DRAW_IN_TITLEBAR with a run-time check. r=Gijs 2018-03-30 17:36:01 +02:00
AppMenuNotifications.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
AsyncPrefs.jsm Bug 1430751 - Apply unified behavior model for about: pages to about:privatebrowsing. r=gijs,mrbkap 2018-03-05 09:20:34 +01:00
Battery.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
BinarySearch.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
BrowserUtils.jsm Bug 1434376 - Switch over all uses of BrowserUtils.promiseLayoutFlushed to window.promiseDocumentFlushed. r=Paolo 2018-02-11 20:15:11 -05:00
CanonicalJSON.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
CertUtils.jsm bug 1454504 - use a more performant API to find a root certificate in CertUtils.checkCert r=kmag,mossop 2018-04-16 15:19:51 -07:00
CharsetMenu.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
ClientID.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Color.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Console.jsm Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
DateTimePickerHelper.jsm Bug 1448850 - Remove nsIMessageListener and nsIMessageListenerManager. r=bz. 2018-02-16 15:28:31 +01:00
DeferredTask.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Deprecated.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
E10SUtils.jsm Bug 1434768 - Part 3: Rewrite JS consumers of .sessionHistory, r=bz 2018-04-10 17:49:45 -04:00
EventEmitter.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
FileUtils.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Finder.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
FinderHighlighter.jsm Bug 1455052 part 12. Remove JS uses of nsIDOMEvent. r=masayuki,kmag 2018-04-20 12:55:31 -04:00
FinderIterator.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
FormLikeFactory.jsm Bug 1418077 - Remove nsIDOMHTMLFormElement. r=bz 2018-03-14 21:42:25 +01:00
GMPExtractorWorker.js Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8 2017-10-15 20:50:39 +01:00
GMPInstallManager.jsm Bug 1453123: Follow-up: Fix straggler CertUtils.jsm import. r=bustage DONTBUILD CLOSED TREE 2018-04-12 17:33:14 -07:00
GMPUtils.jsm Bug 1440761 - Enable no-unused-vars for global scope on jsm files in toolkit/. r=mossop 2018-02-23 19:25:59 +00:00
Geometry.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
HiddenFrame.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Http.jsm Bug 792808 - Change toolkit/ to import and instantiate XHRs from global properties rather than using Cc.createInstance(Ci.nsIXMLHttpRequest); r=aswan 2018-02-08 20:09:57 -05:00
IndexedDB.jsm Bug 1448491 - Remove storage option docs from IndexedDB.jsm. r=me DONTBUILD 2018-03-23 23:27:24 +01:00
InlineSpellChecker.jsm Bug 1449505 - Migrate InlineSpellChecker.jsm to use mozIntl.getLocaleDisplayNames. r=jfkthame 2018-04-01 14:30:21 +02:00
InlineSpellCheckerContent.jsm Bug 1448200 - Handle the creation of the spellchecker more gracefully. r=Felipe 2018-03-30 16:15:11 -07:00
Integration.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
JSONFile.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
LightweightThemeConsumer.jsm Bug 1446762 - Update the lwt header image on resolution change. r=MattN 2018-04-20 14:21:00 +02:00
Log.jsm Bug 1452200 - 1b. Add template literal support to Log.jsm; r=markh 2018-04-15 14:53:28 -04:00
Memory.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
NLP.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
NewTabUtils.jsm Bug 1452732 - Add date_added fields to different highlight types r=andreio 2018-04-09 15:33:18 -04:00
ObjectUtils.jsm Bug 1440116 - Add an `ObjectUtils.isEmpty` helper. r=markh 2018-03-22 11:42:14 -07:00
PageMenu.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
PageMetadata.jsm Bug 1433958 - Change code that sets nsIURI.userPass to use nsIURIMutator r=mayhemer 2018-02-26 20:43:46 +01:00
PermissionsUtils.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
PopupNotifications.jsm Bug 1452185 part 2. Remove nsIDOMXULElement use in JS. r=qdot 2018-04-09 16:30:32 -04:00
Preferences.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
PrivateBrowsingUtils.jsm Bug 1432355 - Add a policy to disable private browsing. r=Gijs 2018-03-01 10:20:38 -06:00
ProfileAge.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Promise-backend.js Bug 1433175 - enable the use-cc-etc eslint rule, r=Standard8. 2018-02-28 18:51:35 +01:00
Promise.jsm Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian 2018-02-06 09:36:57 -08:00
PromiseMessage.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
PromiseUtils.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
PropertyListUtils.jsm Bug 1453869 part 10. Stop constructing DOMParser by contract. r=mrbkap 2018-04-20 23:04:45 -04:00
RemoteController.js Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian 2018-02-06 09:36:57 -08:00
RemoteFinder.jsm Bug 1371523 - remove find bar sync ipc message, r=mikedeboer 2018-03-21 17:10:40 +00:00
RemotePageManager.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
RemoteSecurityUI.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
RemoteWebProgress.jsm Bug 1443983: Part 2 - Remove remaining interpositions. r=mconley 2018-03-07 18:10:24 -08:00
ResetProfile.jsm Bug 1429157 - Create an enterprise policy to prevent profile refreshes r=Felipe,Gijs 2018-03-28 09:44:07 -07:00
ResponsivenessMonitor.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
SelectContentHelper.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
SelectParentHelper.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
ServiceRequest.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Services.jsm Bug 1455458: De-XPIDLify the blocklist service. r=gijs 2018-04-19 16:01:24 -07:00
ShortcutUtils.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Sqlite.jsm Bug 1442353 - Reuse timeoutPromise in Sqlite.jsm r=florian 2018-03-01 10:43:07 -08:00
Task.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Timer.jsm Bug 1441712 - Avoid unnecessary calls to generateQI in Timer.jsm r=florian 2018-02-27 15:31:22 -08:00
Troubleshoot.jsm Bug 1454202: Part 1 - Update legacy callers to use Promise-based AddonManager APIs. r=aswan 2018-04-14 19:38:18 -07:00
UpdateUtils.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
WebChannel.jsm Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz. 2018-03-01 20:19:56 +01:00
WindowDraggingUtils.jsm Bug 1455235 [gtk] Don't start moving window before mousemove event, r=dao 2018-04-19 12:39:57 +02:00
WindowsRegistry.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
ZipUtils.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
css-selector.js Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
jar.mn Bug 1380282: rewrite browser_ext_webRequest.js for the new data: URI inheritance model. r=kmag 2017-07-19 14:41:46 +08:00
moz.build Bug 1415342 - Part 1 - Move OfflineAppCacheHelper to Toolkit. r=standard8 2018-04-12 19:16:02 +02:00
offlineAppCache.jsm Bug 1415342 - Part 1 - Move OfflineAppCacheHelper to Toolkit. r=standard8 2018-04-12 19:16:02 +02:00
win.xul Bug 1380282: rewrite browser_ext_webRequest.js for the new data: URI inheritance model. r=kmag 2017-07-19 14:41:46 +08:00