gecko-dev/toolkit/modules
Paolo Amadini 12dde8ba1c Bug 1370653 - Update PromiseTestUtils for use in mochitests. r=Mossop
This adds a new coarse-grained whitelisting function, whose usage should be kept to a minimum but is necessary because many mochitests have cleanup issues on shutdown.

The module now handles cases that only happen in mochitests, where rejections can occur in contexts that are unloaded and more than one test file can be executed sequentially in the same process.

MozReview-Commit-ID: 8xejMxoSBzf

--HG--
extra : rebase_source : ae2dbfb46def5cec58bbdcb27ca3f60a636ce56d
extra : intermediate-source : 08cf07d18bc40082fd8592ba7ded0e16cd746455
extra : source : 22e7144f857ce6a49764375f1e5ddf3e1ead7a96
2017-06-06 21:33:08 +01:00
..
addons Bug 1322235: Part 3 - Use MatchPatternSet for whiteListedHosts and webRequest. r=aswan,zombie 2017-06-03 22:11:20 -07:00
docs
secondscreen Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
sessionstore Bug 1344857 - SessionStore does not return titles for tabs which have a url that is identical to the title, r=mikedeboer 2017-04-11 13:50:24 -04:00
subprocess Bug 1367232 - Clean up various ESLint global definitions in toolkit/. r=mossop 2017-05-19 09:22:48 +01:00
tests Bug 1370653 - Update PromiseTestUtils for use in mochitests. r=Mossop 2017-06-06 21:33:08 +01:00
third_party/jsesc
AppConstants.jsm Bug 1367166 - Add MOZ_PHOTON_ANIMATIONS to AppConstants. r=jaws 2017-05-24 10:57:31 -07:00
AppMenuNotifications.jsm Bug 1359733 - Move menu notification state to jsm r=Gijs 2017-05-18 13:22:27 -07:00
AsyncPrefs.jsm Bug 1353542 - pre-script hand-written cleanup patch, r=Mossop. 2017-05-12 14:41:20 +02:00
Battery.jsm Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN 2016-12-29 18:34:54 -05:00
BinarySearch.jsm Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN 2016-12-29 18:34:54 -05:00
BrowserUtils.jsm Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
CanonicalJSON.jsm
CertUtils.jsm Bug 1319252 - Remove nsIX509Cert.getAllTokenNames(). r=keeler,mossop 2017-03-19 16:02:26 +08:00
CharsetMenu.jsm Bug 1345294 - script generated patch (+ some hand cleanup) to replace {get,set}ComplexValue for nsISupportsString by {get,set}StringPref, r=Mossop. 2017-03-16 19:26:01 +01:00
ClientID.jsm Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Color.jsm
Console.jsm Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
DateTimePickerHelper.jsm Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
DeferredTask.jsm Bug 1353542 - Cleanup the script output and fix tests, r=Mossop. 2017-05-12 14:54:05 +02:00
Deprecated.jsm Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
EventEmitter.jsm Bug 1356231 - Import DevTools event-emitter module to toolkit as a JSM. r=mossop 2017-04-25 18:54:35 +02:00
FileUtils.jsm Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8 2017-03-21 14:29:43 -04:00
Finder.jsm Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
FinderHighlighter.jsm Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
FinderIterator.jsm Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
FormLikeFactory.jsm Bug 1360370 - Part 2: Support nsIDOMHTMLSelectElement in FormLikeFactory.createFromField.; r=MattN 2017-05-08 17:39:11 +08:00
GMPInstallManager.jsm Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
GMPUtils.jsm Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws. 2017-03-07 15:29:48 +01:00
Geometry.jsm Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs 2017-01-17 09:48:17 -06:00
HiddenFrame.jsm Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Http.jsm Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN 2016-12-30 21:47:25 -05:00
IndexedDB.jsm Bug 1344590: Part 2 - Add Promise-based IndexedDB helper module. r=aswan 2017-02-25 22:48:22 -08:00
InlineSpellChecker.jsm Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
InlineSpellCheckerContent.jsm Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
Integration.jsm Bug 1329012 - Enable the no-useless-call rule for eslint and fix the nine errors that it caught. r=mossop 2017-01-05 12:56:53 -05:00
JSONFile.jsm Bug 1353542 - script-generated patch to remove .bind(this) calls we no longer need now that generator functions have been replaced with async functions, r=Mossop. 2017-05-12 14:47:41 +02:00
LightweightThemeConsumer.jsm Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
LoadContextInfo.jsm
Locale.jsm Backed out changeset 60d72c2dd49d (bug 1346616) for eslint failure in DirectoryLinksProvider.jsm. r=backout on a CLOSED TREE 2017-04-18 00:48:16 +02:00
Log.jsm Bug 1353542 - script-generated patch to remove .bind(this) calls we no longer need now that generator functions have been replaced with async functions, r=Mossop. 2017-05-12 14:47:41 +02:00
Memory.jsm
NLP.jsm
NewTabUtils.jsm Bug 1361899 - Allow extensions to specify provider when calling topSites.get. r=mixedpuppy 2017-05-20 14:06:16 +12:00
ObjectUtils.jsm Bug 1335813 - Enable eslint no-undef for toolkit, apart from components/ and content/, and fix various issues. r=jaws 2017-01-31 13:17:03 +00:00
PageMenu.jsm Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8 2017-03-21 14:29:43 -04:00
PageMetadata.jsm Bug 1329182 - remove trailing newURI null parameters in toolkit/, r=jaws. 2017-01-09 20:27:25 +01:00
PermissionsUtils.jsm Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws. 2017-03-07 15:29:48 +01:00
PopupNotifications.jsm Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Preferences.jsm Bug 1349203 - Upgrade ESLint to version 3.18.0 to pick up performance and other fixes. Also update other dependencies for ESLint. r=mossop 2017-03-21 14:50:45 +01:00
PrivateBrowsingUtils.jsm Bug 1345090 - Modify SessionStore to restore tabs with lazy browsers. r=mikedeboer,dao 2017-04-20 11:01:09 +02:00
ProfileAge.jsm Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Promise-backend.js Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Promise.jsm
PromiseMessage.jsm
PromiseUtils.jsm Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN 2016-12-29 18:34:54 -05:00
PropertyListUtils.jsm Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
RemoteController.jsm Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
RemoteFinder.jsm Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN 2016-12-30 21:47:25 -05:00
RemotePageManager.jsm Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
RemoteSecurityUI.jsm Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN 2016-12-30 21:47:25 -05:00
RemoteWebProgress.jsm Bug 1355542 - [1.1] Respect filter mask in remote web progress notification dispatching. r=felipe 2017-04-13 23:17:23 +02:00
ResetProfile.jsm Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN 2016-12-29 18:34:54 -05:00
ResponsivenessMonitor.jsm Bug 1338522 - Add telemetry for UI responsiveness during import of profile data from another browser. r=francois,Gijs 2017-02-18 00:01:50 +01:00
SelectContentHelper.jsm Bug 1367505 - Set and clear pseudo-class locks all at once to avoid restyle thrashing when sending select options to parent process. r=jaws 2017-05-24 18:25:39 -04:00
SelectParentHelper.jsm Bug 1343569 - Delay hiding the popup on blur if the search field gains focus. r=enndeakin+6102 2017-04-25 20:19:42 -04:00
ServiceRequest.jsm Bug 1325501 - Adds ServiceRequest as a drop-in replacement for XHR, which uses conservative TLS settings r=mossop 2016-12-22 15:56:37 -08:00
Services.jsm Bug 1354445 - Migrate Intl.DateTimeFormat to mozIntl.DateTimeFormat in chrome. r=mak 2017-04-08 23:04:32 -07:00
ShortcutUtils.jsm Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs 2017-01-17 09:48:17 -06:00
Sqlite.jsm Bug 1364488 - Allow fetch to use a concurrent connection. r=standard8 2017-05-17 15:51:02 +02:00
Task.jsm Bug 1353542 - Add an eslint rule deprecating usage of Task.jsm in browser/ and toolkit/, r=Mossop. 2017-05-12 14:54:42 +02:00
Timer.jsm
Troubleshoot.jsm Backed out changeset 4e283b54baa6 (bug 1358223) for build bustage on Android at dom/ipc/ContentChild.cpp:21. r=backout 2017-05-31 21:34:13 +02:00
UpdateUtils.jsm Bug 1366917 - Include the system's RAM in the %SYSTEM_CAPABILITIES% value of the update URL. r=mhowell 2017-05-23 21:45:50 -07:00
WebChannel.jsm Bug 1329182 - remove trailing newURI null parameters in toolkit/, r=jaws. 2017-01-09 20:27:25 +01:00
WindowDraggingUtils.jsm Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
WindowsRegistry.jsm Bug 1328802 - Enable the no-unsafe-finally rule for eslint and fix the four errors that are triggered by it by moving the control flow statement outside of the finally block. r=mossop 2017-01-05 00:38:24 -05:00
ZipUtils.jsm Bug 1362882 - script-generated patch to switch from Promise.defer() to new Promise() where it's straightforward, rs=Mossop. 2017-05-12 14:55:27 +02:00
css-selector.js Bug 1360132 - Escaped tagName with cssEscape in findCssSelector to deal with special chars; r=pbro 2017-05-11 20:03:35 +02:00
debug.js
moz.build Bug 1359733 - Move menu notification state to jsm r=Gijs 2017-05-18 13:22:27 -07:00