gecko-dev/xpcom
Andrew McCreight 7f15cf986b Bug 1316527 - Return 0 when GetSerialNumber fails to find an existing serial number. r=froydnj
NS_LogCOMPtrAddRef and NS_LogCOMPtrRelease always pass false to
GetSerialNumber, because they pass in everything they get without
regard to whether it is being logged or not, so they don't want to
create a serial number if none exists. This causes the assertions
added in bug 1309051 to be hit. To work around this, I hoist the
assertion into the other callers of this method. Two of them already
had this check, but it was non-fatal.

This also makes the asserts not happen in release builds, as I decided
it doesn't really matter what happens if somebody tries to use it
there.

--HG--
extra : rebase_source : 5e70290492fd442b79b4d40c300a263e322f485b
2016-11-16 12:38:54 -08:00
..
base Bug 1316527 - Return 0 when GetSerialNumber fails to find an existing serial number. r=froydnj 2016-11-16 12:38:54 -08:00
build Bug 1314466 - part 5, Add service process manager r=snorp 2016-11-14 16:45:23 -08:00
components Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2016-11-14 13:29:32 +01:00
doc
ds Bug 1315812 - Mark nsISupportsArray, nsICollection, nsIEnumerator as deprecated. r=froydnj 2016-11-10 13:15:33 -08:00
glue bug 1316119 - add a GetOrInsert to nsBaseHashtable that returns a reference to the value r=froydnj 2016-11-16 23:46:45 -05:00
idl-parser Bug 1304131 - list xpidl.stub as the first output for header.py; r=gps 2016-09-19 13:43:39 -04:00
io Merge mozilla-central to mozilla-inbound 2016-11-11 16:43:07 +01:00
libxpt/xptcall
reflect Bug 1316738 - Remove XPCOM test TestInterfaceInfo. r=froydnj 2016-11-11 12:02:20 -08:00
rust/nsstring Bug 1316964 - Make the append and assign methods on the rust nsstring types more generic, r=froydnj 2016-11-15 17:01:36 -05:00
string Backed out 10 changesets (bug 1283710) for osx xpcshell failures a=backout 2016-10-18 17:27:58 -07:00
system Bug 1304829 - Rename nsXULAppInfo's isReleaseBuild to isReleaseOrBeta. r=ted 2016-10-14 13:31:39 +02:00
tests Bug 1317638 - Fix build fail in TestBlockingProcess.cpp if enabling warnings as errors. r=erahm 2016-11-15 16:33:59 +08:00
threads Bug 1313989 - Remove MutexAutoUnlock in nsThread::GetIdleEvent. r=froydnj,mattwoodrow 2016-11-10 10:01:51 +01:00
typelib Bug 1298855 - part 2 - remove prcpucfg.h #include from xpt_arena.h; r=erahm 2016-09-21 18:16:10 -04:00
windbgdlg Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
xpidl Bug 1293784 - Only recurse into xpcom/idl-parser/xpidl once; r=gps 2016-08-09 16:58:18 -04:00
moz.build Bug 1295762 - Part 1: Implement rust bindings to XPCOM's string types, r=froydnj 2016-09-20 11:26:43 -04:00
xpcom-config.h.in
xpcom-private.h.in