зеркало из https://github.com/mozilla/gecko-dev.git
625b54086e
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 |
||
---|---|---|
.. | ||
ipdl | ||
test | ||
Makefile.in | ||
ipdl.py | ||
moz.build | ||
msgtype-components | ||
sync-messages.ini |