Themes should not show [ALLOWED IN PRIVATE WINDOWS] notice
Categories
(Toolkit :: Add-ons Manager, defect, P1)
Tracking
()
People
(Reporter: kmag, Assigned: trishul.goel)
References
(Blocks 1 open bug)
Details
Attachments
(3 files, 1 obsolete file)
47 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
749.01 KB,
image/gif
|
Details | |
812.29 KB,
image/png
|
Details |
Static themes are always allowed in private windows, and cannot run any code which should make that a concern. Showing this loud warning for all of them serves no purpose, and is decidedly ugly.
Reporter | ||
Comment 2•5 years ago
|
||
(In reply to Trishul from comment #1)
If this is confirmed, can I work on this?
Sure. There's nothing to confirm. Note that it will probably need a test, though.
Comment 3•5 years ago
|
||
This should probably be done on top of D24720 in bug 1538546, or maybe even D24990 in bug 1536459 if it touches the same test code. And if we can reproduce this in beta, we'll want to uplift it.
Pushed by scaraveo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/92cfc564dbff Themes should not show [ALLOWED IN PRIVATE WINDOWS] notice r=kmag
Comment 7•5 years ago
|
||
Comment on attachment 9054503 [details]
Bug 1538583: Themes should not show [ALLOWED IN PRIVATE WINDOWS] notice
Beta/Release Uplift Approval Request
- Feature/Bug causing the regression: Bug 1380809
- User impact if declined: In about:addons list view, loud purple badges on themes when they are not applicable to themes.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: load some themes and verify there are not purple badges
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Very simple fix. Thanks Trishul!
- String changes made/needed: none
Updated•5 years ago
|
Comment 8•5 years ago
|
||
bugherder |
Comment 9•5 years ago
|
||
Just landed, I would like to see it verified on Nightly before we uplift it to Beta, thanks.
Comment 10•5 years ago
|
||
I tested on Firefox 68.0a1 (20190331215222) and on 68.0a1 (20190323094805) under Win 7 64-bit and the bug is not reproducing on the fixed build, also I can’t reproduce the bug on the affected build.
Could you please give me some STR to see how this bug is reproducing on the affected build?
Thanks!
Updated•5 years ago
|
Comment 11•5 years ago
|
||
Trishul, could you get back to Cosmin please? (see comment #10) Thanks.
Assignee | ||
Comment 12•5 years ago
|
||
Hello everyone, apologies for late reply.
For this specific bug, I didn't have STRs from UI, I had to use flags in my code to reproduce it and write tests accordingly.
Maybe Kris can help us with this.
Updated•5 years ago
|
Reporter | ||
Comment 13•5 years ago
|
||
You should just need to install a static WebExtension theme and look at the themes section of about:addons
Comment 14•5 years ago
|
||
:Trishul, could you do a followup patch where you add the same check in Extension.jsm? That is the actual point where the builtin themes are gaining the permission.
QE: you wont be able to reproduce because a patch on nightly that kmag landed caused the issue, and the patch here, which has landed, hides the issue.
This is not reproducible on beta, but my request to Trishul above should go onto beta to prevent giving the permission to non-extensions on upgrade. If you undo the patch here, you'll be able to see the badge for any builtin theme that has been enabled.
Comment 15•5 years ago
|
||
patch on nightly that kmag landed caused the issue
exposed the issue.
Assignee | ||
Comment 17•5 years ago
|
||
Themes should not show [ALLOWED IN PRIVATE WINDOWS] notice
Comment 18•5 years ago
|
||
Comment on attachment 9054503 [details]
Bug 1538583: Themes should not show [ALLOWED IN PRIVATE WINDOWS] notice
Uplift approved for 67 beta 10, thanks.
Comment 19•5 years ago
|
||
bugherder uplift |
Comment 20•5 years ago
|
||
This issue is verified as fixed on Firefox 69.0a1 (20190522152821), Firefox 68.0b3 (20190521110747) and Firefox 67.0 (20190516215225) under Win 7 64-bit and Mac OS X 10.14.1.
There are no purple badges displayed for the installed themes.
Please see the attached screenshot.
Comment 21•5 years ago
|
||
Trishul, was D26298 needed? If so, update it and get it landed, otherwise abandon the change.
Assignee | ||
Comment 22•5 years ago
|
||
Hi Shane, I believe its an overkill and is already handled by the previous patch D25411, so I will abandon this change.
Updated•5 years ago
|
Description
•