Closed Bug 1662769 Opened 4 years ago Closed 4 years ago

"printerInfo._resolved;" Expression with no effect

Categories

(Toolkit :: Printing, defect)

defect

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox80 --- unaffected
firefox81 --- fixed
firefox82 --- fixed

People

(Reporter: Sylvestre, Assigned: jwatt)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Coverity thinks that this change:
https://hg.mozilla.org/mozilla-central/rev/12b9a9eaa01028206062824f2e585ad1862cf188#l1.92
is useless as it doesn't do anything

Maybe = true is missing?

Flags: needinfo?(sfoster)

I'll take this so sfoster can spend his time on the paper size patch. It's a trivial fix anyway.

Assignee: nobody → jwatt
Pushed by jwatt@jwatt.org:
https://hg.mozilla.org/integration/autoland/rev/9d995f20c201
Make PrintSettingsViewProxy.resolvePropertiesForPrinter use the saved printer info. r=mstriemer

(In reply to Sylvestre Ledru [:Sylvestre] from comment #0)

Coverity thinks that this change:
https://hg.mozilla.org/mozilla-central/rev/12b9a9eaa01028206062824f2e585ad1862cf188#l1.92
is useless as it doesn't do anything

Maybe = true is missing?

a tad embarrassing. I think I flubbed this when rebasing. Thanks for spotting and filing.

Flags: needinfo?(sfoster)

Sam, this is why we have linter/static analyzers ;)

I wonder why eslint didn't find it.

Mark pointed me to bug 1409693

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
Depends on: 1660527

Comment on attachment 9173656 [details]
Bug 1662769. Make PrintSettingsViewProxy.resolvePropertiesForPrinter use the saved printer info. r=mstriemer

Beta/Release Uplift Approval Request

  • User impact if declined: Printer info is not cached and gets re-queried each time the printer is re-selected in the print destination picker
  • 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: Bug 1660527
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): New print UI is functional without, this is an optimization.
  • String changes made/needed: None
Attachment #9173656 - Flags: approval-mozilla-beta?

Set release status flags based on info from the regressing bug 1660527

Comment on attachment 9173656 [details]
Bug 1662769. Make PrintSettingsViewProxy.resolvePropertiesForPrinter use the saved printer info. r=mstriemer

Approved for 81.0b6.

Attachment #9173656 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: