Open Bug 1589707 Opened 6 years ago Updated 3 years ago

Support JS weak references in DevTools

Categories

(DevTools :: General, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: jonco, Unassigned)

Details

We're going to implement the JS weak references proposal in bug 1561074. The features this provides are complex and may be hard to use correctly and devtools may be able to provide some support for developers in this regard.

More information about WeakRef can be found here.
The things DevTools could do about this are not obvious. I think we'd want this technology to be adopted first and see if common use cases require some form of tooling before doing anything here.

Priority: -- → P3

So far I don't think there are any clear problems, apart from knowing when a reference gets GC'd (which is a hard problem).

Related: https://softwareengineering.stackexchange.com/questions/238814/how-to-debug-weak-references/238840

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.