gecko-dev/xpcom
Jon Coppeard b975de8947 Bug 1648453 - Use CallbackObject to trigger cleanup while setting up the incumbent global r=smaug
This also factors out FinalizationRegistry support into a separate class.

The JS engine now passes a callback function and the incumbent global which are recorded in QueueCallback. FinalizationRegistryCleanup::DoCleanup creates a CallbackObject can calls it immediately (I originally tried creating it in QueueCallback but there were problems because this is called during GC).

I coped most of this from the way promise reaction jobs work. I added FinalizationRegistryCleanupCallback; I don't know if that's overkill.

Differential Revision: https://phabricator.services.mozilla.com/D83614
2020-07-17 17:34:46 +00:00
..
base Bug 1648453 - Use CallbackObject to trigger cleanup while setting up the incumbent global r=smaug 2020-07-17 17:34:46 +00:00
build Bug 1652140 - Check for null data from zip before trying to cache it r=froydnj 2020-07-14 15:36:09 +00:00
components Bug 1464542: Part 3b - Add existing Services.jsm registrations to the new services cache. r=mccr8,geckoview-reviewers,agi 2020-07-09 21:42:25 +00:00
doc
ds Bug 1650749 - Mention tri-state comparison functor in documentation of Comparator. r=TYLin,froydnj 2020-07-17 08:38:31 +00:00
glue Bug 1635569 - Set execute flags when prefetching images r=aklotz 2020-05-06 11:53:27 +00:00
idl-parser Bug 1646543 - Replace blacklist with more appropriate names. r=xpcom-reviewers,nika 2020-06-17 23:55:46 +00:00
io Bug 1650811 - Make Base64 compatible with ReadSegments() with small buffers, r=asuth,necko-reviewers 2020-07-13 08:34:07 +00:00
libxpt/xptcall
reflect Bug 1464542: Part 1 - Generate symbolic names for XPT interfaces and add lookup function. r=nika,froydnj 2020-07-09 20:42:49 +00:00
rust Bug 1650456 - Correct name in a few places, r=froydnj 2020-07-03 20:20:29 +00:00
string Bug 1651323 - Add MOZ_LIFETIME_BOUND attribute to nsTLiteralString AsString and conversion operator. r=xpcom-reviewers,nika 2020-07-10 12:16:20 +00:00
system Bug 1650163 - Part 1: Switch native remoteType values to nsCString, r=farre,geckoview-reviewers,agi 2020-07-08 20:15:59 +00:00
tests Bug 1651068 - Include `Task` from `TaskController` in MOZ_LOG=events, r=bas 2020-07-14 16:17:18 +00:00
threads Bug 1651249 - Dispatch to the current SerialEventTarget by default. r=froydnj 2020-07-14 21:17:31 +00:00
windbgdlg
xpidl
moz.build
xpcom-config.h.in
xpcom-private.h.in