gecko-dev/xpcom
Yaron Tausky 103bf1caae Bug 1508627: Remove dangerous assertion from nsCOMPtr r=froydnj
Move constructors and assignment operators are expected to be safe and
infallible. In debug mode, nsCOMPtr's move functions called a test function
that modified the pointee's refcount -- a potentially thread unsafe operation
that also opened the door to assertion failures if the pointee implemented
some access checks in AddRef() or Release(). This commit removes this function
call in those two functions.

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

--HG--
extra : moz-landing-system : lando
2018-11-21 14:50:58 +00:00
..
base Bug 1508627: Remove dangerous assertion from nsCOMPtr r=froydnj 2018-11-21 14:50:58 +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 1499947 - Part 2 - Remove the "progressmeter" element and related tests. r=bgrins,bzbarsky 2018-11-20 14:12:33 +00: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 1435091 - p4. Use profiler_thread_is_being_profiled() instead of profiler_is_active() around profiler_add_marker()s - r=mstange 2018-11-19 06:29:15 +00:00
windbgdlg
xpidl
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