Closed Bug 792636 Opened 12 years ago Closed 11 years ago

Add some automatic leak tracking to the test harness

Categories

(Add-on SDK Graveyard :: General, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mossop, Assigned: mossop)

References

Details

(Whiteboard: [MemShrink:P2])

Attachments

(1 file)

Using the memory reporting tools that about:compartments queries we can test to see if any compartments that we might be interested in are left over after the test run. This would indicate a leak. I have this roughly working and so far identified a couple of real leaks, although leaks in the test code itself rather than the shipping code.
Whiteboard: [MemShrink]
Whiteboard: [MemShrink] → [MemShrink:P2]
Attachment #668182 - Flags: feedback?(poirot.alex)
Attachment #668182 - Flags: feedback?(poirot.alex) → feedback+
Comment on attachment 668182 [details]
Pointer to Github pull request: https://github.com/mozilla/addon-sdk/pull/598#attch-to-bugzilla

Updated to master and made into an optional feature. Want to give it a stamp Alex?
Attachment #668182 - Flags: review?(poirot.alex)
Attachment #668182 - Flags: review?(poirot.alex) → review+
Depends on: 864986
Commit pushed to master at https://github.com/mozilla/addon-sdk

https://github.com/mozilla/addon-sdk/commit/06a94b530e4ae43a446e2f5bf1e5b804dc83f245
Bug 792636: Add some automatic leak tracking to the test harness. r=ochameau
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: