Closed Bug 1669370 Opened 4 years ago Closed 4 years ago

Purge the worst/most obvious cases of corrupt/invalid printing prefs

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox82 --- fixed
firefox83 --- fixed

People

(Reporter: jwatt, Assigned: jwatt)

References

Details

(Whiteboard: [print2020_v82][old-ui+])

Attachments

(1 file)

We've had a series of bug reports recently about corrupted/invalid print settings being saved to prefs. Bad printing prefs have the potential to not only make prints go bad once, but also to completely break printing for users unless they clear their printing prefs manually. Since most users will have no clue how to do this (and we wouldn't want potentially large numbers of Release users to get into that position anyway!), I'm very concerned about issues like this appearing in Release.

I'd like to add some mitigations to reject the worst/most obvious cases of corrupt/invalid printing prefs at the point we read them, and thereby purge those values. However, since my immediate concern is to get some mitigations uplifted to Beta I'll only be making low risk mitigations rather than aggressive ones for now.

Pushed by jwatt@jwatt.org:
https://hg.mozilla.org/integration/autoland/rev/aa1645112573
Purge the worst/most obvious cases of corrupt/invalid printing prefs. r=emilio

Comment on attachment 9179758 [details]
Bug 1669370. Purge the worst/most obvious cases of corrupt/invalid printing prefs. r=bobowen,emilio

Beta/Release Uplift Approval Request

  • User impact if declined: Please see comment 0. We already seem to have the risk that previous changes have
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): The patch is very conservative in only purging the most obviously broken pref values, but will purge at least some of the cases of bad prefs that we've been getting reports of on Nightly and Beta and hopefully reduce the chances of those even happening on Release.
  • String changes made/needed:
Attachment #9179758 - Flags: approval-mozilla-beta?
See Also: → 1669207

Comment on attachment 9179758 [details]
Bug 1669370. Purge the worst/most obvious cases of corrupt/invalid printing prefs. r=bobowen,emilio

approved for 82.0b8

Attachment #9179758 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
Regressions: 1672370
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: