Closed Bug 113111 Opened 23 years ago Closed 23 years ago

javascript code being shown

Categories

(Core :: DOM: HTML Parser, defect)

x86
All
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 106162

People

(Reporter: acdcp, Assigned: harishd)

References

()

Details

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:0.9.6) Gecko/20011120 BuildID: 2001112013 Some javascript code is being shown. I don't know if it's being interpreted as well. Doens't matter if the javascript option is on or off. It also happens in windows ME. Reproducible: Always Steps to Reproduce: 1.go to http://www.uol.com.br Actual Results: Some javascript code is being shown Expected Results: it is supposed to be interpreted.
parser
Assignee: pchen → harishd
Status: UNCONFIRMED → NEW
Component: XP Apps → Parser
Ever confirmed: true
QA Contact: sairuh → moied
JS console error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMPlugin.description]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://ad.uol.com.br/html.ng/site=uolbr&size=popup&page=0&stat=homeuol&chan=exterior :: <TOP_LEVEL> :: line 5" data: no] Platform->All.
OS: Linux → All
Site has failed to escape ">" to &gt;. I thought only </script> was supposed to terminate </script> tags; the page is in quirks, do we do something different there?
choess: We only look for </script to terminate <script> because the generic identifier could be followed by spaces. Btw, I'm not able to spot the problem in the page. Could someone please attach a testcase? Thanx.
This page is an html nightmare: Missing /a tags, missing /font tags, invalid comments inside other comments, missing &amp; for "&" characters in urls, incorrectly positioned form tags, missing quotes on almost all href, src and action attributes. The offending piece of code is the invalid "--" sequence inside the comment between lines between 557 and 559: 557 <!-- 558 559 #<!--CHKS=00009888--> There are numerous errors like this, probably the author commented out some parts of the code without paying attention to avoid nesting older comments. Needless to say, IE can render this page with no problems. But I wouldn't mind if Mozilla will never handle a so badly written html (assuming no crash, of course). Attaching the page with minor changes (still showing the "problem"). Ignore the initial popups and concentrate on the javascript code shown on the right part of the screen (the excessive width of rightmost column is part of the problem).
*** This bug has been marked as a duplicate of 106162 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Marking Verified Duplicate of 106162
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: