Drop "Lightning/version" from SeaMonkey user agent string
Categories
(SeaMonkey :: Preferences, task)
Tracking
(seamonkey2.49esr wontfix, seamonkey2.53 fixed, seamonkey2.57esr fixed)
People
(Reporter: frg, Assigned: frg)
References
Details
(Whiteboard: SM2.53.2)
Attachments
(1 file)
4.74 KB,
patch
|
iannbugzilla
:
review+
iannbugzilla
:
approval-comm-release+
iannbugzilla
:
approval-comm-esr60+
|
Details | Diff | Splinter Review |
We expose this in the prefs so this should go too.
+++ This bug was initially created as a clone of Bug #1624241 +++
I think we should just remove Lightning from the user agent string now that it's built in. Even if it were not, we should do so for privacy reasons, especially since it contains the "b1" or "a1" part of the version.
![]() |
Assignee | |
Comment 1•5 years ago
|
||
[Approval Request Comment]
Regression caused by (bug #): Backport Bug 1624241
User impact if declined: useless ui
Testing completed (on m-c, etc.): 2.53.3
Risk to taking this patch (and alternatives if risky): trivial.
String changes made by this patch: Only removals. Can be taken to 2.53.2
Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/08c6fe72312c
Drop "Lightning/version" from SeaMonkey user agent string. r=IanN
![]() |
Assignee | |
Updated•5 years ago
|
Comment 4•5 years ago
|
||
A copy of the Lightning extension is placed in the user profile. Such a copy is not updated by a newer system one (at least under Linux).
IOW, after updating of the SeaMonkey package in a distro, the dropping of "Lightning/Version" might not take effect if the user's profile still has the old copy of the extension.
Disable/enable don't help, remove and reinstall can help, but user is compelled to play with *extensions.installedDistroAddon" in about:config ...
Specifying 5.8.1.1 instead of 5.8.1 does not help too.
The robast work-around is to specify lockPref("calendar.useragent.extra", ""); somewhere in the system defaults. This drops "Lightning/Version" as well, and affects old versions too.
Is it Linux-only issues?
![]() |
Assignee | |
Comment 5•5 years ago
|
||
A copy of the Lightning extension is placed in the user profile. Such a copy is not updated by a newer system one (at least under Linux).
I thought about it when doing the patch. I don't think this is true. The Lightning version is bound to the SeaMonkey version. If you upgrade SeaMonkey from 2.53.1 to 2.53.2 Lightning should upgrade. 2.53.2 ships with 5.8.2 and will reject 5.8.1 or any lower/higher version. The problem would only occur if you run an older unofficial 2.53.2 from Bill and upgrade to the official 2.53.2. His version is already at 2.53.3 and these are all patched. But might be a good idea to add it to the release notes wich then will be ignored as usual :)
What is left is the case where a user pref is set and the string is blank. No longer used so minimal dead weight. Something for a later migration step to remove.
Comment 6•5 years ago
|
||
(In reply to Frank-Rainer Grahl (:frg) from comment #5)
The Lightning version is bound to the SeaMonkey version. If you upgrade SeaMonkey from 2.53.1 to 2.53.2 Lightning should upgrade.
Just because of another SM "main" version?
2.53.2 ships with 5.8.2 and will reject 5.8.1 or any lower/higher version.
I've tested that a patched Lightning with a bit increased vesrion (5.8.1-->5.8.1.1) does not reject/overwrite the current 5.8.1 (but under the same SM-2.53.1)
![]() |
Assignee | |
Comment 7•5 years ago
|
||
I've tested that a patched Lightning with a bit increased vesrion (5.8.1-->5.8.1.1) does not reject/overwrite the current 5.8.1 (but under the same SM-2.53.1)
Yes this is correct or better this is currently the case. IanN is looking into it and if I find some time I too. Major version changes should be picked up but minor now. During install time with a changed version it will update 5.8.1 to 5.8.2.
Description
•