diff --git a/dom/public/nsIScriptGlobalObject.h b/dom/public/nsIScriptGlobalObject.h index ee1010993b3..e6b0a08976e 100644 --- a/dom/public/nsIScriptGlobalObject.h +++ b/dom/public/nsIScriptGlobalObject.h @@ -40,7 +40,6 @@ #define nsIScriptGlobalObject_h__ #include "nsISupports.h" -#include "nsEvent.h" #include "nsIProgrammingLanguage.h" class nsIScriptContext; diff --git a/js/jsd/Makefile.in b/js/jsd/Makefile.in index c67e8c711f3..ae81784b651 100644 --- a/js/jsd/Makefile.in +++ b/js/jsd/Makefile.in @@ -60,7 +60,6 @@ REQUIRES += \ string \ xpcom \ xpconnect \ - widget \ dom \ $(NULL) diff --git a/js/jsd/jsd_xpc.cpp b/js/jsd/jsd_xpc.cpp index fa68f4009a0..7ac4ed99ac9 100644 --- a/js/jsd/jsd_xpc.cpp +++ b/js/jsd/jsd_xpc.cpp @@ -57,11 +57,8 @@ #include "nsReadableUtils.h" #include "nsCRT.h" -/* XXX this stuff is used by NestEventLoop, a temporary hack to be refactored - * later */ -#include "nsWidgetsCID.h" +/* XXX DOM dependency */ #include "nsIScriptContext.h" -#include "nsIAppShell.h" #include "nsIJSContextStack.h" /*