diff options
Diffstat (limited to 'js/xpconnect/src/XPCJSContext.cpp')
-rw-r--r-- | js/xpconnect/src/XPCJSContext.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/xpconnect/src/XPCJSContext.cpp b/js/xpconnect/src/XPCJSContext.cpp index 48a3aa26a..dbd0797c8 100644 --- a/js/xpconnect/src/XPCJSContext.cpp +++ b/js/xpconnect/src/XPCJSContext.cpp @@ -22,6 +22,7 @@ #include "nsIObserverService.h" #include "nsIDebug2.h" #include "nsIDocShell.h" +#include "nsIInputStream.h" #include "nsIRunnable.h" #include "amIAddonManager.h" #include "nsPIDOMWindow.h" @@ -29,6 +30,7 @@ #include "mozilla/Preferences.h" #include "mozilla/Services.h" #include "mozilla/dom/ScriptSettings.h" +#include "mozilla/dom/Promise.h" #include "nsContentUtils.h" #include "nsCCUncollectableMarker.h" @@ -62,6 +64,7 @@ #endif using namespace mozilla; +using namespace mozilla::dom; using namespace xpc; using namespace JS; using mozilla::dom::PerThreadAtomCache; |