Open Bug 1372998 Opened 7 years ago Updated 1 year ago

don't require X11, GTK+, and (if possible) GLib in headless mode

Categories

(Firefox :: Headless, defect, P5)

47 Branch
defect

Tracking

()

People

(Reporter: myk, Unassigned)

References

Details

Over in the qbrt project, I found that a Linux system running tests headlessly still needed the libgtk-3-0, libdbus-glib-1-2, and xvfb packages to be installed in order for Firefox to run <https://github.com/mozilla/qbrt/pull/103>.

GLib may be unavoidable, but GTK+ and especially Xvfb (and any another X11 implementation) should be optional for Linux systems that run Firefox headlessly.
To make this work we'd either have to split the GTK widget code out into a separate shared library so that libxul doesn't link to these libraries, and dynamically load it when we're not in headless mode, or dynamically load all of the shared libraries in question, which would also involve some invasive work on the GTK widget code.
Priority: -- → P5
Any time table on this one? Just wondering if this is on the road map or is not slated for work any time soon.
(In reply to NIcholas DiPiazza from comment #3)
> Any time table on this one? Just wondering if this is on the road map or is
> not slated for work any time soon.

There are currently no immediate plans to work on this.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.