Closed Bug 1617302 Opened 5 years ago Closed 5 years ago

Handle adopting the same sheet multiple times for Constructable StyleSheets

Categories

(Core :: CSS Parsing and Computation, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: nordzilla, Assigned: nordzilla)

References

Details

Attachments

(1 file)

The current implementation of the adoptedStyleSheets attribute will crash the browser if the same sheet is added multiple times.

There was a proposal to disallow this behavior, but the CSSWG resolution is that we should try to allow it. https://github.com/WICG/construct-stylesheets/issues/120#issuecomment-588342613

Assignee: nobody → enordin
Status: NEW → ASSIGNED
  • Disallow duplicate style sheets to unblock fuzzers until this is handled properly.
Pushed by dluca@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/98dd754202ad Temporarily disallow duplicate style sheets r=emilio
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: