Closed Bug 1373487 Opened 8 years ago Closed 8 years ago

permissions UI is not helpful for about: pages

Categories

(Firefox :: Site Identity, enhancement, P3)

enhancement

Tracking

()

VERIFIED FIXED
Firefox 57
Tracking Status
firefox57 --- verified

People

(Reporter: rhelmer, Assigned: prathiksha)

Details

Attachments

(2 files)

While per-site permissions are used in about: pages in some cases (to grant UI Tour permissions to about: content pages for instance), this is all internal and the user can't actually revoke permissions. Unless we're going to allow users to revoke permissions on internal browser UI pages, we should just not display the permissions bit. This is what Chrome does too, incidentally.
Hm, these pages can _technically_ have permissions set in the permission manager. I can understand that they won't realistically have that, though (we should check in any case). What would be your logic for that? .startsWith("about:")?
Priority: -- → P3
(In reply to Johann Hofmann [:johannh] from comment #1) > What would be your logic for that? > .startsWith("about:")? I think we shouldn't bother showing it for anything for which we show a chromeUI identity block.
Assignee: nobody → prathikshaprasadsuman
Comment on attachment 8896935 [details] Bug 1373487 - Don't display permission content in the control center for internal pages. https://reviewboard.mozilla.org/r/168222/#review173410 This can actually be solved way easier, sorry for pointing you in the wrong direction initially. There's a "when-connection" pseudo-attribute on items in the identity block (https://searchfox.org/mozilla-central/rev/6482c8a5fa5c7446e82ef187d1a1faff49e3379e/browser/components/controlcenter/content/panel.inc.xul#57). You can add this to the container here: https://searchfox.org/mozilla-central/rev/6482c8a5fa5c7446e82ef187d1a1faff49e3379e/browser/components/controlcenter/content/panel.inc.xul#86 It should be the same as for the tracking protection block, but we should probably include the "extension" connection type as well. (I wonder if tracking protection is missing that for a reason or on accident).
Attachment #8896935 - Flags: review?(jhofmann)
Comment on attachment 8896935 [details] Bug 1373487 - Don't display permission content in the control center for internal pages. https://reviewboard.mozilla.org/r/168222/#review173488 Looks great, thank you!
Attachment #8896935 - Flags: review?(jhofmann) → review+
Status: NEW → ASSIGNED
Keywords: checkin-needed
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/autoland/rev/0157f48f3390 Don't display permission content in the control center for internal pages.r=johannh
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
I'm confirming that bug is fixed, starting in Mozilla Firefox Nightly 57.0a1 (2017-08-15), so I'm marking this bug as VERIFIED. Thanks.
Status: RESOLVED → VERIFIED
QA Contact: Virtual
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: