see attached testcase
1. hit a key to trigger the document.onkeyup JS event
2. an alert box will be displayed
3. hit the keyboard 'enter' ---
The event goes into a loop
4. if i click the mouse button on the alert box 'ok' butoon, the event comes out
of the loop.
Note: the event goes into the loop only if the keyboard is used to discard the
happens on all platforms
NS6.2 : 2001-10-22-0.9.4 branch build
NS6.2.1 : 2001-11-26-6.2.1 rtm build
Created attachment 59447 [details]
*** This bug has been marked as a duplicate of 92014 ***
I do not see how this bug is a duplicate of bug 92014.
92014 says that "If keydown event opens an alert box, and space is pressed the
box is dismissed."
whereas, this bug specifies that "onkeyup event when triggered for the document
object goes into a loop". Also checked this on 2001-11-26-10trunk build for
Reopening this bug.
It is slightly different from 92014 but only because 92014 only talks about the
space bar. This is exactly the same bug but with the enter key instead. I'll
leave it as depends on rather than dupe
joki is no longer here
Got bit by this bug today, too. Rather annoying because I'm catching the
onkeyup-Event on a text input box, check for keyCode 13 and validate the
content. If it doesn't match the criterias, I display an alert() box, however
when they press the enter key, it's immidiately fired by the text input box again.
*** Bug 293565 has been marked as a duplicate of this bug. ***
*** Bug 357156 has been marked as a duplicate of this bug. ***
*** Bug 566177 has been marked as a duplicate of this bug. ***
*** Bug 624243 has been marked as a duplicate of this bug. ***
Created attachment 502412 [details]
testcase from Bug 624243
This still is a problem http://stackoverflow.com/questions/14636111/why-does-this-event-keep-getting-fired/14636497#comment20454352_14636497
Any update about this bug?