Closed Bug 1286627 Opened 8 years ago Closed 8 years ago

about:preferences#general broken with --disable-gio since 46.0

Categories

(Firefox :: Shell Integration, defect)

46 Branch
Unspecified
FreeBSD
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 51
Tracking Status
firefox47 --- wontfix
firefox48 --- wontfix
firefox49 --- fixed
firefox-esr45 --- unaffected
firefox50 --- fixed
firefox51 --- verified

People

(Reporter: jbeich, Assigned: jaws)

References

Details

(Keywords: regression, Whiteboard: [qx:p-])

Attachments

(2 files)

Attached image general.png
Opening Preferences shows General tab full of empty fields for a wrong tab. Trying to switch away and back fails as General tab doesn't refresh. Browser Console has the following lines:

  Error initializing preference category paneGeneral: TypeError: target.shellService is undefined
  TypeError: target.shellService is undefined

Backing out bug 1238712 helps, so does dropping --disable-gio from .mozconfig.
See Also: → 1287288
On Firefox 48 and higher this bug while still present is shadowed by bug 1287288.
Whiteboard: [qx:p-]
jaws, can you take a look here at what broke FreeBSD's builds?  Maybe not for the beta 49 timeframe, but if we intend to fix this then I'd like to stop triaging it during every beta and aim for a particular release version. Thanks!
Flags: needinfo?(jaws)
According to https://bugzilla.mozilla.org/show_bug.cgi?id=1287288#c9 we may kill the --disable-gio option, but it wouldn't hurt to make this code change anyways.
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Flags: needinfo?(jaws)
Comment on attachment 8783761 [details]
Bug 1286627 - Check for undefined shell service before dereferencing it in the ShellService proxy. Linux builds that disable gio do not have the shell service defined and the proxy was throwing.

https://reviewboard.mozilla.org/r/73450/#review71360
Attachment #8783761 - Flags: review?(gijskruitbosch+bugs) → review+
Pushed by gijskruitbosch@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/a759a1704791
Check for undefined shell service before dereferencing it in the ShellService proxy. Linux builds that disable gio do not have the shell service defined and the proxy was throwing. r=Gijs
https://hg.mozilla.org/mozilla-central/rev/a759a1704791
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 51
Jan, can you test that the change in this bug fixes your build for you?
Flags: needinfo?(jbeich)
I confirm, a759a1704791 fixes both comment 0 (here) and bug 1287288 comment 0.
Flags: needinfo?(jbeich)
Blocks: 1287288
See Also: 1287288
Thanks Jan, sorry for taking so long on this.
Status: RESOLVED → VERIFIED
Comment on attachment 8783761 [details]
Bug 1286627 - Check for undefined shell service before dereferencing it in the ShellService proxy. Linux builds that disable gio do not have the shell service defined and the proxy was throwing.

Approval Request Comment
[Feature/regressing bug #]: bug 1238712
[User impact if declined]: Firefox crashes on startup when built with --disable-gio. We can drop support for --disable-gio going forward but as it stands now it would be a good idea to uplift this to fix the other branches.
[Describe test coverage new/current, TreeHerder]: Landed on central for a few days and verified by bug reporter.
[Risks and why]: none expected
[String/UUID change made/needed]: none
Attachment #8783761 - Flags: approval-mozilla-beta?
Attachment #8783761 - Flags: approval-mozilla-aurora?
Comment on attachment 8783761 [details]
Bug 1286627 - Check for undefined shell service before dereferencing it in the ShellService proxy. Linux builds that disable gio do not have the shell service defined and the proxy was throwing.

Fixes a regression, Aurora50+
Attachment #8783761 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment on attachment 8783761 [details]
Bug 1286627 - Check for undefined shell service before dereferencing it in the ShellService proxy. Linux builds that disable gio do not have the shell service defined and the proxy was throwing.

Verified fix for build regression, sounds good to me.
Thanks for fixing and testing everyone! This should be in the 49 beta 9 build.
Attachment #8783761 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Version: 47 Branch → 46 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: