gecko-dev/ipc/ipdl
Henry Chang 8091c86b7e Bug 1364857 - Reject pending promises for actor when it's going to be destroyed. r=kanru
The lifetime of async IPDL returned promise may be longer than its actor.
That is, the handler (receiver) may have not resolve/reject the promise when the actor
is destroyed. In this case, we have to reject all the pending promises before
ActorDestroy() is called on the "sender" side.

Besides, the handler (receiver) can reject with reason "ActorDestroyed" to silently
cancel the promise without trying to reply to the remote actor which may
have died. The sender-side promise is responsible for rejecting the pending promises,
which will be done in MessageChannel::RejectPendingPromisesForActor().

MozReview-Commit-ID: 4XjmquZzDBO

--HG--
extra : rebase_source : 48539e35e4587e09be1d66497b1ea32d1a95ee9a
2017-05-17 16:59:48 +08:00
..
ipdl Bug 1364857 - Reject pending promises for actor when it's going to be destroyed. r=kanru 2017-05-17 16:59:48 +08:00
test Bug 1365517 - Remove the call to AbstractThread::GetCurrent() in TestAsyncReturns.cpp. r=kanru 2017-05-17 15:34:20 +08:00
ipdl.py Bug 1349350 - Make IPDL checker sync IPC message errors fatal. r=ehsan 2017-03-22 15:01:50 -07:00
Makefile.in Bug 1336919 - Add a sync message whitelist and check it in IPDL compile phase. r=billm 2017-02-20 10:40:54 +08:00
moz.build Bug 1309799 - Generate StringFromIPCMessageType and use it in MessageChannel::MaybeHandleError. r=billm 2016-10-13 14:18:45 +08:00
msgtype-components
sync-messages.ini Remove old device reset and compositor swapping code. (bug 1363126 part 3, r=rhunt) 2017-05-11 22:44:28 -07:00