Closed
Bug 394052
Opened 18 years ago
Closed 18 years ago
Leaking five foo.xml documents running one or more of the mochitests using property_database.js
Categories
(Core :: XBL, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.9beta2
People
(Reporter: Waldo, Assigned: sharparrow1)
References
Details
(Keywords: memory-leak)
Attachments
(1 file)
|
8.68 KB,
patch
|
sicking
:
review+
sicking
:
superreview+
|
Details | Diff | Splinter Review |
When I run the mochitests with leak-gauge.pl logging, I leak five documents for foo.xml. I don't know yet which test(s) actually cause(s) these leaks.
Flags: blocking1.9?
| Assignee | ||
Comment 1•18 years ago
|
||
This fixes the leak for remote XBL; failed loads for XBL from file:// URLs still cause a leak, but this should fix the leak showing up with mochitests.
Not sure if this is the best way to go about fixing this, but the relevant code is very messy.
Assignee: jwalden+bmo → sharparrow1
Attachment #278710 -
Flags: review?(jonas)
| Assignee | ||
Updated•18 years ago
|
Assignee: sharparrow1 → nobody
Status: ASSIGNED → NEW
Component: Style System (CSS) → XBL
QA Contact: style-system → xbl
| Assignee | ||
Updated•18 years ago
|
Assignee: nobody → sharparrow1
| Assignee | ||
Updated•18 years ago
|
Status: NEW → ASSIGNED
Comment 2•18 years ago
|
||
Is this basically the same as bug 324465?
| Assignee | ||
Comment 3•18 years ago
|
||
Yes, looks like it. I'll set blocking since the patch is here.
Blocks: 324465
Why are the nsXBLBindingRequest::Destroy in nsXBLStreamListener::Load and nsXBLStreamListener::OnStopRequest no longer needed?
Flags: blocking1.9? → blocking1.9+
| Reporter | ||
Comment 5•18 years ago
|
||
In my testing this is currently the only window/document/docshell leak in Mochitests. We should push on this and get it fixed before some new leak shows up that prevents leak-gauge testing from being added to runtests.pl.
As for the Destroys not being necessary, I think that's just relying on Load/OnStopRequest not firing multiple times, I think (based on reading the patch and vague memories of when the patch was written). I remember a question about whether OnStopRequest fired twice, with the answer being only for multipart/alternative (?), which probably wouldn't work already anyway.
Eli: Still waiting for a reply from you to the question in comment 4
Comment on attachment 278710 [details] [diff] [review]
Patch
This leak seems unlikely to happen for normal web pages, so lets wait with this until after beta.
Attachment #278710 -
Flags: superreview+
Attachment #278710 -
Flags: review?(jonas)
Attachment #278710 -
Flags: review+
Updated•18 years ago
|
Target Milestone: mozilla1.9 M8 → mozilla1.9 M10
Updated•18 years ago
|
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•18 years ago
|
Keywords: checkin-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•