зеркало из https://github.com/mozilla/gecko-dev.git
24566ec012
nsWrapperCache expects the object it stores to have an ObjectMoved op that will notify the wrapper cache when the object is moved. SpiderMonkey promises don't have a way to do this. The XPCConvert changes are needed to allow code that passes around Promise objects as nsISupports to continue working instead of ending up with double-wrapped nsISupports (XPCWrappedNative for an nsISupports XPCWrappedJS) around the SpiderMonkey Promise. |
||
---|---|---|
.. | ||
tests | ||
Promise.cpp | ||
Promise.h | ||
PromiseCallback.cpp | ||
PromiseCallback.h | ||
PromiseDebugging.cpp | ||
PromiseDebugging.h | ||
PromiseNativeHandler.cpp | ||
PromiseNativeHandler.h | ||
PromiseWorkerProxy.h | ||
moz.build |