Javascript is disabled in Messenger, viewing mail message.



19 years ago
11 years ago


(Reporter: pmock, Assigned: rhp)


Windows 98

Firefox Tracking Flags

(Not tracked)



(1 attachment)



19 years ago
** Related to bug 6584 except test msg created from Eudora 4.3a.

Build Date & Platform Bug Found: 
Verified as fixed on win32, macos, and linux using the following builds:
 win32 commercial seamonkey build 00050309-m16 installed on Dell P500, Win98
 macos commercial seamonkey build 00050308-m16 installed on G3/400, MacOS 9.04
 linux commercial seamonkey build 00050308-m16 installed on P200, RedHat 6.1

Overview Description: 
 Pete Resnick of QUALCOMM who reported bug 6584 has another Eudora mail message 
that is not displayed properly in Messenger. Javascript appears disabled in 6.0. 
In 4.7, his messages text gets displayed in Messenger with text being overlapped 
similar to bug 6584. His mail message displays correctly in 4.7 only if 
javascript is disabled. If javascript was enabled, text display overlapped. In 
6.0, the messages display fine only because javascript is not working.  I 
confirm this by sending myself an attached web page and viewing it in 6.0.

I received a sample Eudora test message that illustates this problem.  I have 
also reproduced the problem using our QA test cases located internally at
I loaded page and 
compared it to the behavior in Communicator 4.7.  It fails to load the 
javascript portions properly.

Steps to Reproduce: 
1) I deleted my existing user profile
2) Copy customer test message to local folder or existing IMAP folder.
3) Ran Seamonkeysetup.exe
   It installed communicator 6.0 and bring up the migration wizard
4) Select a profile to migrate
   My Communicator 6.0 browser window launches
5) Open Messenger
6) View customer's Eudora test message
   It displays fine, but it appears that javascript is not enabled.

To confirm that javascript is disabled:
7) Open a 6.0 browser window, load page
   Notice what the message looks like.
8) Send this page to yourself
9) In Messenger 6.0, view the mail message.
   Notice that the javascript portions failed to load.

Actual Results: 
 The Eudora mail messages gets displayed correctly but if you look closer, you 
should notice that the message displays correctly b/c javascript has been 

Expected Results: 
 Javascript should be enabled by default. 

Additional Builds and Platforms Tested On: 
 In Communicator 4.7, the Eudora test message the first line is displayed 
overlapped.  It looks like the beginning text get rendered on top of the next 
line. If you disable javascript in Mail & News, it displays correctly.

Additional Information:
 Fromt he message header, it appears that Pete Resnick is working on a later 
release of Eudora, 4.3a.

 Pete Resnick <>
 Eudora Engineering - QUALCOMM Incorporated
 Ph: (217)337-6377 or (858)651-4478, Fax: (858)651-1102

* I will attach customer Eudora mail message.

Comment 1

19 years ago
Changing qa assigned to
QA Contact: lchiang → pmock

Comment 2

19 years ago
I should note that javascript is enabled in the navigator browser window.

Comment 3

19 years ago
Created attachment 8264 [details]
Eudora 4.3 mail message

Comment 4

19 years ago
Aghh... please ignore the line "Verified as fixed ..." in the initial bug 
description.  copy/past error...

Comment 5

19 years ago
Just a clarification: The message sent was *not* from an alpha version of Eudora; the X-Mailer line was incorrect. It is from a release version 4.3.1. Earlier versions produce the same HTML.

Comment 6

19 years ago
Mail review recommends nsbeta2.
Keywords: nsbeta2

Comment 7

19 years ago
Targetting our beta2 candidates to M17.
Target Milestone: --- → M17


19 years ago


19 years ago
Target Milestone: M17 → M18

Comment 8

19 years ago
Putting on [nsbeta2-] radar. 
Whiteboard: [nsbeta2-]


19 years ago
Keywords: nsbeta2 → correctness, nsbeta3
Whiteboard: [nsbeta2-]

Comment 9

19 years ago
Hi Peter,
I'm not sure I understand what the problem is here? JavaScript is enabled, but 
its access is restricted to the message display "sandbox" for security reasons. 

As for the attached message, it seems to render fine on Seamonkey. Can you give 
me a little more info on what needs to be fixed here?

- rhp

Comment 10

19 years ago
If I go to a web page that has javascript and send the page to myself via email, 
I expect the page to display on it would if I was viewing it in a browser 

In seamonkey, javascript doesn't appear to be working.  I tried checking and 
unchecking the option to disable and enable.

What does it mean by sandbox? Bottom line, shouldn't a message display the same 
as it did in 4.7.

In my example, when you view the web page in messenger, it 
fails to display the table.  In the browser, it does display the table.

Comment 11

19 years ago
> If I go to a web page that has javascript and send the page to myself via 
> email, I expect the page to display on it would if I was viewing it in a 
> browser window. 

No, this is not necessarily true. The reason is security. That is why we send 
the link along. If you click on that, you'll be fine. The browser display 
window is in a "security sandbox" for ... well security reasons. The ability 
for JavaScript to do the things it can normally do on a web page is not there 
to try to reduce the number of firedrills we have down the road.

So, is this still a bug?

- rhp

Comment 12

19 years ago
I guess I'm hearing that you can not run javascript with messenger? 
If true, why do we need a javascript checkbox to enable/disable in messenger?

I'm confused.

Comment 13

19 years ago
running JS is currently disabled in the messenger pane. In 4.x we had a pref you
could use to turn on Javascript. I think this bug was to track that ability in
mozilla. i.e. allowing  you to enable JS in the message pane. 

Comment 14

19 years ago
Seems functional now.

- rhp
Last Resolved: 19 years ago
Resolution: --- → WORKSFORME

Comment 15

19 years ago
Verified as works for me.

Comment 16

19 years ago
Re-open bug using same test case.

Javascript is broken again.
I was testing using the win32 commercial seamonkey build 2000-090506-m18 on 
win98 2nd edition and macos commercial seamonkey build 2000-090508-m18
Resolution: WORKSFORME → ---

Comment 17

19 years ago
I have a feeling this may have been a change mscott made yesterday that was 
done for security reasons. Just a guess, but I'll look into it.

- rhp

Comment 18

19 years ago
I have a feeling this may have been a change mscott made yesterday that was 
done for security reasons. Just a guess, but I'll look into it.

- rhp

Comment 19

19 years ago
Yes for security purposes JS will not run in the message pane anymore after the
change we made yesterday. Mitch Stoltz is already looking into implementing a
pref for enabling JS if the user so desires like 4.x.

Comment 20

19 years ago
Last Resolved: 19 years ago19 years ago
Resolution: --- → INVALID

Comment 21

19 years ago
Verified as invalid.
Thanks Scott and Rich.
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.