Add some automatic leak tracking to the test harness

RESOLVED FIXED

Status

Add-on SDK
General
P1
normal
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: mossop, Assigned: mossop)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [MemShrink:P2])

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
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.

Updated

6 years ago
Priority: -- → P1
Whiteboard: [MemShrink]
Whiteboard: [MemShrink] → [MemShrink:P2]
(Assignee)

Comment 1

6 years ago
Created attachment 668182 [details]
Pointer to Github pull request: https://github.com/mozilla/addon-sdk/pull/598#attch-to-bugzilla

Pointer to Github pull-request
(Assignee)

Updated

6 years ago
Attachment #668182 - Flags: feedback?(poirot.alex)
Attachment #668182 - Flags: feedback?(poirot.alex) → feedback+
(Assignee)

Comment 2

5 years ago
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+
(Assignee)

Updated

5 years ago
Depends on: 864986

Comment 3

5 years ago
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
(Assignee)

Updated

5 years ago
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.