Closed Bug 705689 Opened 14 years ago Closed 7 years ago

Calling two showModalDialog within nested setTimeouts triggers "Prevent this page from creating additional dialogs" prompts

Categories

(Toolkit :: General, defect)

8 Branch
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: aishwar, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0.1) Gecko/20100101 Firefox/8.0.1 Build ID: 20111120135848 Steps to reproduce: Call two setModalDialog within nested setTimeouts Actual results: Got a prompt to "Prevent this page from creating additional dialogs" Expected results: I should not get this prompt on just two calls. If the same two calls were made from non-nested setTimeouts, I don't get the "Prevent this page from..." prompt. Other browsers: IE and Chrome, don't have the same issue. I have attached a zip file containing the base html and the html page for the showModalDialog popup.
OS: Windows 7 → All
Product: Firefox → Toolkit
QA Contact: general → general
Hardware: x86_64 → All

The showModalDialog API was disabled in Firefox 56 and removed later on. As a result, I believe this bug is no longer present in (more) recent versions of Firefox. Please reopen and needinfo me if you think this bug is still relevant.

Bugmail filter: showModalDialogClosure.

Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: