Closed Bug 1256014 Opened 8 years ago Closed 4 years ago

GetGlobalPrintSettings creates a new nsIPrintSettings each time contrary to IDL comment.

Categories

(Core :: Printing: Setup, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
firefox48 --- affected

People

(Reporter: bobowen, Assigned: jwatt)

Details

See IDL comment at [1] and implementation at [2].

Hesitant about fixing this straight away, because we might rely on the current behaviour and there is a lack of printing test coverage.

[1] https://dxr.mozilla.org/mozilla-central/rev/946ed22cad04431c75ab5093989dfedf1bae5a3e/widget/nsIPrintSettingsService.idl#18
[2] https://dxr.mozilla.org/mozilla-central/rev/946ed22cad04431c75ab5093989dfedf1bae5a3e/widget/nsPrintOptionsImpl.cpp#1027
Assignee: nobody → jwatt
Status: NEW → ASSIGNED

Fixed by bug 1667265.

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.