Closed Bug 1083349 Opened 10 years ago Closed 9 years ago

Cycle collect nsXMLHttpRequest::mBlobSet

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1113062

People

(Reporter: mccr8, Unassigned)

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
Closed: 9 years ago
Resolution: --- → DUPLICATE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.