fune/toolkit/components/asyncshutdown/tests/xpcshell
Andreas Pehrson 50732d2f20 Bug 1832820 - Don't require unique names for blockers added through nsAsyncShutdownService. r=mak
nsAsyncShutdownService is a common way to handle async shutdown in C++. The
uniqueness constraint on the name of the blocker is however an ergonomy problem.
Several classes will append a pointer, or even generate a random id, to satisfy
the uniqueness constraint and allow registering multiple blockers of the same
type.

This patch removes the uniqueness constraint by using the xpcom blocker rather
than its name as key.

Differential Revision: https://phabricator.services.mozilla.com/D178034
2023-05-24 11:17:38 +00:00
..
head.js Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish 2023-05-20 12:26:49 +00:00
test_AsyncShutdown.js Bug 1832820 - Don't require unique names for blockers added through nsAsyncShutdownService. r=mak 2023-05-24 11:17:38 +00:00
test_AsyncShutdown_blocker_error_annotations.js Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish 2023-05-20 12:26:49 +00:00
test_AsyncShutdown_leave_uncaught.js Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish 2023-05-20 12:26:49 +00:00
test_converters.js Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu 2023-05-20 12:26:53 +00:00
xpcshell.ini