Closed Bug 1359958 Opened 3 years ago Closed 2 years ago

Log which jsms leak

Categories

(Core :: XPConnect, enhancement, P2)

enhancement

Tracking

()

RESOLVED INACTIVE

People

(Reporter: mccr8, Unassigned)

References

Details

Attachments

(1 file)

I don't know if this is worth landing, but it helped a little bit in investigating bug 1359935, so I'll upload the patches here.

By passing the URI through to the Backstage pass ctor, we can use MOZ_COUNT_CTOR/DTOR to track which jsms are still alive at leak checking time.
Sounds like very useful.
It would probably be better to implement more like the leaking URIs reporter than by piggybacking on the XPCOM leak checker.
Priority: -- → P2
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.