Comment 66 for bug 52667

Revision history for this message
In , Mozilla (mozilla) wrote :

(From update of attachment 213877)
>diff -u -p -r1.84 nsMimeHtmlEmitter.cpp
>--- mailnews/mime/emitters/src/nsMimeHtmlEmitter.cpp 16 Sep 2005 15:20:25 -0000 1.84
>+++ mailnews/mime/emitters/src/nsMimeHtmlEmitter.cpp 3 Mar 2006 07:56:32 -0000
>@@ -179,22 +179,6 @@ nsresult nsMimeHtmlDisplayEmitter::Broad
>
> const char * headerValue = headerInfo->value;
>
>- // optimization: if we aren't in view all header view mode, we only show a small set of the total # of headers.
>- // don't waste time sending those out to the UI since the UI is going to ignore them anyway.
>- if (aHeaderMode != VIEW_ALL_HEADERS && (mFormat != nsMimeOutput::nsMimeMessageFilterSniffer))
>- {
>- if (nsCRT::strcasecmp("to", headerInfo->name) && nsCRT::strcasecmp("from", headerInfo->name) &&
>- nsCRT::strcasecmp("cc", headerInfo->name) && nsCRT::strcasecmp("newsgroups", headerInfo->name) &&
>- nsCRT::strcasecmp("bcc", headerInfo->name) && nsCRT::strcasecmp("followup-to", headerInfo->name) &&
>- nsCRT::strcasecmp("reply-to", headerInfo->name) && nsCRT::strcasecmp("subject", headerInfo->name) &&
>- nsCRT::strcasecmp("organization", headerInfo->name) && nsCRT::strcasecmp("user-agent", headerInfo->name) &&
>- nsCRT::strcasecmp("content-base", headerInfo->name) && nsCRT::strcasecmp("sender", headerInfo->name) &&
>- nsCRT::strcasecmp("date", headerInfo->name) && nsCRT::strcasecmp("x-mailer", headerInfo->name) &&
>- nsCRT::strcasecmp("content-type", headerInfo->name) && nsCRT::strcasecmp("message-id", headerInfo->name) &&
>- nsCRT::strcasecmp("x-newsreader", headerInfo->name) && nsCRT::strcasecmp("x-mimeole", headerInfo->name))
>- continue;
>- }
>-

So what's the reason for this? (Please note that I'm not a authorized person to bless such a patch)