Open Bug 1184896 Opened 9 years ago Updated 2 years ago

keydown and blur event listeners with alert executed without waiting for the alert confirm

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

39 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: alessio.rambaldi, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0
Build ID: 20150630154324

Steps to reproduce:

http://jsbin.com/punulu/1/edit?html,js,output

enter on the first field and press tab


Actual results:

Firefox shows two alerts at the same time and the cursor is into b field. I cannot press "Enter" to close alert.


Expected results:

Show keydown alert and the focus on alert mask, after the OK press, show blur alert.
Component: Untriaged → Event Handling
Product: Firefox → Core
Component: Event Handling → User events and focus handling
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.