gecko-dev/xpcom
Gabriele Svelto 3521fc20c7 Bug 1502284 - Cleanup of the observer service code r=erahm
This refactors the observer service code to improve readability, uses MOZ_TRY
and other checking macros wherever possible to simplify error handling and
replaces the ObserverRef class with the more generic nsMaybeWeakPtr class.
This cuts away some code and halves the amount of memory needed to store an
event listener. The external behavior is almost unchanged save for some error
codes which are now more specific.

Differential Revision: https://phabricator.services.mozilla.com/D11646

--HG--
extra : source : 10d910aa9f31435116a718bafe8a2b71c61fe23d
2018-11-12 11:04:17 +01:00
..
base Bug 1486637: Impersonate user when creating files in user-controlled directories r=rstrong,mhowell 2018-11-19 18:45:52 +00:00
build Bug 1507002 - Use the name of the service r=nika 2018-11-14 23:54:36 +00:00
components Bug 1471535 - pt12 - Hook up RDD process and Remote decoding. r=jya,spohl 2018-11-14 18:07:28 +00:00
doc
ds Bug 1502284 - Cleanup of the observer service code r=erahm 2018-11-12 11:04:17 +01:00
glue Bug 1489944 - Fixed some std::move warnings - r=froydnj 2018-09-10 15:51:48 +00:00
idl-parser Bug 662341. Add support for [notxpcom] annotations on xpidl attributes. r=nika 2018-11-15 05:07:20 +00:00
io Bug 1501491 - Fix the Firefox build flag: --disable-content-sandbox r=bobowen,handyman 2018-10-30 11:44:22 +00:00
libxpt/xptcall
reflect Bug 1508180 - Use uppercase high-order macro names in xptinfo. r=nika 2018-11-19 17:31:14 +00:00
rust Bug 1507833 - fixed an unused #[macro_use] warning in our rust code; r=nika 2018-11-16 19:27:54 +00:00
string Bug 1499212 - document that Literal parameters must have a null terminator r=dbaron 2018-10-19 01:26:21 +00:00
system Bug 1471535 - pt6 - Add GeckoProcessType_RDD. r=jya 2018-11-14 18:05:53 +00:00
tests Backed out 2 changesets (bug 1506324) for bustages error: redefinition of 'DefaultGlobalClassOps' CLOSED TREE 2018-11-19 23:07:34 +02:00
threads Bug 1507093 - P1. Ensure we never leak OwnerType object. r=gerald 2018-11-15 12:47:59 +00:00
windbgdlg Bug 1090497 - Re-enable warnings as errors on clang-cl. r=froydnj 2018-07-31 22:10:07 +09:00
xpidl Bug 1459721 - part 7 - remove dist_idl install manifest; r=chmanchester 2018-05-15 10:05:23 -04:00
moz.build Bug 1489340 - Remove xpcom/typelib r=froydnj 2018-09-07 13:55:38 +00:00
xpcom-config.h.in
xpcom-private.h.in