From a59e06aac81f4964d221d03e194561110a3fbd15 Mon Sep 17 00:00:00 2001 From: "darin%netscape.com" Date: Thu, 23 Aug 2001 18:59:46 +0000 Subject: [PATCH] workaround fix for blocker bug 96440 r=harishd, sr=vidur, a=dbaron --- content/html/document/src/nsHTMLContentSink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/html/document/src/nsHTMLContentSink.cpp b/content/html/document/src/nsHTMLContentSink.cpp index 60bb294d467a..e07f73259471 100644 --- a/content/html/document/src/nsHTMLContentSink.cpp +++ b/content/html/document/src/nsHTMLContentSink.cpp @@ -4649,7 +4649,7 @@ HTMLContentSink::ProcessHeaderData(nsIAtom* aHeader,const nsAReadableString& aVa else if (aHeader == nsHTMLAtoms::headerWindowTarget) { ProcessBaseTarget(aValue); } - else { + else if (mParser) { // we also need to report back HTTP-EQUIV headers to the channel // so that it can process things like pragma: no-cache or other // cache-control headers. Ideally this should also be the way for