Andrew McCreight
bc7b235b3a
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.
2016-11-16 12:38:54 -08:00
..
2016-09-14 13:52:45 +02:00
2016-01-15 13:12:07 -05:00
2016-01-15 13:12:07 -05:00
2015-06-10 16:32:45 -04:00
2016-08-24 15:23:45 +10:00
2016-08-14 20:39:31 +09:00
2016-09-23 15:42:13 -07:00
2016-09-14 15:47:32 +02:00
2016-08-15 14:49:26 +10:00
2016-09-14 15:47:32 +02:00
2015-06-16 14:19:07 -07:00
2016-11-14 18:30:58 -08:00
2015-04-09 10:25:05 -07:00
2015-07-13 08:25:42 -07:00
2016-09-14 15:47:32 +02:00
2015-03-10 16:41:38 -07:00
2015-07-21 11:31:44 -07:00
2015-07-21 11:31:44 -07:00
2016-10-05 11:34:12 +02:00
2016-10-08 11:14:49 +02:00
2016-09-19 17:39:47 +02:00
2015-12-22 15:09:41 -08:00
2015-07-28 15:45:34 -07:00
2016-10-26 17:56:59 -04:00
2016-09-14 15:47:32 +02:00
2016-05-12 10:54:33 -07:00
2015-07-13 08:25:42 -07:00
2015-12-06 10:51:43 -05:00
2015-01-08 23:19:05 -05:00
2014-09-22 15:32:21 -07:00
2015-03-21 12:28:04 -04:00
2016-08-08 12:18:10 +10:00
2015-10-02 14:47:13 -07:00
2016-10-19 18:33:37 +02:00
2016-10-27 11:03:53 +01:00
2016-09-14 15:47:32 +02:00
2016-10-07 13:58:37 +02:00
2016-09-09 16:53:45 +02:00
2015-05-13 16:47:55 -07:00
2016-08-24 14:47:04 +08:00
2016-05-05 01:45:00 -07:00
2016-08-04 11:46:45 +08:00
2015-10-18 01:24:48 -04:00
2015-03-21 12:28:04 -04:00
2016-08-18 15:27:16 +10:00
2016-08-17 17:09:45 +10:00
2014-09-22 15:32:21 -07:00
2015-07-31 06:49:27 -07:00
2015-06-04 14:41:31 -07:00
2016-09-09 16:53:45 +02:00
2016-03-22 13:50:35 -04:00
2016-08-17 17:09:45 +10:00
2016-03-06 21:07:51 +11:00
2014-09-28 18:35:14 -07:00
2016-10-18 12:37:23 +02:00
2016-05-12 15:15:43 -07:00
2016-02-10 08:23:00 +01:00
2015-04-08 17:16:30 -07:00
2015-03-27 18:52:19 +00:00
2015-08-04 16:17:36 -07:00
2015-03-21 12:28:04 -04:00
2016-07-20 22:03:25 -07:00
2016-07-08 14:39:53 -07:00
2016-09-02 17:12:24 +10:00
2015-04-22 08:29:24 +02:00
2016-09-19 13:29:59 -04:00
2016-08-04 12:14:14 +10:00
2016-09-01 15:01:16 +10:00
2016-08-09 14:27:59 +10:00
2016-07-29 06:51:00 -04:00
2016-07-29 06:51:00 -04:00
2015-10-18 01:24:48 -04:00
2015-03-21 12:28:04 -04:00
2016-09-23 15:02:23 +02:00
2015-03-21 12:28:04 -04:00
2016-10-04 17:57:51 +02:00
2015-11-05 11:48:06 +01:00
2016-11-16 12:38:54 -08:00
2016-10-10 10:56:09 -07:00
2015-05-01 09:40:30 +09:00
2015-03-21 12:28:04 -04:00
2015-03-21 12:28:04 -04:00
2016-04-05 13:24:28 +07:00
2016-05-18 12:23:35 -04:00
2016-01-08 15:34:24 -05:00
2016-07-21 09:54:17 -07:00
2016-08-24 14:47:04 +08:00