Closed
Bug 586740
Opened 15 years ago
Closed 15 years ago
Microformats test leak fix
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
fennec | 2.0b1+ | --- |
People
(Reporter: stechz, Assigned: stechz)
References
Details
Attachments
(1 file)
1.86 KB,
patch
|
mkaply
:
review+
|
Details | Diff | Splinter Review |
A microformat mochitest adds a microformat to a long-lived module's scope, but does not clean it up. This fixes a leak in one of my patches that for some reason does not show up normally.
Assignee | ||
Comment 1•15 years ago
|
||
Attachment #465323 -
Flags: review?(myk)
Updated•15 years ago
|
tracking-fennec: --- → 2.0b1+
Comment 2•15 years ago
|
||
Erm, I have never hacked on this code (perhaps you thought of me because I worked on microsummaries?). Based on the log, Michael Kaply or Robert Sayre would be better reviewers.
Comment 3•15 years ago
|
||
This looks ok to me, but shouldn't there be another remove for the other hTest add?
OS: Mac OS X → All
Assignee | ||
Comment 5•15 years ago
|
||
(In reply to comment #3)
> This looks ok to me, but shouldn't there be another remove for the other hTest
> add?
No, the second hTest replaces the first hTest in the module, so only one removal is necessary.
> what is the patch that this helps?
Here's a couple actually:
https://bugzilla.mozilla.org/show_bug.cgi?id=552827
https://bugzilla.mozilla.org/show_bug.cgi?id=550936
They leak in mochitest chunk 5. Basically, we are noticing this when messageManager is being used with an addEventListener call in the frame script.
Assignee | ||
Updated•15 years ago
|
Attachment #465323 -
Flags: review?(myk) → review?(mozilla)
Comment 6•15 years ago
|
||
And you're sure that this patch fixes those leaks?
OS: Mac OS X → Windows XP
Assignee | ||
Comment 7•15 years ago
|
||
Yes. Alon Zakai and I have verified it fixes the leak on mochitest 5 on our own respective bugs.
Updated•15 years ago
|
Attachment #465323 -
Flags: review?(mozilla) → review+
Comment 8•15 years ago
|
||
Pushed to e10s. will merge into m-c shortly:
http://hg.mozilla.org/projects/electrolysis/rev/0346acf59bc6
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•