Application Reputation should honor browser.safebrowsing.allowOverride
Categories
(Toolkit :: Safe Browsing, defect, P3)
Tracking
()
People
(Reporter: francois, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug)
Attachments
(1 file, 1 external file)
|
40.62 KB,
image/png
|
Details |
| Reporter | ||
Updated•10 years ago
|
| Reporter | ||
Updated•10 years ago
|
Comment 1•8 years ago
|
||
| Reporter | ||
Updated•8 years ago
|
Updated•7 years ago
|
| Reporter | ||
Comment 3•7 years ago
|
||
Essentially, if that pref is enabled, then the UI for ignoring a blocked download should not be available.
If you have any other questions, please NI :dimi since I'm no longer working on Firefox.
Comment 4•7 years ago
|
||
Comment 5•7 years ago
|
||
(In reply to Manish [:manishkk] from comment #4)
:dimi
Comment 3 by Francois already explained the idea of this bug, if you still have any question, you can ask and ni me again
Comment 6•7 years ago
|
||
I got only these 2 lines where pref is true.
https://searchfox.org/mozilla-central/source/browser/components/safebrowsing/content/test/browser_bug400731.js#50
https://searchfox.org/mozilla-central/source/modules/libpref/init/all.js#5596
These should be 'false' or anything else?
Comment 7•7 years ago
|
||
(In reply to Manish [:manishkk] from comment #6)
I got only these 2 lines where pref is true.
https://searchfox.org/mozilla-central/source/browser/components/safebrowsing/content/test/browser_bug400731.js#50
https://searchfox.org/mozilla-central/source/modules/libpref/init/all.js#5596These should be 'false' or anything else?
No, this bug doesn't mean to change the preference. Instead, we should honor the value of the preference.
That means you will need to find out where to disable the UX checkbox to "uncheck block download"
Updated•6 years ago
|
Comment 8•6 years ago
|
||
Hello, May I work on this?
Comment 10•6 years ago
|
||
Is it this?
Comment 11•6 years ago
|
||
Updated•6 years ago
|
Comment 12•6 years ago
|
||
(In reply to Jayati Shrivastava from comment #10)
Created attachment 9138299 [details]
checbox.pngIs it this?
Yes! Thank you for your help
Updated•6 years ago
|
Comment 13•5 years ago
|
||
This good-first-bug hasn't had any activity for 6 months, it is automatically unassigned.
For more information, please visit auto_nag documentation.
Updated•4 years ago
|
Comment 14•2 months ago
|
||
The request in comment 0 — not offering the unblock action on a blocked download when browser.safebrowsing.allowOverride is false — landed in bug 1894373 ("Setting DisableSecurityBypass->Safebrowsing to false should remove the 'Allow download' button"), fixed 2026-05-27.
Current state in mozilla-central:
browser/components/downloads/content/downloads.js#1755setsunblockButton.hiddenwhen the pref is false.browser/components/downloads/DownloadsViewUI.sys.mjs#211and #1114 gate the unblock affordance on the same pref via thesafeBrowsingAllowOverridelazy getter.
Note that comment 7 onwards drifted toward a different ask: disabling the "Block dangerous and deceptive content" checkboxes in about:preferences. That is separate from comment 0, and enterprise policy already locks those prefs (Policies.sys.mjs#1321). If it is still wanted, it should be filed as its own bug rather than kept here.
Description
•