Option to save a heap snapshot when a mochitest leaks

NEW
Unassigned

Status

Testing
Mochitest
2 years ago
2 years ago

People

(Reporter: fitzgen, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

It is pretty easy to programmatically save a heap snapshot using this API: https://dxr.mozilla.org/mozilla-central/rev/f742b9412ed5aace90ad863b276faae0641090a8/dom/webidl/ThreadSafeChromeUtils.webidl#13-25,36-66

These heap snapshots can then be imported in the devtools' memory tool (once bug 1215953 is fixed, which should be very soon).
You need to log in before you can comment on or make changes to this bug.