Closed Bug 1596897 Opened 5 years ago Closed 3 years ago

Decouple Permissions Panel from Site Information Panel

Categories

(Firefox :: Site Permissions, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: epang, Assigned: pbz)

References

(Blocks 3 open bugs)

Details

User Story

https://mozilla.invisionapp.com/share/VMUV7OL8EUA#/392611065_Decouple_Permissions_And_Site_Information_Panel

Attachments

(3 files)

With ETP in its own panel and the removal of the 'i' icon, permissions required a bit of rethinking.

Link to the page in the spec
https://mozilla.invisionapp.com/share/VMUV7OL8EUA#/392611065_Decouple_Permissions_And_Site_Information_Panel

This spec covers separating the permission and site information panels as well as other updates to the site information panel.

Link to the meta bug
https://bugzilla.mozilla.org/show_bug.cgi?id=1586946

Component: Protections UI → Site Permissions
Type: task → enhancement
Severity: normal → N/A
See Also: → 1677578
Assignee: nobody → pbz
Status: NEW → ASSIGNED
Pushed by pzuhlcke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/61304ccbaada
Moved permission list from site identity to separate permission panel. r=johannh
https://hg.mozilla.org/integration/autoland/rev/00c45a405129
Updated tests for decoupled permissions panel. r=johannh
Flags: needinfo?(pbz)
Pushed by pzuhlcke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a84b667007e2
Moved permission list from site identity to separate permission panel. r=johannh
https://hg.mozilla.org/integration/autoland/rev/635972f169e7
Updated tests for decoupled permissions panel. r=johannh,remote-protocol-reviewers

Thanks!
I don't think any of these test failures are related to my patch.

Focused menu item has correct title - Got "", expected "Two": Bug 1638500
ok is not defined: Bug 1673742.

Flags: needinfo?(pbz) → needinfo?(nbeleuzu)

Note that this patch is tripping screenshot alerts; it looks like the ControlCenter.jsm entrypoint was updated to open the identity panel, but this means we lose coverage of the permissions side of things. Is it worth filing a follow-up to re-add coverage for that in some way?

(In reply to :Gijs (he/him) from comment #9)

Note that this patch is tripping screenshot alerts; it looks like the ControlCenter.jsm entrypoint was updated to open the identity panel, but this means we lose coverage of the permissions side of things. Is it worth filing a follow-up to re-add coverage for that in some way?

Thanks for pointing that out! Yes, I think we should maintain coverage for both panels. I'm not very familiar with mozscreenshots yet. Can you point me to documentation for this / how I can run these tests? Do we file this in the mozscreenshots component?

(In reply to Narcis Beleuzu [:NarcisB] from comment #10)

:pbz , the backfill points to it
https://treeherder.mozilla.org/jobs?repo=autoland&selectedTaskRun=cOxMXhYwRf-RtCmkS-GB1A.0&resultStatus=success%2Ctestfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel&classifiedState=classified&fromchange=0306d920bf0c96f1d37b911d0304a7ec1bbe9c66&searchStr=os%2Cx%2C10.14%2Cwebrender%2Copt%2Cmochitests%2Ctest-macosx1014-64-qr%2Fopt-mochitest-browser-chrome-e10s%2Cbc2&tochange=dfb3738293ce2e792b8fdd21df6ac516fa7eef18

Thanks! What do you mean by "backfill"? From your link, I can see that the test is failing more frequently with my patches applied. I don't see any direct correlation with my changes though. Perhaps we should consider disabling it, given that it fails quite frequently on this configuration.

Flags: needinfo?(nbeleuzu)
Flags: needinfo?(gijskruitbosch+bugs)

(In reply to Paul Zühlcke [:pbz] from comment #11)

(In reply to :Gijs (he/him) from comment #9)

Note that this patch is tripping screenshot alerts; it looks like the ControlCenter.jsm entrypoint was updated to open the identity panel, but this means we lose coverage of the permissions side of things. Is it worth filing a follow-up to re-add coverage for that in some way?

Thanks for pointing that out! Yes, I think we should maintain coverage for both panels. I'm not very familiar with mozscreenshots yet. Can you point me to documentation for this / how I can run these tests? Do we file this in the mozscreenshots component?

Yes, I think https://developer.mozilla.org/en-US/docs/Mozilla/QA/Browser_screenshots , particularly https://developer.mozilla.org/en-US/docs/Mozilla/QA/Browser_screenshots#Try_pushes, covers all of these? But I am also not intimately familiar with the implementation, I have to admit. :-)

Flags: needinfo?(gijskruitbosch+bugs) → needinfo?(pbz)
Blocks: 1690847

Sorry, I'm just getting back to this now.

Here is a try run of this testsuite/ platform on central:
https://treeherder.mozilla.org/jobs?repo=try&selectedTaskRun=Mq1P9uveQySULO5TFoVEbQ.0&resultStatus=testfailed%2Cbusted%2Cexception&classifiedState=unclassified&revision=5e4a7d491693fc0dd5d4ec5884d804a2bcece563
And here is one with the patches from this bug applied:
https://treeherder.mozilla.org/jobs?repo=try&resultStatus=success%2Ctestfailed%2Cbusted%2Cexception&classifiedState=unclassified&revision=3a9402fc45a4f7321552796a92d0c66c51e7c5a5&selectedTaskRun=RkQl2YsNSlejgDu_mozoqQ.0

As you can see it fails for both revisions. It's possible that the timing of this testsuite changed and therefore we get more intermittent failures of these tests.

Here is my suggestion: As long as those two tests don't perma-fail we land the patch. Then we can observe the tests on central and see if they need to be fixed or potentially disabled.
Does that work for you?

The alternative is to disable these tests beforehand. I'd like to avoid loosing test coverage on macOS though.

Flags: needinfo?(pbz) → needinfo?(nbeleuzu)

Sure, we can land the patches on autoland and if it there wont be any perma failures will merge it to central and will see whats next.
Please notify the sheriffs when you will land them so they will be aware of it

Flags: needinfo?(nbeleuzu)
Pushed by pzuhlcke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a674c136b1cd
Moved permission list from site identity to separate permission panel. r=johannh
https://hg.mozilla.org/integration/autoland/rev/a044b2b11f16
Updated tests for decoupled permissions panel. r=johannh,remote-protocol-reviewers
Regressions: 1691419
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
Regressions: 1695022
Regressions: 1695356
Regressions: 1699625
Regressions: 1700587
See Also: → 1736984
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: