Closed
Bug 305559
Opened 19 years ago
Closed 19 years ago
No alert appears in firefox while is does in IE6.0
Categories
(Firefox :: General, defect)
Tracking
()
People
(Reporter: stijnvs, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl-NL; rv:1.7.10) Gecko/20050717 Firefox/1.0.6 Build Identifier: Firefox/1.0.6 NL The javascript should give an alert when trying to press a button that gives /,\ or other nasty caracters. It does in IE6 and not in firefox. Reproducible: Always Steps to Reproduce: 1. create a condition 2. use a variable referring to a key that is down 3. trigger an alert Actual Results: nothing Expected Results: give an alert no team, no bar, SP2,
Comment 1•19 years ago
|
||
This can't be the JS Console because I see an Error in the JS Console : Error: event is not defined Source File: http://www.ismsbelgium.be/users/haardkoor/site.v2/lol.html Line: 7 event.keyCode is not part of the W3C DOM Specs and that makes this bug invalid
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Component: JavaScript Console → General
Resolution: --- → INVALID
Mozilla's event model actually has "keyCode" property. The real problem is a difference in how event objects are accessed. (window.event vs event-as-an-argument) See: bug 54341 http://www.reloco.com.ar/mozilla/compat.html#eventos
Comment 4•19 years ago
|
||
marking as dupe of bug 54341 (still invalid) *** This bug has been marked as a duplicate of 54341 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago → 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•