diff --git a/js/xpconnect/src/XPCShellImpl.cpp b/js/xpconnect/src/XPCShellImpl.cpp index 851c7aa9bd0..710400be1d4 100644 --- a/js/xpconnect/src/XPCShellImpl.cpp +++ b/js/xpconnect/src/XPCShellImpl.cpp @@ -32,6 +32,7 @@ #include "nsIPrincipal.h" #include "nsJSUtils.h" #include "gfxPrefs.h" +#include "nsIXULRuntime.h" #include "base/histogram.h" @@ -1474,6 +1475,8 @@ XRE_XPCShellMain(int argc, char** argv, char** envp) // Initialize graphics prefs on the main thread, if not already done gfxPrefs::GetSingleton(); + // Initialize e10s check on the main thread, if not already done + BrowserTabsRemoteAutostart(); { JS::Rooted glob(cx, holder->GetJSObject());