gecko-dev/xpcom
Nick Alexander 3d0d39d82c Bug 1675848 - Part 2: Add "BackgroundTasksSelector" to static component category registration. r=mhentges,nika
For simplicity, this implements just on in `NO_TASKS` (the default) or
on in `ALL_TASKS` (opt-in).  This disables all category registrations
when in background task mode; we'll selectively re-enable things as
appropriate.

The flag constants were chosen to smoothly extend to a (16-)bit set in
the future, should we want to add a `JUST_TASKS("task", "other-task")`
option in the future.

This also adds ython tests for gen_static_components.py exercising
categories, simply 'cuz it's easiest to see what this adds in such
tests.  Functional tests will follow in patches that actually
implement the new background tasks functionality.

Differential Revision: https://phabricator.services.mozilla.com/D96654
2021-01-25 23:44:49 +00:00
..
base Bug 1688308 - Add a marker for "Perform microtasks". r=smaug 2021-01-22 21:43:16 +00:00
build Bug 1607138 - gXPCOMThreadsShutdown should be atomic r=xpcom-reviewers,mccr8 2021-01-21 01:01:26 +00:00
components Bug 1675848 - Part 2: Add "BackgroundTasksSelector" to static component category registration. r=mhentges,nika 2021-01-25 23:44:49 +00:00
doc
ds Bug 1572798 - Make content browsing contexts for tabs start as inactive. r=nika 2021-01-21 20:20:57 +00:00
glue Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
idl-parser Bug 1687239 part 2 - Remove plugin support from layout/. r=emilio 2021-01-25 11:53:49 +00:00
io Backed out 9 changesets (bug 1681529) for causing bustage on TestSeekableStreamWrapper.cpp. CLOSED TREE 2021-01-25 23:40:44 +02:00
libxpt/xptcall
reflect Bug 1679758 - Remove trailing empty lines r=sylvestre,marionette-reviewers,jgraham 2020-12-15 10:34:54 +00:00
rust Bug 1679094 - Resolve dom::Promise from Rust. r=nika 2020-12-12 02:55:49 +00:00
string Bug 1683213: Don't warn on range-loop-analysis r=sheehan,sg,firefox-build-system-reviewers,andi,glandium 2021-01-11 15:30:45 +00:00
system Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
tests Backed out 9 changesets (bug 1681529) for causing bustage on TestSeekableStreamWrapper.cpp. CLOSED TREE 2021-01-25 23:40:44 +02:00
threads Bug 1510226 - Do not block main thread in nsThread::Init r=froydnj,KrisWright 2021-01-25 21:44:15 +00:00
windbgdlg Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
xpidl Bug 1670357 - Remove make targets for cleaning: clean, realclean, clobber, distclean, clobber_all, everything r=firefox-build-system-reviewers,mhentges 2020-10-15 20:37:18 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
xpcom-config.h.in