Closed Bug 605294 Opened 14 years ago Closed 14 years ago

Leak nsGlobalWindow hiding a focused iframe

Categories

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

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
blocking2.0 --- betaN+

People

(Reporter: jruderman, Assigned: smaug)

Details

(Keywords: memory-leak, testcase)

Attachments

(2 files)

1. Load the testcase 2. Quit Firefox Result: Leak nsGlobalWindow+ If I change focus before quitting, the leak goes away. So this affects fuzzing more than it affects real life. But I'd like to be able to fuzz for leaks ;)
blocking2.0: --- → ?
Peter, can you have a look?
Assignee: nobody → peterv
blocking2.0: ? → betaN+
I'm having a hard time reproducing. I managed to make it leak once after trying about 20 times.
I can reproduce this easily on Linux. I could take a look.
Assignee: peterv → Olli.Pettay
Attached patch patchSplinter Review
When shutting down we should just release the comptrs the singleton owns. In normal cases focused windows changes all the time, so this isn't a "real" leak bug.
Attachment #497540 - Flags: review?(peterv)
Status: NEW → ASSIGNED
Comment on attachment 497540 [details] [diff] [review] patch I don't suppose we could clear these when the iframe is hidden?
Attachment #497540 - Flags: review?(peterv) → review+
That is another (open) bug and may be fixed as well. But I think there might still be cases when we don't clear the variables before shutdown.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Smaug, what's the bug number for the issue in comment 5 / comment 6?
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: