Closed
Bug 1185568
Opened 9 years ago
Closed 9 years ago
Disabling health reporter and metrics breaks the Back button
Categories
(Firefox :: Tours, defect)
Tracking
()
RESOLVED
FIXED
Firefox 42
Tracking | Status | |
---|---|---|
firefox42 | --- | fixed |
People
(Reporter: neil, Assigned: neil)
Details
Attachments
(1 file)
1.33 KB,
patch
|
gfritzsche
:
review+
|
Details | Diff | Splinter Review |
If you customise your local build to disable health reporter and metrics then the Back button no longer works. This appears to be because UITour.jsm unconditionally tries to load Metrics.jsm in order to define the DAILY_DISCRETE_TEXT_FIELD constant which never gets used (because the health reporter is disabled). (The fact that UITour.jsm uses a lazy getter is not much use when the module is needed for a top-level constant.) However other parts of the browser try to load UITour.jsm and therefore fail.
Comment 1•9 years ago
|
||
(In reply to neil@parkwaycc.co.uk from comment #0) > If you customise your local build to disable health reporter and metrics > then the Back button no longer works. Is this is a supported configuration? If not, I would take a straightforward patch otherwise this is WONTFIX until a patch appears.
Flags: needinfo?(gfritzsche)
Assignee | ||
Comment 2•9 years ago
|
||
Well, I can work around the problem by #ifdefing the definition of UITourMetricsProvider but I'm not sure whether to use MOZ_SERVICES_HEALTHREPORT or MOZ_SERVICES_METRICS.
Comment 3•9 years ago
|
||
(In reply to Matthew N. [:MattN] from comment #1) > (In reply to neil@parkwaycc.co.uk from comment #0) > > If you customise your local build to disable health reporter and metrics > > then the Back button no longer works. > > Is this is a supported configuration? Hm, i'm not sure if we have to support this for any distributions. In general we are working with the assumption that data recording is always available on desktop (to power selfsupport and potentially other features). I thought we have the flags for other products etc., but i'd have to investigate that. (In reply to neil@parkwaycc.co.uk from comment #2) > Well, I can work around the problem by #ifdefing the definition of > UITourMetricsProvider but I'm not sure whether to use > MOZ_SERVICES_HEALTHREPORT or MOZ_SERVICES_METRICS. FWIW, MOZ_SERVICES_HEALTHREPORT is fine here.
Flags: needinfo?(gfritzsche)
Assignee | ||
Comment 4•9 years ago
|
||
I moved the definition of DAILY_DISCRETE_TEXT_FIELD so it would all fall under the same #ifdef.
Attachment #8637885 -
Flags: review?(gfritzsche)
Updated•9 years ago
|
Attachment #8637885 -
Flags: review?(gfritzsche) → review+
Updated•9 years ago
|
Assignee: nobody → neil
Status: NEW → ASSIGNED
Comment 5•9 years ago
|
||
Thanks Neil.
Assignee | ||
Comment 6•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b02f91b29878
https://hg.mozilla.org/mozilla-central/rev/b02f91b29878
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox42:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 42
You need to log in
before you can comment on or make changes to this bug.
Description
•