Closed Bug 1359023 Opened 8 years ago Closed 4 years ago

When a preference dialog is closed, remove its DOM node instead of setting it to about:blank

Categories

(Firefox :: Settings UI, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1650795

People

(Reporter: scottwu, Unassigned)

References

Details

Currently, when a preference dialog is closed, it is set to about:blank and reused for the next dialog. This was appropriate when only one dialog could be opened. However this became less than ideal when Bug 1340987 added the ability to open multiple dialogs that stack on top of one another. The closing logic could be simplified by removing the dialog DOM node directly and not resetting it to its initial state. Most of the work will be at editing the tests cases.
Blocks: 1360777
No longer blocks: 1360777

Removed the dialog reuse in the patch for Bug 1650795.

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