Closed Bug 1631057 Opened 4 years ago Closed 4 years ago

Ensure Adopted StyleSheets Are Removed From Styles On Unlink

Categories

(Core :: DOM: CSS Object Model, task, P3)

77 Branch
task

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: nordzilla, Assigned: nordzilla)

References

Details

Attachments

(1 file)

Right now there is no issue, but if a cyclic pointer is ever added to constructed sheets, we want to prevent a memory leak from occurring by not removing adopted sheets from the style set while unlinking.

Pushed by cbrindusan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/20630fb87f82
Remove adopted sheets from styles on unlink r=emilio
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: