gecko-dev/ipc
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
..
app Bug 1363844: Add CHILD_PROCESSES_ONLY flag to Windows DLL blocklist; r=dmajor 2017-05-11 15:50:10 -06:00
chromium Bug 1365203 - Annotate name of base::Thread in the crash report. r=gsvelto 2017-05-17 14:25:09 +08:00
contentproc Bug 1332530 - Move GMPLoader code out of plugin-container and back into XUL. r=gerald 2017-01-19 15:39:03 +13:00
dbus Bug 1333460 - add BUG_COMPONENT to ipc/* files. r=billm 2017-01-25 06:17:10 -05:00
glue Bug 1364857 - Reject pending promises for actor when it's going to be destroyed. r=kanru 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
mscom Bug 1354077: Annotate crash reports with COM interface configuration information when marshaling fails; r=jimm 2017-05-04 15:41:35 -06:00
ril Bug 1333460 - add BUG_COMPONENT to ipc/* files. r=billm 2017-01-25 06:17:10 -05:00
testshell Bug 1342032 - Remove useless a "using" declaration in TestShellParent.cpp r=bholley 2017-02-23 14:24:48 +01:00
moz.build Bug 1357323 - Remove support for gonk in the build system. r=gps 2017-04-18 16:56:09 +09:00
pull-chromium.py