Open Bug 304200 Opened 20 years ago Updated 3 years ago

Fix modal alert nesting issues

Categories

(Core :: DOM: Core & HTML, defect, P5)

defect

Tracking

()

People

(Reporter: sfraser_bugs, Unassigned)

References

Details

We currently have issues when event handlers can spawn alerts that may result in recursive modal windows (see bug 303484, bug 300057). One way to fix this would be to enforce some rules on the spawning of modal windows: Any given window can have at most a single modal child window at any one time. A window can only invoke a modal child on itself, not on any existing child or other window. Modal windows can be nested, but only up to some maximum depth (fix from bug 303484). This would require tracking the originating window for a modal window request, which I'm not sure we can do currently (since we may lose track of the originating window for things like synthetic mouse moves posted to the youngest event queue).
Blocks: 325306
Assignee: general → nobody
QA Contact: ian → general
Flags: wanted1.9.2?
Flags: wanted1.9.2?
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven't been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.