Closed Bug 1633027 Opened 4 years ago Closed 4 years ago

Unlink Document's Additional StyleSheets

Categories

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

77 Branch
task

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: nordzilla, Assigned: nordzilla)

Details

Attachments

(1 file)

DocumentOrShadowRoot::mStyleSheets was recently updated to be unlinked during cycle collection (1459698)

We should also unlink Document::mAdditionalSheets.

  • Add functions for traversing stylesheets in DocumentOrShadowRoot
  • Add functions for unlinking stylesheets in DocumentOrShadowRoot
Attachment #9143719 - Attachment description: Bug 1633027 - Refactor Traversing/Unlinking Sheets To Functions → Bug 1633027 - Refactor Traversing/Unlinking StyleSheets r=style,emilio
Attachment #9143719 - Attachment description: Bug 1633027 - Refactor Traversing/Unlinking StyleSheets r=style,emilio → Bug 1633027 - Refactor Traversing/Unlinking StyleSheets r=#style,emilio
Pushed by dluca@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/244a33bcd5e7
Refactor Traversing/Unlinking StyleSheets 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: