Closed Bug 425821 Opened 13 years ago Closed 12 years ago

Leak nsDocument with <xul:wizard>, cloneNode

Categories

(Core :: XBL, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

(Blocks 2 open bugs)

Details

(Keywords: memory-leak, testcase)

Attachments

(1 file)

449 bytes, application/vnd.mozilla.xul+xml
Details
Attached file testcase
Steps to reproduce:
1. Run a debug build of Firefox with XPCOM_MEM_LEAK_LOG=2
2. Load the testcase.
3. Quit.

Result: trace-refcnt reports that an nsDocument has leaked, along with a total of 276895 bytes worth of instrumented objects.

The testcase is related to the testcase for bug 415192, but the testcase in bug 415192 does not trigger this leak.
It's easiest to reproduce the bug if you quit immediately after loading the testcase (without waiting).
Blocks: 429003
Duplicate of this bug: 429003
Works for me on a Linux trunk DEBUG_CC build from yesterday.
WFM.  Crashtest checked in.  Along with bug 429085, seems to leak when run with -reftest, but so does everything else in content/xul/content/crashtests/ ...
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.