gecko-dev/ipc
Kan-Ru Chen 625b54086e Bug 1313200 - Allow IPC messages to async return MozPromises. r=billm,jwwang
This patch implements async returns for IPDL using MozPromises. There
are following changes:

* Initialize AbstractThreads for MessageLoops
* Record promises and their reject functions
  * When async message returns, call their resolve functions
  * When send error or channel close, call their reject functions
* Implement "unresolved-ipc-promises" count for about:memory
* Test cases

See bug attachment for generated code from test cases

MozReview-Commit-ID: 7xmg8gwDGaW

--HG--
rename : ipc/ipdl/test/ipdl/error/AsyncReturn.ipdl => ipc/ipdl/test/ipdl/ok/AsyncReturn.ipdl
extra : rebase_source : 55c4f68a3f8b7d0df5ca9f9c45b9a205b337282d
2017-03-16 17:36:15 +08:00
..
app Bug 1354785 - Add dependency on manifest files to res files. r=gps 2017-04-08 16:59:08 +09:00
chromium Bug 1313200 - Allow IPC messages to async return MozPromises. r=billm,jwwang 2017-03-16 17:36:15 +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 1313200 - Allow IPC messages to async return MozPromises. r=billm,jwwang 2017-03-16 17:36:15 +08:00
hal Bug 1333460 - add BUG_COMPONENT to ipc/* files. r=billm 2017-01-25 06:17:10 -05:00
ipdl Bug 1313200 - Allow IPC messages to async return MozPromises. r=billm,jwwang 2017-03-16 17:36:15 +08:00
mscom Bug 1322532: Platform a11y changes to enable handler-based live regions; r=tbsaunde 2017-04-13 20:35:32 -06:00
netd Bug 1333460 - add BUG_COMPONENT to ipc/* files. r=billm 2017-01-25 06:17:10 -05: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
unixfd Bug 1333460 - add BUG_COMPONENT to ipc/* files. r=billm 2017-01-25 06:17:10 -05:00
unixsocket Bug 1333460 - add BUG_COMPONENT to ipc/* files. r=billm 2017-01-25 06:17:10 -05:00
moz.build Bug 1333460 - add BUG_COMPONENT to ipc/* files. r=billm 2017-01-25 06:17:10 -05:00
pull-chromium.py