Cycle collect nsXMLHttpRequest::mBlobSet

RESOLVED DUPLICATE of bug 1113062

Status

()

RESOLVED DUPLICATE of bug 1113062
4 years ago
4 years ago

People

(Reporter: mccr8, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

XHR holds an autoptr to a blob set, which holds a field that is nsTArray<nsRefPtr<FileImpl>>, and FileImpl can sometimes contain fields that need to be cycle collected, so you have to call Traverse() and Unlink() on them, but the FileImpl are not real cycle collected objects.
I'm not sure how that is supposed to work if FileImpl is shared, but maybe that can't happen.
At the moment we have CCed FileImpl just for ArchiveReader (as far as I remember).
I don't think this is a really issue at the moment and I hope that soon or late FileImpl will not have IsCCed()/Traverse()/Unlink() methods.
With 'I hope' I mean bug 1083828.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1113062
You need to log in before you can comment on or make changes to this bug.