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

NEW
Unassigned

Status

()

Firefox
Preferences
6 months ago
5 months ago

People

(Reporter: scottwu, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 months ago
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.

Updated

6 months ago
Blocks: 1360777

Updated

5 months ago
No longer blocks: 1360777
You need to log in before you can comment on or make changes to this bug.