Closed Bug 292364 Opened 20 years ago Closed 19 years ago

javascript: currentHeaderData doesn't contain all headers on windows

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: cweiske, Assigned: mscott)

Details

User-Agent:       Opera/7.54 (X11; Linux i686; U)  [en]
Build Identifier: 1.0.2 (20050317)

When using Thunderbird on linux, one can access all headers in a loaded mail via 
the currentHeaderData global variable. It is all the same if you are using 
"normal header view" or "view all headers".

On µ$ Windows, currentHeaderData contains only these headers which are visible 
in the expanded header view. This means that you haven't access to headers like 
"message-id" or "x-mailer" when using the "normal header view".

Reproducible: Always

Steps to Reproduce:
1. Make a new extension, or add the code to the msgHeaderViewOverlay.js:
================
function noop() {}
function setupEventListener() {
 var listener = {};
 listener.onStartHeaders = noop;
 listener.onEndHeaders = displayHeaders;
 gMessageListeners.push(listener);
}
function displayHeaders()
{
 dump("headers are coming\r\n");
 for (headerName in currentHeaderData) {
  dump(headerName);
 }
}
addEventListener('messagepane-loaded', setupEventListener, true);
==================
2. start thunderbird, set the "normal header view"
3. view a mail
4. look at the output
5. switch to view all headers
6. switch away and back to the same mail
7. look at the console output

Actual Results:  
If you are on windows, the first output contains only some headers, the second 
one all

Expected Results:  
All headers should have been dumped out, if normal or all headers view is set.
OS: Linux → Windows XP
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
Wasn't a bug in thunderbird: It worked on Linux because enigmail was installed.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
Status: RESOLVED → UNCONFIRMED
Resolution: WONTFIX → ---
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.