Closed Bug 1665706 Opened 5 years ago Closed 5 years ago

Use length of first DeviceCapabilities array count for paper information to allocate space for the others

Categories

(Core :: Printing: Setup, enhancement, P1)

All
Windows
enhancement

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: bobowen, Assigned: bobowen)

References

Details

Attachments

(1 file)

Now that we allocate double the space we need for paper info from DeviceCapabilities, it should be safe to use the first paper info array length for the other paper info arrays.
We rely on these being the same length anyway and the double count allocation should mean we're safe.

We rely on the arrays being the same length and now that we allocate double the
amount we need, this should be safe.

Pushed by bobowencode@gmail.com: https://hg.mozilla.org/integration/autoland/rev/d810d4e32ce1 Use length of first DeviceCapabilities array for paper info to allocate space for the others. r=jfkthame
Regressions: 1665851
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
Regressions: 1673708
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: