Closed Bug 1368211 Opened 7 years ago Closed 7 years ago

GConf warning during headless marionette test

Categories

(Firefox :: Headless, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 56
Tracking Status
firefox56 --- fixed

People

(Reporter: bdahl, Assigned: bdahl)

Details

Attachments

(1 file)

Running a marionette test in headless mode I see:

(firefox:25123): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
/usr/bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed

JS stack from g_log:

0 isDefaultBrowser(startupCheck = false, forAllTypes = true) ["resource:///modules/ShellService.jsm":91]
    <failed to get 'this' value>
1 _isDefaultBrowser() ["resource://gre/modules/TelemetryEnvironment.jsm":1239]
    this = [object Object]
2 _updateSettings() ["resource://gre/modules/TelemetryEnvironment.jsm":1275]
    this = [object Object]
3 EnvironmentCache() ["resource://gre/modules/TelemetryEnvironment.jsm":798]
    this = [object Object]
4 getGlobal() ["resource://gre/modules/TelemetryEnvironment.jsm":57]
5 get currentEnvironment() ["resource://gre/modules/TelemetryEnvironment.jsm":64]
    this = [object Object]
6 annotateEnvironment() ["file:///home/bdahl/projects/gecko/obj.debug.noindex/dist/bin/components/TelemetryStartup.js":42]
7 TelemetryStartup.prototype.observe(aSubject = null, aTopic = "profile-after-change", aData = "") ["file:///home/bdahl/projects/gecko/obj.debug.noindex/dist/bin/components/TelemetryStartup.js":32]
    this = [object Object]
Attachment #8885040 - Flags: review?(jmuizelaar) → review+
Pushed by bdahl@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/35eb832df41b
Don't create gnome shell service in headlesss mode. r=jrmuizel
https://hg.mozilla.org/mozilla-central/rev/35eb832df41b
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 56
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: