Closed Bug 549222 Opened 14 years ago Closed 14 years ago

XML Parsing errors when viewing streetcar.co.uk

Categories

(Firefox :: General, defect)

x86
macOS
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: adil, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.3a2pre) Gecko/20100228 Minefield/3.7a2pre
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.3a2pre) Gecko/20100228 Minefield/3.7a2pre

Opening streetcar.co.uk causes the following error to be shown in the browser window:

XML Parsing Error: not well-formed
Location: http://www.streetcar.co.uk/
Line Number 74, Column 38:            if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]){
-------------------------------------^

Reproducible: Always

Steps to Reproduce:
1.open www.streetcar.co.uk
Actual Results:  
see xml error

Expected Results:  
normal page
The web site is sniffing for the word Firefox in the user agent. When it finds it it returns the mime type text/html rather than application/xhtml+xml.

You can make it do this in any version of firefox by going to about:config and setting general.useragent.extra.firefox to something that does not contain the word Firefox.

This is bug in the web site and not in Firefox and so is invalid. Please report it to the web site administrator.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
The website admin needs to read http://geckoisgecko.info/.
Thanks, I passed your comments on to Streetcar.
You need to log in before you can comment on or make changes to this bug.