зеркало из https://github.com/mozilla/gecko-dev.git
912b0df630
Similar to MozPromise::FromGeckoResult. Allows to create a MozPromise that will be resolved/rejected when the JS promise does the same. It would be nice to be able to chain the two promise types, but it would be an additional effort. MozPromise::FromDomPromise is limited to primitive types only and the reject value type must be nsresult. Differential Revision: https://phabricator.services.mozilla.com/D46017 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
base | ||
build | ||
components | ||
doc | ||
ds | ||
glue | ||
idl-parser | ||
io | ||
libxpt/xptcall | ||
reflect | ||
rust | ||
string | ||
system | ||
tests | ||
threads | ||
windbgdlg | ||
xpidl | ||
moz.build | ||
xpcom-config.h.in | ||
xpcom-private.h.in |