Closed
Bug 1486968
Opened 6 years ago
Closed 5 years ago
Remove nsPrintJob::mOldPrtPreview
Categories
(Core :: Printing: Setup, task, P3)
Core
Printing: Setup
Tracking
()
RESOLVED
FIXED
mozilla73
People
(Reporter: jwatt, Assigned: jwatt)
References
Details
(Whiteboard: [print2020_v74])
Attachments
(1 file)
The purpose of nsPrintJob::mOldPrtPreview is unclear and the code inconsistent in its use. We should try to remove this member. I tried that in bug 1425641 previously, but it caused browser chrome test toolkit/components/printing/tests/browser_page_change_print_original.js to fail.
Assignee | ||
Updated•6 years ago
|
Priority: -- → P3
Assignee | ||
Comment 1•5 years ago
|
||
It turns out that the crash wasn't a result of failing to keep mOldPrtPreview around to hold onto for something. Rather, the issue was that we need to clear mPrtPreview (a side affect of mOldPrtPreview = std::move(mPrtPreview)
) so that we didn't use that stale object.
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Try push, for the record:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=9cc53badd9670795a27214eed40658db6ba9867d
Updated•5 years ago
|
Attachment #9114177 -
Attachment description: Bug 1486968 - Remove nsPrintJob::mOldPrtPreview. r=bobowen → Bug 1486968. Remove nsPrintJob::mOldPrtPreview. r=bobowen
Pushed by jwatt@jwatt.org:
https://hg.mozilla.org/integration/autoland/rev/60e9aedf5428
Remove nsPrintJob::mOldPrtPreview. r=bobowen
Assignee | ||
Updated•5 years ago
|
Type: enhancement → task
Comment 5•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox73:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
Comment 6•5 years ago
|
||
backout |
Backed out from Beta for Fx73. This remains fixed on m-c for 74+.
https://hg.mozilla.org/releases/mozilla-beta/rev/00808d720d1b9a942a8e5f68aa9f6019367b18a0
status-firefox74:
--- → fixed
Assignee | ||
Updated•5 years ago
|
Whiteboard: [print_v74]
Assignee | ||
Updated•5 years ago
|
Whiteboard: [print_v74] → [print2020_v74]
You need to log in
before you can comment on or make changes to this bug.
Description
•