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

NEW
Unassigned

Status

()

Core
Printing: Setup
2 years ago
2 years ago

People

(Reporter: bobowen, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(firefox48 affected)

Details

(Reporter)

Description

2 years ago
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
You need to log in before you can comment on or make changes to this bug.