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

NEW
Unassigned

Status

()

defect
P5
normal
2 years ago
26 days ago

People

(Reporter: myk, Unassigned)

Tracking

47 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

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