Closed Bug 329481 Opened 19 years ago Closed 17 years ago

Leak involving setting window.__proto__ to DOM element

Categories

(Core :: JavaScript Engine, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: memory-leak, testcase)

Attachments

(1 file)

226 bytes, application/xhtml+xml
Details
The testcase makes Firefox leak domwindows and documents.
Attached file testcase
Flags: in-testsuite-
WFM. Tested with a Mac trunk debug, with both XPCOM_MEM_LEAK_LOG=2 and leak-gauge.pl.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
We can do this easily with a Mochitest, once bug 393993 is fixed and we run Mochitests with window/document/docshell leaks causing test failures. It might also be possible to do the test in jsshell with the new heap-counting mechanism, but it's probably easier not to have to figure out exactly what the problem was (especially since it could be a bug outside the JS engine).
Depends on: 393993
Flags: in-testsuite- → in-testsuite?
Crashtest checked in.
Flags: in-testsuite? → in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: