Closed Bug 1669723 Opened 5 years ago Closed 5 years ago

Stop unnecessarily catching exceptions from nsIPrintSettingsService.lastUsedPrinterName

Categories

(Toolkit :: Printing, task, P3)

task

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: jwatt, Assigned: jwatt)

Details

(Whiteboard: [print2020_v83])

Attachments

(1 file)

I'd like to have the PrintUtils._getLastUsedPrinterName code do something different to help fix some of our print regressions, but of the two callers, the change wouldn't be appropriate for the print.js caller. It doesn't seem like this function even needs to exist though since nsIPrintSettingsService.lastUsedPrinterName never throws (it just returns an empty string on failure). I'm spinning its removal off into this separate bug.

Assignee: nobody → jwatt
Status: NEW → ASSIGNED
Whiteboard: [print2020_v83]
Pushed by jwatt@jwatt.org: https://hg.mozilla.org/integration/autoland/rev/1e7aade0b8e5 Stop unnecessarily catching exceptions from nsIPrintSettingsService.lastUsedPrinterName. r=mstriemer
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: