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.