Closed Bug 1770211 Opened 2 years ago Closed 2 years ago

Stop creating platform specific nsIDeviceContextSpec objects in content processes

Categories

(Core :: Printing: Setup, defect)

defect

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: jwatt, Assigned: jwatt)

References

Details

Attachments

(5 files)

No description provided.
Summary: Remove nsDeviceContextSpecWin::GetPrintingScale → Stop creating platform specific nsIDeviceContextSpec objects in content processes
Assignee: nobody → jwatt
Status: NEW → ASSIGNED

Bob, I was surprised we don't seem to have a bug on this already. Should this be marked as blocking a sandboxing meta bug (which?)?

Flags: needinfo?(bobowencode)
Blocks: 1754308

Not quite sure what this is blocking sandbox-wise.
On windows at least, I think we perhaps don't use the parts of the nsIDeviceContextSpec that cause issues in the content process.

Flags: needinfo?(bobowencode)
Pushed by jwatt@jwatt.org:
https://hg.mozilla.org/integration/autoland/rev/c030fe3a9ad2
p1 - Use nsIPrintSettings for nsDeviceContextSpecGTK::mPrintSettings. r=bobowen
https://hg.mozilla.org/integration/autoland/rev/7736312d3abe
p2 - Move mPrintSettings up from nsIDeviceContextSpec's subclasses. r=bobowen
https://hg.mozilla.org/integration/autoland/rev/8f03182df8da
p3 - Move mPrintViaSkPDF up from nsIDeviceContextSpec's subclasses. r=bobowen
https://hg.mozilla.org/integration/autoland/rev/8994ad564a6c
p4 - Move platform specific nsIDeviceContextSpec::GetPrintingScale/GetPrintingTranslate implementations up. r=bobowen
https://hg.mozilla.org/integration/autoland/rev/dca7fdadb4c7
p5 - Stop creating platform specific nsIDeviceContextSpec objects in content processes. r=bobowen
Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: