Closed Bug 1661838 Opened 4 years ago Closed 4 years ago

Building with --disable-printing is broken

Categories

(Core :: Printing: Setup, defect)

defect

Tracking

()

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

People

(Reporter: fabrice, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Regressed by https://bugzilla.mozilla.org/show_bug.cgi?id=1661388 changes to nsGlobalWindowOuter.cpp

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

I can take this. What are you using --disable-printing for?

Assignee: nobody → emilio
Flags: needinfo?(fabrice)

(So I don't forget to fix it this week)

Flags: needinfo?(emilio)

(In reply to Emilio Cobos Álvarez (:emilio) from comment #2)

I can take this. What are you using --disable-printing for?

b2g builds for KaiOS.

Flags: needinfo?(fabrice)

(In reply to [:fabrice] Fabrice Desré from comment #4)

b2g builds for KaiOS.

Does it have a big enough code-size impact that it warrants disabling? Android just disables window.print at runtime, and stubs the print service.

Flags: needinfo?(fabrice)
Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0f3afede4904
Fix builds with --disable-printing. r=jwatt
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch

Comment on attachment 9173677 [details]
Bug 1661838 - Fix builds with --disable-printing. r=#layout-reviewers

Beta/Release Uplift Approval Request

  • User impact if declined: --disable-printing being broken for builds other people create. maybe also small chance of conflict with other patches we need.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky):
  • String changes made/needed:
Attachment #9173677 - Flags: approval-mozilla-beta?

Comment on attachment 9173677 [details]
Bug 1661838 - Fix builds with --disable-printing. r=#layout-reviewers

Approved for 81.0b6.

Attachment #9173677 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

(In reply to Emilio Cobos Álvarez (:emilio) from comment #5)

(In reply to [:fabrice] Fabrice Desré from comment #4)

b2g builds for KaiOS.

Does it have a big enough code-size impact that it warrants disabling? Android just disables window.print at runtime, and stubs the print service.

I don't know the code size impact, but I would say that if there's a build time flag it should work :) Thanks for fixing it anyway!

Flags: needinfo?(fabrice)
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: