Closed Bug 596041 Opened 14 years ago Closed 10 years ago

Leak analysis should have an extension architecture

Categories

(Tree Management Graveyard :: TBPL, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: justin.lebar+bug, Unassigned)

Details

See bug 557479.  This intermittent leak is not recognized by tbpl's leakcheck script, but it should be.
Morphing into the only way I can see for a bug about recognizing a leak that was fixed a year ago to still be useful. If the leak analysis page loaded all the files in /leak-analysis/extensions/, and either passed each line (plus probably the name of the suite, since you need to know whether it's in chrome or browser-chrome for a Moth leak) or a parsed-out set of the useful info, like a list of tests that leaked domwindows plus the list of leaked URLs and the list of leaked objects to a function defined in each, then bug557479.php could have said "Leaked 1 instance of VideoData during mochitest-1, this is probably bug 557479."

The current scheme, only looking for leaked domwindows, and having a single hard-coded heuristic for a single leak that we haven't had for ages, doesn't scale or maintain well.
Summary: TBPL leak check script doesn't recognize VideoData leak → Leak analysis should have an extension architecture
We should probably also port the script to JS so that it's easier hackable.
Product: Webtools → Tree Management
Wontfix since TBPL is being replaced by Treeherder.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Product: Tree Management → Tree Management Graveyard
You need to log in before you can comment on or make changes to this bug.