Closed Bug 245223 Opened 21 years ago Closed 21 years ago

peugeot.fr - corrupted display

Categories

(Tech Evangelism Graveyard :: French, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 131557

People

(Reporter: jmreymond, Unassigned)

References

()

Details

(Whiteboard: [havefix][havecontact])

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040514 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040514 Error: hidden is not defined Source File: http://www.peugeot.fr/ppp/cgi-bin/pppfcwebfr/ppplpindex.jsp Line: 223 Reproducible: Always Steps to Reproduce: 1. click on the link 2. 3. Actual Results: first, a nasty line on top: window.open('/ppp/cgi-bin/pppfcwebfr/ppplp0203_02.jsp?BV_SessionID=@@@@2146182293.1086084141@@@@&BV_EngineID=cccdadclihikhgmcefecfgmdfgodffj.0&_strAlertTitle=Netscape+6+ou+sup%e9rieur+d%e9tect%e9&_strAlertMessage=Ce+site+n%26rsquo%3best+pas+optimis%e9+pour+une+utilisation+de+Netscape+6.0.+Certaines+fonctionnalit%e9s+peuvent+ne+pas+%eatre+disponibles.', 'AlertBox', 'scrollbars=no,status=no,width=350,height=190') second: all the menus are broken if you fly on it message in the javascript console: Error: hidden is not defined Source File: http://www.peugeot.fr/ppp/cgi-bin/pppfcwebfr/ppplpindex.jsp Line: 223
Not a JS engine bug, simply a badly tested script. Type javascript:void(hidden="hidden") in the location bar and it works.
> message in the javascript console: That's because the site author screwed up. The code is: else if (ie){document.all[lelayer].style.visibility = "hidden";} else if (ns6){document.getElementById(lelayer).style.visibility = hidden;} Note lack of quotes in the "ns6" case. The garbage at the top of the page is actually there in the original source according to view source. The site sends totally different source to Mozilla and wget, and if I make wget spoof the Mozilla UA I get the source Mozilla got (complete with the garbage window.open text). Over to evangelism. This page is just trying to sniff for the browser and doing broken things if the browser is Mozilla. Reporter, if you could contact the site owner and bring the problem to their attention, that would be very helpful.
Assignee: general → french
Status: UNCONFIRMED → NEW
Component: JavaScript Engine → French
Ever confirmed: true
Product: Browser → Tech Evangelism
QA Contact: pschwartau → french
Version: Trunk → unspecified
I have already sent a message via the contact page of the site peugeot.fr
mail form webmaster: Bonjour Monsieur, Merci de votre intérêt pour la marque Peugeot. La connexion au site www.peugeot.fr n'est possible qu'en utilisant le navigateur Internet Explorer. Vos difficultés s'expliquent donc par le fait que vous utilisiez Mozilla. Des investigations sont actuellement menées pour permettre à tous les utilisateurs de naviguer sur le site. En attendant, je vous invite à utiliser Internet Explorer. Je vous remercie de votre compréhension et reste à votre disposition pour toute question. A bientôt sur www.peugeot.fr Cordialement, Christophe Pero Peugeot - Webmaster Votre message: votre site s'affiche très mal avec mozilla. voici le message d'erreur: Error: hidden is not defined Source File: http://www.peugeot.fr/ppp/cgi-bin/pppfcwebfr/ppplpindex.jsp Line: 223 _________________________________________________ Ce message contient des informations confidentielles appartenant à Automobiles Peugeot et est établi, exclusivement, à l’attention de ses destinataires. S'il ne vous est pas destiné, merci de le détruire. Toute divulgation, diffusion ou reproduction totale ou partielle de ce message ou des informations qu’il contient, devra être préalablement autorisé par Automobiles Peugeot. Automobiles Peugeot décline toute responsabilité au titre de ce message en cas de modification ou/et de falsification. En application de la loi 78-17 du 6 janvier 1978 relative à l’informatique, aux fichiers et aux libertés, vous êtes informés que les réponses aux questions posées sont facultatives et sont destinées à Automobiles Peugeot, son réseau commercial, et à Crédipar. Vous êtes habilités à obtenir communication des informations vous concernant et à en demander toutes rectifications et/ou suppressions auprès d’Automobiles Peugeot DMQ/CCC – 75, avenue de la Grande Armée, 75116 Paris.
Very helpful.... ;) Tell them that you're using Netscape 6 and that they already have code that tries to work with Netscape 6; it's just that the code is missing parentheses? As for the window.open thing, tell him that if you set your browser to claim to be IE it works perfectly (it does for me). So the error is definitely in the server, not the browser.
Summary: corrupted display for peugeot.fr → peugeot.fr - corrupted display
Whiteboard: [havefix][havecontact]
*** This bug has been marked as a duplicate of 131557 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.