Closed
Bug 418493
Opened 17 years ago
Closed 16 years ago
setTimeout() blocked by alert() in Firefox 3
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
INVALID
People
(Reporter: mcs, Unassigned)
References
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
Observed on Windows XPsp2 and Mac OS 10.4.11 Intel. In Firefox 3, a setTimeout() that is initiated before an alert() does not fire until after the alert window is closed. Please see the attached HTML test case. This is a change in behavior compared to Firefox 2 (where setTimeout() timers fire while modal alert windows are open). I also see this problem with nsIPromptService initiated windows that are created by extension code. Is this change in behavior expected? Or is it an accidental regression?
Comment 1•17 years ago
|
||
I was under the impression that this was intentional.
Comment 2•17 years ago
|
||
Hi Jesse. Can you explain why this behavior, setTimeout() blocked by modal dialogs, is intentional? Is it due to a security issue? Is there another bug I can reference? Thanks!
Reporter | ||
Comment 4•16 years ago
|
||
Thanks for the pointer to bug 52209. To help other extension developers, I added this issue to http://developer.mozilla.org/en/docs/Updating_extensions_for_Firefox_3#Other_changes (suggesting that people use nsITimer instead if they need timers that are NOT blocked by modal windows). Resolving this bug as INVALID.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•