Closed
Bug 1366496
Opened 8 years ago
Closed 8 years ago
Switch usages of browser.safebrowsing.enabled to browser.safebrowsing.phishing.enabled after bug 1025965
Categories
(SeaMonkey :: Security, enhancement)
Tracking
(seamonkey2.48? fixed, seamonkey2.49esr fixed, seamonkey2.50 wontfix, seamonkey2.51 fixed, seamonkey2.52 fixed)
RESOLVED
FIXED
seamonkey2.52
People
(Reporter: rsx11m.pub, Assigned: rsx11m.pub)
Details
Attachments
(2 files)
4.58 KB,
patch
|
frg
:
review+
frg
:
feedback+
iannbugzilla
:
approval-comm-release+
|
Details | Diff | Splinter Review |
5.02 KB,
patch
|
frg
:
review+
iannbugzilla
:
approval-comm-beta+
iannbugzilla
:
approval-comm-release+
iannbugzilla
:
approval-comm-esr52+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1025965 +++
"In bug 1025358, the reporter believed that setting the pref browser.safebrowsing.enabled to false would disable safebrowsing entirely, whereas in fact it only controls the safebrowsing phishing protection, and browser.safebrowsing.malware.enabled needed to be set to false too."
Consequently, browser.safebrowsing.enabled was renamed browser.safebrowsing.phishing.enabled for consistency. We are now exposing the wrong pref in the Privacy & Security prefpane and for sync.
This issue affects 2.48 already but should definitely be fixed for 2.49.x (checkbox "Block reported web forgeries" is /not/ checked despite being enabled, no way to disable through prefpane).
No other change necessary to make this work again.
![]() |
||
Comment 2•8 years ago
|
||
Comment on attachment 8869736 [details] [diff] [review]
Straight-forward fix [2.48 only]
Looks good.
I added a _migrateUI to nsSuiteGlue.js in bug 1331477 to avoid running migrations every time on startup. How about bumping the version to 2 and putting the new pref copy in there? f+ for now.
Attachment #8869736 -
Flags: feedback+
The other migrations should go there as well, let's do this in a follow-up bug as suggested over IRC?
On the other hand, you are right; to avoid confusion with the old migration code to be moved in the follow-up bug, I shouldn't change it as this would be UI version #0. Thus, moving this to _migrateUI() as suggested and bumping the version to keep everything consistent from now on.
[Approval Request Comment]
Regression caused by (bug #): bug 1025965
User impact if declined: security pref not observed if other than default, unusable UI
Testing completed (on m-c, etc.): works on 2.48b1
Risk to taking this patch (and alternatives if risky): low
String changes made by this patch: none
Attachment #8869736 -
Attachment is obsolete: true
Attachment #8869736 -
Flags: review?(frgrahl)
Attachment #8869825 -
Flags: review?(frgrahl)
Attachment #8869825 -
Flags: approval-comm-release?
Attachment #8869825 -
Flags: approval-comm-esr52?
Attachment #8869825 -
Flags: approval-comm-beta?
(In reply to rsx11m from comment #3)
> The other migrations should go there as well, let's do this in a follow-up
> bug as suggested over IRC?
Filed bug 1366593.
(In reply to rsx11m from comment #4)
> Testing completed (on m-c, etc.): works on 2.48b1
Not quite, actually - needs bug 1331477 attachment 8838931 [details] [diff] [review] to work properly.
As fallback, we could use attachment 8869736 [details] [diff] [review] for the 2.48 release.
Still weird - it gets to setting suite.migration.version = 2 with both patches from bug 1331477 applied in a /new/ profile but not in an old one. Does the suite.migration.version = 1 migration apply to 2.48 already or only to 2.49?
If that's the case, let's indeed go with attachment 8869736 [details] [diff] [review] for 2.48 off comm-release.
Comment on attachment 8869736 [details] [diff] [review]
Straight-forward fix [2.48 only]
(Quoting rsx11m from bug 1331477 comment #21)
> Ok, so bug 1329494 and bug 1330640 landed on 52.0+ only, so this shouldn't
> apply for 51.0 = SM 2.48. Sorry for the noise...
Meaning, we still need *this* version for 2.48 given that _migrateUI() doesn't exist yet.
Attachment #8869736 -
Attachment description: Straight-forward fix → Straight-forward fix [2.48 only]
Attachment #8869736 -
Attachment is obsolete: false
Attachment #8869736 -
Flags: review?(frgrahl)
Attachment #8869736 -
Flags: approval-comm-release?
Attachment #8869825 -
Flags: approval-comm-release?
Comment on attachment 8869736 [details] [diff] [review]
Straight-forward fix [2.48 only]
On a third thought, the issue here started to apply to 2.47 first, thus logically before bug 1331477, and as such can be categorized as a "pre-2.49" migration to be put in _updatePrefs().
Thus, one could argue that attachment 8869736 [details] [diff] [review] should be applied to /all/ branches (which also makes the fix consistent among branches), then bug 1331477 goes on top of that, followed by bug 1366593 (the patch there can be easily un-unbitrotted).
Anyway, so whatever you (frg and IanN) decide, I'm flexible. Please set approval flags as you see fit.
![]() |
||
Updated•8 years ago
|
Attachment #8869736 -
Flags: review?(frgrahl) → review+
![]() |
||
Comment 10•8 years ago
|
||
Comment on attachment 8869825 [details] [diff] [review]
Use _migrateUI() instead
Thanks. One NIT comment in nsSuiteGlue.js should end with a fullstop.
I need to do 3 checkins and will add this one when the trees are open. I will fix it with the checkin.
Attachment #8869825 -
Flags: review?(frgrahl) → review+
![]() |
||
Comment 11•8 years ago
|
||
https://hg.mozilla.org/comm-central/rev/2adf96bc4bf9690ed1da624951c990d8c69dbab8
Wontfix for 2.50 or not?
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.52
![]() |
Assignee | |
Comment 12•8 years ago
|
||
(In reply to Frank-Rainer Grahl from comment #11)
> https://hg.mozilla.org/comm-central/rev/2adf96bc4bf9690ed1da624951c990d8c69dbab8
Thanks!
> Wontfix for 2.50 or not?
Yes, the c-r request on attachment 8869736 [details] [diff] [review] is for the 2.48 release branch, unless IanN wants to have it on the default branch as well (which I'd think is redundant at this point).
![]() |
||
Comment 13•8 years ago
|
||
Thought so. Just wanted to be sure. 2.50 is good for nothing at this point with the broken TB and our mail locales.
Comment 14•8 years ago
|
||
Comment on attachment 8869736 [details] [diff] [review]
Straight-forward fix [2.48 only]
Assuming we do a 2.48 release a=me
Attachment #8869736 -
Flags: approval-comm-release? → approval-comm-release+
Comment 15•8 years ago
|
||
Comment on attachment 8869825 [details] [diff] [review]
Use _migrateUI() instead
[Triage Comment]
a=me for all repos
Attachment #8869825 -
Flags: approval-comm-release+
Attachment #8869825 -
Flags: approval-comm-esr52?
Attachment #8869825 -
Flags: approval-comm-esr52+
Attachment #8869825 -
Flags: approval-comm-beta?
Attachment #8869825 -
Flags: approval-comm-beta+
![]() |
Assignee | |
Comment 16•8 years ago
|
||
Comment on attachment 8869736 [details] [diff] [review]
Straight-forward fix [2.48 only]
Pushed on SEA248b1_2017021701_RELBRANCH
https://hg.mozilla.org/releases/comm-release/rev/99c5e35f2ea3
ewong: please transplant as necessary if a new relbranch is opened
Flags: needinfo?(ewong)
![]() |
Assignee | |
Comment 17•8 years ago
|
||
Comment on attachment 8869825 [details] [diff] [review]
Use _migrateUI() instead
https://hg.mozilla.org/releases/comm-beta/rev/6b3779b32c4a
https://hg.mozilla.org/releases/comm-esr52/rev/67506db1dbfb
tracking-seamonkey2.49esr:
? → ---
![]() |
||
Updated•8 years ago
|
Flags: needinfo?(ewong)
![]() |
Assignee | |
Comment 18•8 years ago
|
||
Comment on attachment 8869736 [details] [diff] [review]
Straight-forward fix [2.48 only]
Relanded on SEA_COMM510_20170330_RELBRANCH by frg,
https://hg.mozilla.org/releases/comm-release/rev/648006aa3339
You need to log in
before you can comment on or make changes to this bug.
Description
•