Closed
Bug 1168931
Opened 10 years ago
Closed 10 years ago
environment.settings.defaultSearchEngine field missing from Telemetry
Categories
(Toolkit :: Telemetry, defect)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
mozilla41
People
(Reporter: vladan, Assigned: Dexter)
References
Details
(Whiteboard: [uplift])
Attachments
(1 file, 1 obsolete file)
2.87 KB,
patch
|
Dexter
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Sometimes the defaultSearchEngine field is missing from about:telemetry and the Telemetry pings. I see this on an updated Nightly e10s profile.
The browser was up for several days. No errors in devtools console. Default search settings. I am using dom.ipc.processCount > 1 on this e10s profile but it seems unrelated
This is what i see in about:telemetry#Environment/settings
Name Value
blocklistEnabled true
isDefaultBrowser false
e10sEnabled true
telemetryEnabled true
locale en-US
update.channel nightly
update.enabled true
update.autoDownload true
userPrefs.browser.cache.disk.capacity 358400
userPrefs.browser.newtabpage.enhanced true
userPrefs.browser.shell.checkDefaultBrowser false
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → alessio.placitelli
Assignee | ||
Comment 1•10 years ago
|
||
The "settings" section of the Environment was getting overwritten on preferences change, basically discarding the defaultSearchEngine.
This patch fixes the issue and adds test coverage.
Attachment #8612292 -
Flags: review?(gfritzsche)
Updated•10 years ago
|
Status: NEW → ASSIGNED
OS: Unspecified → All
Hardware: Unspecified → All
Comment 2•10 years ago
|
||
Comment on attachment 8612292 [details] [diff] [review]
bug1168931.patch
Review of attachment 8612292 [details] [diff] [review]:
-----------------------------------------------------------------
::: toolkit/components/telemetry/TelemetryEnvironment.jsm
@@ +981,5 @@
> autoDownload: Preferences.get(PREF_UPDATE_AUTODOWNLOAD, true),
> },
> userPrefs: this._getPrefData(),
> };
> + this._updateSearchEngine();
Nit: Empty line before that.
Attachment #8612292 -
Flags: review?(gfritzsche) → review+
Assignee | ||
Comment 3•10 years ago
|
||
Thanks Georg!
Attachment #8612292 -
Attachment is obsolete: true
Attachment #8612316 -
Flags: review+
Assignee | ||
Comment 4•10 years ago
|
||
Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=ebeee6ed18f8 (also covers bug 1165304)
Comment 6•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
Updated•9 years ago
|
status-firefox40:
--- → affected
Whiteboard: [uplift]
Comment 7•9 years ago
|
||
Comment on attachment 8612316 [details] [diff] [review]
bug1168931.patch -v2
Approval Request Comment
[Feature/regressing bug #]:
Unified Telemetry, https://wiki.mozilla.org/Unified_Telemetry
This is part of the first (main) batch of uplifts to 40 to enable shipping on that train, see bug 1120356, comment 2.
[User impact if declined]:
Data & measurement insight projects delayed or blocked with direct impact on projects depending on this.
[Describe test coverage new/current, TreeHerder]:
We have good automation coverage of the feature.
We also had manual tests of the main tasks as well as confirmation of correct behavior on Nightly for the patches here.
[Risks and why]:
Low-risk - these patches are rather isolated to Telemetry and have been on Nightly for a while with no bad reports.
We intend to track on-going data quality and other issues during the 40 aurora & beta and flip the new behavior off when it doesn't meet the requirements.
[String/UUID change made/needed]:
The only string changes were to the about:telemetry page.
We decided that we can live with missing translations on that page for a cycle as that page is not exactly user-facing.
Attachment #8612316 -
Flags: approval-mozilla-aurora?
Comment 8•9 years ago
|
||
Comment on attachment 8612316 [details] [diff] [review]
bug1168931.patch -v2
Unified telemetry is an important new feature. It is blocking some other projects. Taking it.
Attachment #8612316 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 9•9 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•