Displaying an alert from an async XMLHttpRequest causes existing alert to become modeless

NEW
Unassigned

Status

()

Toolkit
Notifications and Alerts
3 years ago
2 years ago

People

(Reporter: mkaply, Unassigned)

Tracking

Trunk
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

3 years ago
Created attachment 8555897 [details]
Extension that shows the problem

I'm demoing this using alerts, but it's happening for us with login dialogs, so it's a real world issue.

If you display an alert and then subsequently display a separate alert in response to an async XMLHttpRequest, after dismissing the second alert, the first alert becomes modeless, allowing full access to the browser window behind it.

It should stay modal.

The attached extension displays the problem immediately upon installation. You'll want to uninstall after testing, otherwise it will show the alerts at startup.
Component: General → Notifications and Alerts
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.