mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
1a8317619b
We don't want extension protocol load requests to begin loading until the extension is far enough initialized to run code. If we load it before then, the extension framework will either fail to recognize the extension entirely, or may begin running its scripts in an incomplete environment. This patch adds a slow path which adds a promise handler and creats a stub channel only in the case when the extension is not ready. In the normal, already-initialized case, we take the more direct path. Differential Revision: https://phabricator.services.mozilla.com/D21447 --HG-- extra : rebase_source : ca770d241ff68192716feace67cd512565ae6b24 |
||
---|---|---|
.. | ||
tests | ||
moz.build | ||
Promise-inl.h | ||
Promise.cpp | ||
Promise.h | ||
PromiseDebugging.cpp | ||
PromiseDebugging.h | ||
PromiseNativeHandler.h | ||
PromiseWorkerProxy.h |