Closed Bug 354374 Opened 19 years ago Closed 16 years ago

Stacked Alerts

Categories

(Firefox :: General, defect)

2.0 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: mataug.j, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7 For a page having an input element with onblur handler, and a hyperlink with onclick handler, and with the focus on the input element, if the hyperlink is clicked, both the onblur and onclick handlers are invoked simultaneously. If the handlers have alerts and/or confirm, then a stack of such alert/confirm boxes are rendered. The following HTML can be used for reproducing the issue. Shouldn't a handler be invoked after a previous handler has finished execution? Example HTML ============ <html> <head><title>Stacked Alerts</title></head> <body> <form> <br>Focus the cursor on the input field and then click on the hyperlink. Two alert boxes are shown simultaneously in FireFox. <i>Move a box slightly to see the one underneath</i> <br><br> <input type='text' value='abc' onblur="javascript:alert('onblur');"/> <a href="javascript:alert('onclick');">Click</a> </form> </body> </html> Reproducible: Always Steps to Reproduce: 1.Save the example html in a file 2.Bring up the file in the browser 3.Focus the cursor on the input field and then click on the hyperlink Actual Results: 2 alerts stacked together Expected Results: The handlers should be invoked sequentially
Keywords: testcase
Version: unspecified → 2.0 Branch
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a6pre) Gecko/20070602 Minefield/3.0a6pre ID:2007060213 [cairo] Testcase behaviour is now different. Reporter, please test on a trunk build and report what you see and if it is now working as expected.
This bug was reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.3 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME http://www.mozilla.com http://support.mozilla.com/kb/Managing+profiles http://support.mozilla.com/kb/Safe+mode
No reply, INCOMPLETE. Please retest with Firefox 3.6.x 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: 16 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: