Closed Bug 503048 Opened 12 years ago Closed 12 years ago

findbar needs a destroy method

Categories

(Toolkit :: Find Toolbar, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.2a1

People

(Reporter: florian, Assigned: florian)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
If the findbar is removed from a XUL document without the XUL document being destroyed at the same time, the destructor of the findbar is not called (this is bug 83635). This causes the XUL document to stay alive until the application is closed.

The browser binding provides a destroy method that can be called explicitely to workaround this bug when removing a <browser> DOM node, findbar should do the same.
Attachment #387414 - Flags: review?(mano)
http://hg.mozilla.org/mozilla-central/rev/728b9a9345b0
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.2a1
You need to log in before you can comment on or make changes to this bug.