Open Bug 448585 Opened 18 years ago Updated 4 years ago

Browser redirects the page even if the document has xml errors (is not "well-formed").

Categories

(Firefox :: General, defect)

x86
All
defect

Tracking

()

People

(Reporter: winner5, Unassigned)

References

Details

Attachments

(1 file)

482 bytes, application/xhtml+xml
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1 I created the XML document containing syntax error. I know that the browser should ignore entire document and display XML error message. The error message is displayed, but the "redirection command": <meta http-equiv="Refresh" content="1"/> is executed, and xml-document title (<title/>) is displayed, which sould not happen. Reproducible: Always Steps to Reproduce: 1. open the following document in browser window: "<?xml version="1.0" encoding="utf-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" dir="ltr"> <head> <title>Webpage with&nbsp;mistake&hellip;</title> <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=&quot;utf-8&quot;"/> <meta http-equiv="Refresh" content="5; url=&quot;about:blank&quot;"/> </head> <body> </html>" 2. Look at the title bar and wait 5 seconds. 3. Unfortunately redirection works! Actual Results: Title has been displayed, error message too, redirection has worked. Expected Results: Title from the <title/> tag should not be displayed, instead of that the address of the document should be displayed exactly like during browsing text documents, redirection should not work. The error message appears corectly.
This is similar to bug 387221. Given incremental rendering of XML (from bug 18333), you can't expect Firefox to totally ignore the <title>. But it should probably go away as soon as the error is encountered.
This is a mass search for bugs which are in the Firefox General component, are UNCO, have not been changed for 500 days and have an unspecified version. Reporter, can you please update to Firefox 3.6.10 or later, create a fresh profile, http://support.mozilla.com/en-US/kb/managing+profiles, and test again. If you still see the issue, please update this bug. If the issue is gone, please set the status to RESOLVED > WORKSFORME.
Whiteboard: [CLOSEME 2010-11-01]
No reply from reporter, INCOMPLETE. Please retest with Firefox 3.6.12 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
Attached file testcase —
Status: RESOLVED → UNCONFIRMED
Resolution: INCOMPLETE → ---
Whiteboard: [CLOSEME 2010-11-01]
Status: UNCONFIRMED → NEW
Ever confirmed: true
Firefox 24.0 still redirects this page.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: