Closed
Bug 1411867
Opened 7 years ago
Closed 7 years ago
Linux repacks detected as unofficial builds
Categories
(Firefox :: New Tab Page, defect)
Firefox
New Tab Page
Tracking
()
RESOLVED
FIXED
Firefox 59
People
(Reporter: Dexter, Assigned: Mardak)
References
Details
User Story
Attachments
(1 file)
(deleted),
text/x-review-board-request
|
k88hudson
:
review+
gchang
:
approval-mozilla-beta+
|
Details |
While working on some bug, I stumbled upon this [1] line of code that tries to determine whether a build is a local developer build or not:
> const IS_UNOFFICIAL_BUILD = Services.prefs.getStringPref("app.update.channel") === "default";
I think this should be done by checking MOZILLA_OFFICIAL [2] and not the channel. There are some official Linux repacks (and there might be other cases) that leave the channel name as "default" and this could would misinterpret these cases [3].
[1] - http://searchfox.org/mozilla-central/rev/dd47bee6468de7e1221b4d006342ad6b9813d0e5/browser/extensions/activity-stream/lib/ActivityStreamPrefs.jsm#80
[2] - http://searchfox.org/mozilla-central/source/toolkit/modules/AppConstants.jsm#42
[3] - https://sql.telemetry.mozilla.org/queries/47690#table
Assignee | ||
Updated•7 years ago
|
Comment 1•7 years ago
|
||
Ed, is this something that should be tracked for 57?
Flags: needinfo?(edilee)
Assignee | ||
Comment 2•7 years ago
|
||
I noted in https://github.com/mozilla/activity-stream/issues/3769 that the only pref that relies on this behavior is the telemetry pref (browser.newtabpage.activity-stream.telemetry). So that means we won't get data from these types of repacks.
Dexter, any idea how widespread this might be? E.g., total number of users?
Flags: needinfo?(edilee) → needinfo?(alessio.placitelli)
Reporter | ||
Comment 3•7 years ago
|
||
(In reply to Ed Lee :Mardak from comment #2)
> I noted in https://github.com/mozilla/activity-stream/issues/3769 that the
> only pref that relies on this behavior is the telemetry pref
> (browser.newtabpage.activity-stream.telemetry). So that means we won't get
> data from these types of repacks.
>
> Dexter, any idea how widespread this might be? E.g., total number of users?
I'm not sure off the top of my head, sorry :( I don't think this is urgent FWIW, but I think it's still worth fixing.
Flags: needinfo?(alessio.placitelli)
Reporter | ||
Comment 4•7 years ago
|
||
For example, I'm sure this affects Fedora users (but it doesn't affect Ubuntu users).
Updated•7 years ago
|
status-firefox57:
--- → wontfix
Assignee | ||
Comment 5•7 years ago
|
||
Fixed by https://github.com/mozilla/activity-stream/pull/3844 to be uplifted via bug 1415812.
Assignee: nobody → edilee
Blocks: 1415812
Assignee | ||
Comment 6•7 years ago
|
||
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 59
Updated•7 years ago
|
Comment 7•7 years ago
|
||
Bug 1415812 has been uplifted to 58. We should not mark 58 fixed.
Comment 8•7 years ago
|
||
Sorry for typo in comment #7. What I meant is bug 1415812 has not been uplift to 58.
Assignee | ||
Comment 9•7 years ago
|
||
gchang says this bug has missed 58.0b8. It doesn't have a patch with beta approval flag. Please attach the appropriate patch without install.rdf.in changes and request approval ASAP.
Flags: needinfo?(andrei.br92)
Comment hidden (mozreview-request) |
Comment 11•7 years ago
|
||
Comment on attachment 8933376 [details]
Bug 1411867 - Linux repacks detected as unofficial builds.
Approval Request Comment
[Feature/Bug causing the regression]: https://github.com/mozilla/activity-stream/commit/59d8e5e1e72d3496535392d2f484b8b413f71ea6
[User impact if declined]: incorrect telemetry data for subset of linux distros
[Is this code covered by automated tests?]: yes
[Has the fix been verified in Nightly?]: yes
[Needs manual test from QE? If yes, steps to reproduce]: no
[List of other uplifts needed for the feature/fix]:
[Is the change risky?]: no
[Why is the change risky/not risky?]: change only affects telemetry
[String changes made/needed]: no
Flags: needinfo?(andrei.br92)
Attachment #8933376 -
Flags: approval-mozilla-beta?
Comment 12•7 years ago
|
||
mozreview-review |
Comment on attachment 8933376 [details]
Bug 1411867 - Linux repacks detected as unofficial builds.
https://reviewboard.mozilla.org/r/204298/#review209878
R+
Attachment #8933376 -
Flags: review?(khudson) → review+
Comment 13•7 years ago
|
||
Comment on attachment 8933376 [details]
Bug 1411867 - Linux repacks detected as unofficial builds.
Fix an incorrect telemetry colletion issue. Beta58+.
Attachment #8933376 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 14•7 years ago
|
||
bugherder uplift |
Flags: in-testsuite+
Assignee | ||
Updated•7 years ago
|
User Story: (updated)
Updated•5 years ago
|
Component: Activity Streams: Newtab → New Tab Page
You need to log in
before you can comment on or make changes to this bug.
Description
•