Closed Bug 1981748 Opened 1 year ago Closed 1 year ago

Avoid building the top layer past the 255th page

Categories

(Core :: Printing: Output, defect, P3)

defect

Tracking

()

RESOLVED FIXED
143 Branch
Tracking Status
firefox143 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 external file)

No description provided.

Just like we avoid building fixed frames. This fixes a pre-existing
issue that could theoretically happen if you somehow end up printing a
modal <dialog> element or so.

My previous patch exposes this on a devtools test
(browser_browser_toolbox_print_preview.js) because we start creating an
isolation container for the DevTools anonymous content, which is in the
top layer, and we currently didn't set the page number in the
ViewportFrame::BuildDisplayList which ends up building it, failing our
unique display item assertions.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
Regressions: 1983147
QA Whiteboard: [qa-triage-done-c144/b143]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: