Closed Bug 64956 Opened 24 years ago Closed 24 years ago

Browser hangs when accessing site

Categories

(SeaMonkey :: General, defect)

x86
All
defect
Not set
major

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 64576

People

(Reporter: richip, Assigned: asa)

References

()

Details

When loading the contents of http://www.memoryexpress.net/ all of the recent builds of Mozilla for Win and Linux i386 platforms lock up. I'm not sure what element causes Mozilla to freeze, but I've tried accessing the site with Java and Javascript enabled and disabled.
After doing some more study, I found out that the ff. lines within the <head></head> entities(?) was causing the hang: <script language="JavaScript"> <!-- function openWindow(url, name) { popupWin = window.open(url, name, "width=500,height=325"); } function MailListAdd(){ MailVar=document.AForm.MailSub.value; AXobject = new ActiveXObject("Scripting.FileSystemObject"); file = AXobject.GetFile("\\webpage\\MailList.txt"); MailList = file.OpenAsTextStream(8, 0); MailList.Write(MailVar + "\n"); MailList.Close(); } // </script> It looks like a script of some kind (am no expert), but 2 things bother me: 1) I had disabled Javascript from the preferences section; and, 2) Mozilla should not have locked up like that (no response from keyboard, mouse, etc. on 2 platforms) even with a malformed document. P.S. My apologies if certain characters in my message (ie. greater than, etc.) aren't allowed in Bugzilla comments
Thanks for the followup comment! The issue is that the <!-- starts an HTML comment that is never terminated, sending the HTML parser into an infinite loop. Since this is a parser problem, disabling Javascript does not help... There is an earlier report of the same problem that all the parser people are cced on; marking this a duplicate. Thanks for using Mozilla and reporting bugs! *** This bug has been marked as a duplicate of 64576 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
vrfy dupe of bug 64576 unterminated comment in script tag hangs htmlparser
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.