Closed Bug 1549969 Opened 6 months ago Closed 6 months ago

ThinArc panics if the iterator is zero-sized.

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: emilio, Assigned: emilio)

Details

Attachments

(2 files)

Right now you can't create a ThinArc with an empty slice. That's bad and I need to fix it to use it for all properties.

I'm hitting this when trying to add bindings for box shadows.

Depends on D30352

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/82ae6ce8f3a8
Don't panic when creating empty ThinArcs. r=bholley
https://hg.mozilla.org/integration/autoland/rev/0ba7b9f6fdaf
Fix an assertion that doesn't account for alignment padding. r=bholley
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.