зеркало из 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 |
||
---|---|---|
.. | ||
tests | ||
Promise-inl.h | ||
Promise.cpp | ||
Promise.h | ||
PromiseDebugging.cpp | ||
PromiseDebugging.h | ||
PromiseNativeHandler.cpp | ||
PromiseNativeHandler.h | ||
PromiseWorkerProxy.h | ||
moz.build |