Closed
Bug 1709062
Opened 4 years ago
Closed 4 years ago
Make printpreview_helper use a <browser> rather than depending on OS window size.
Categories
(Core :: Print Preview, task)
Core
Print Preview
Tracking
()
RESOLVED
FIXED
90 Branch
Tracking | Status | |
---|---|---|
firefox90 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(2 files)
No description provided.
Assignee | ||
Comment 1•4 years ago
|
||
Recently (due to probably a system upgrade) this test fails locally for
me with an exception in compareCanvases(), because the two preview
windows aren't always the same size.
This is more reliable, faster, more similar to what we actually do
in print preview, and more easily debuggable.
Assignee | ||
Comment 2•4 years ago
|
||
Warn when some of the pre-conditions fail and such, so that it's easy to
see what's going wrong without having to use a debugger.
Remove some useless null-checks (we were dealing with null arguments
anyways, and the return value is never null).
Depends on D114078
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f3e98d3f836c
Make printpreview_helper use a fixed viewport width. r=dholbert
https://hg.mozilla.org/integration/autoland/rev/b110e23dbb1a
Minor cleanups to nsDOMWindowUtils::CompareCanvases. r=dholbert
![]() |
||
Comment 4•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f3e98d3f836c
https://hg.mozilla.org/mozilla-central/rev/b110e23dbb1a
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox90:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•