URLBar Interventions should honor policy (and be able to be disabled by policy)
Categories
(Firefox :: Address Bar, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox74 | --- | unaffected |
firefox75 | + | verified |
firefox76 | --- | verified |
People
(Reporter: mkaply, Assigned: mkaply)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
Currently URLBar Interventions tells users they can refresh Firefox, but if refresh has been turned off by policy, they cannot.
The same is true of the update policy. If update is turned off, that policy should not show.
Any interventions that intersect with policy should check policy to see if they should be displayed.
In addition, we should provide a policy to completely turn off interventions. This can go in the new "UserMessaging" section of policy.
Comment 1•4 years ago
|
||
We also have tips, for when you are on the new tab page, or you visit a default search engine home page, suggesting to search in the urlbar, but those already respect browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features... Do we have a policy setting that pref?
Comment 2•4 years ago
|
||
[Tracking Requested - why for this release]: Kaply said we would like to have this policy in 75.
Assignee | ||
Comment 3•4 years ago
|
||
Yes, we already have a policy for that.
Although Somehow I got the policy backwards. No idea how that made it past folks. I'll fix that when I add this.
Comment 4•4 years ago
|
||
Actually, we have a temporary pref to disable interventions, but not a pref that is going to stay forever... This may need to add one.
Updated•4 years ago
|
Assignee | ||
Comment 5•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 6•4 years ago
|
||
for release 75, but should not block the 74 experiment.
Pushed by mozilla@kaply.com: https://hg.mozilla.org/integration/autoland/rev/c92b88921940 Add policy for URL bar interventions. r=mak
Comment 9•4 years ago
|
||
bugherder |
Assignee | ||
Comment 10•4 years ago
|
||
Comment on attachment 9132371 [details]
Bug 1620299 - Add policy for URL bar interventions. r?mak
Beta/Release Uplift Approval Request
- User impact if declined: Enterprises can't disable urlbar messages (and some messages relate to things that won't work)
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: Add a policy like this:
{
"policies": {
"UserMessaging": {
"UrlbarInterventions": false
}
}
}
Verify that when you type refresh Firefox or download Firefox, no messages show up
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Mainly policy related.
- String changes made/needed:
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 11•4 years ago
•
|
||
Additional steps to comment 10, in case someone else will want to verify this:
- Create a folder called "distribution" in the directory where Fx is installed. (while firefox closed)
- Create a file policies.json in which you add the policy from comment 10. (while firefox closed)
- Fire up firefox.
- type any intervention into the address bar: e.g.: update firefox, cache firefox, refresh firefox or any of the keywords listed here
Verified as fixed on:
Windows 10
Ubuntu 18.04
macOS 10.13.6
with:
76.0a1 2020-03-18
Comment 12•4 years ago
|
||
Comment on attachment 9132371 [details]
Bug 1620299 - Add policy for URL bar interventions. r?mak
approved for 75.0b6, thanks
Comment 13•4 years ago
|
||
Search Tips are not disabled by "UrlbarInterventions": false (although it makes sense given the name of the policy and the title of this issue - which is implementing intervention policy), but its unclear to me if there should be any Search Tips policies?
Comment 14•4 years ago
•
|
||
search tips are disabled through the browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features pref, that is supported by policies too (FeatureRecommendations).
Comment 15•4 years ago
|
||
bugherder uplift |
Comment 16•4 years ago
|
||
Verified as fixed on:
Windows 10
Ubuntu 18.04
macOS 10.13.6
with:
75.0b9 2020-03-25
Description
•