Closed Bug 16466 Opened 25 years ago Closed 25 years ago

[MLK] nsDocuments leaking

Categories

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

x86
Windows NT
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: norrisboyd, Assigned: beard)

References

Details

1. Set breakpoints at nsDocument::nsDocument and nsDocument::~nsDocument.
2. Load www.yahoo.com.
3. You should hit the breakpoints for the constructor three times.
4. Click on "Computers and Internet".
5. You will *not* see any hits on the destructor.

I've also put a breakpoint on nsDocument::Reset, and none of the documents
appear to be reused. I've placed data watchpoints on the reference from
nsDocument to mPrincipal, and those never get hit. (nsCodebasePrincipals are
leaking for every page that is visited because they're held onto by nsDocument.)

(Patrick, I'm assigning to you since you're on the space team. Perhaps you'll
know whom to reassign to.)
Blocks: 15824
Status: NEW → ASSIGNED
Summary: nsDocuments leaking → [MLK] nsDocuments leaking
I no longer see this leak. The destructors are getting called.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
norris would you like to verify this one ? Or just please provide your input.
Verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.