From 887aaf16811b3eddbf41b437da6a2f7618476bdb Mon Sep 17 00:00:00 2001 From: "harishd%netscape.com" Date: Thu, 1 Nov 2001 19:40:48 +0000 Subject: [PATCH] 107994 - Backing out rpotts change ( bug 102737 ) to fix the smoketest blocker. git-svn-id: svn://10.0.0.236/trunk@106981 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/htmlparser/src/nsParser.cpp | 4 +--- mozilla/parser/htmlparser/src/nsParser.cpp | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/mozilla/htmlparser/src/nsParser.cpp b/mozilla/htmlparser/src/nsParser.cpp index 0b81d8a6a67..dee54a0a21e 100644 --- a/mozilla/htmlparser/src/nsParser.cpp +++ b/mozilla/htmlparser/src/nsParser.cpp @@ -2503,9 +2503,7 @@ nsresult nsParser::OnStopRequest(nsIRequest *request, nsISupports* aContext, nsresult result=NS_OK; - if((eOnStart==mParserContext->mStreamListenerState) && - (!mParserContext->mMimeType.EqualsWithConversion(kPlainTextContentType))) - { + if(eOnStart==mParserContext->mStreamListenerState) { //If you're here, then OnDataAvailable() never got called. //Prior to necko, we never dealt with this case, but the problem may have existed. diff --git a/mozilla/parser/htmlparser/src/nsParser.cpp b/mozilla/parser/htmlparser/src/nsParser.cpp index 0b81d8a6a67..dee54a0a21e 100644 --- a/mozilla/parser/htmlparser/src/nsParser.cpp +++ b/mozilla/parser/htmlparser/src/nsParser.cpp @@ -2503,9 +2503,7 @@ nsresult nsParser::OnStopRequest(nsIRequest *request, nsISupports* aContext, nsresult result=NS_OK; - if((eOnStart==mParserContext->mStreamListenerState) && - (!mParserContext->mMimeType.EqualsWithConversion(kPlainTextContentType))) - { + if(eOnStart==mParserContext->mStreamListenerState) { //If you're here, then OnDataAvailable() never got called. //Prior to necko, we never dealt with this case, but the problem may have existed.