diff --git a/content/html/document/src/nsHTMLContentSink.cpp b/content/html/document/src/nsHTMLContentSink.cpp
index 9cc202dd5739..d2678ad3f2ed 100644
--- a/content/html/document/src/nsHTMLContentSink.cpp
+++ b/content/html/document/src/nsHTMLContentSink.cpp
@@ -1003,9 +1003,7 @@ NS_IMETHODIMP HTMLContentSink::AddLeaf(const nsIParserNode& aNode)
// XXX SCRIPT tag evaluation is currently turned off till we
// get more scripts working.
FlushText();
-#if 0
ProcessSCRIPTTag(aNode);
-#endif
return NS_OK;
case eHTMLTag_area:
diff --git a/layout/html/document/src/nsHTMLContentSink.cpp b/layout/html/document/src/nsHTMLContentSink.cpp
index 9cc202dd5739..d2678ad3f2ed 100644
--- a/layout/html/document/src/nsHTMLContentSink.cpp
+++ b/layout/html/document/src/nsHTMLContentSink.cpp
@@ -1003,9 +1003,7 @@ NS_IMETHODIMP HTMLContentSink::AddLeaf(const nsIParserNode& aNode)
// XXX SCRIPT tag evaluation is currently turned off till we
// get more scripts working.
FlushText();
-#if 0
ProcessSCRIPTTag(aNode);
-#endif
return NS_OK;
case eHTMLTag_area: