Expand SitePolicies to support Containerized Site Data
Categories
(Enterprise Products :: Firefox, enhancement, P1)
Tracking
(firefox158 verified)
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | verified |
People
(Reporter: bsmth, Assigned: mossop)
References
(Blocks 1 open bug)
Details
(Whiteboard: [size=2.5])
User Story
As an admin, I want the SitePolicies policy to support an ContainerizedSiteData field, so that I can require specified sites to open in a designated Firefox Container Acceptance criteria: - The policy supports a clear admin-defined container identifier, such as a container name or ID. - When a user navigates to a matched site outside the required container, Firefox opens the site in the configured container. Implementation notes: - https://firefox-admin-docs.mozilla.org/reference/policies/sitepolicies/ - This feature is about persistent container-based isolation, not ephemeral site-data deletion. - Consider whether admins should be able to configure container metadata such as color & icon, and whether the container is hidden from user editing (likely not user editable). Out of scope: - New site-matching syntax; constraints reuse the existing SitePolicies site-matching mechanism.
Attachments
(2 external files, 1 obsolete file)
Updated•5 months ago
|
| Reporter | ||
Updated•5 months ago
|
Updated•4 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
| Assignee | ||
Comment 2•2 months ago
|
||
Comment 5•1 month ago
|
||
Revert for causing build bustages on ProcessIsolationTest.cpp.
| Assignee | ||
Updated•1 month ago
|
Comment 7•1 month ago
|
||
Reverted this because it was causing xpcshell failures in test_sitepolicies.js.
- Revert link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | browser/components/enterprisepolicies/tests/xpcshell/test_sitepolicies.js | test_isAllowedForSite - [test_isAllowedForSite : 35] Policy service should return the expected state for http://example.com/ (site: [xpconnect wrapped nsIURI]) - true == false
Comment 8•1 month ago
|
||
Please also check [this failure](Please also check this failure.).
| Assignee | ||
Updated•1 month ago
|
Comment 10•1 month ago
|
||
| bugherder | ||
Comment 11•1 month ago
|
||
Updated•1 month ago
|
| Reporter | ||
Updated•1 month ago
|
Comment 12•1 month ago
|
||
Authored by https://github.com/Mossop
https://github.com/mozilla/enterprise-firefox/commit/4f1a193a9ce72b7d6d687f33b0b57639e36cc7d2
[enterprise-main] Bug 2045801: Support runtime modifications to SitePolicies containers. r=bsmth!
Authored by https://github.com/Mossop
https://github.com/mozilla/enterprise-firefox/commit/523cd2ebe71cad1bb0924df5a874b431fc25ad91
[enterprise-main] Merge pull request #1512 from Mossop/bug2045801
Comment 13•1 month ago
|
||
Setting SitePolicies to open a domain in a containerized tab works accordingly, I have checked this by pasting gBrowser.selectedTab.userContextId into the browser console (if it returns anything other than "0" it has been loaded in a container).
Verified using Firefox Enterprise 158.0b5 (20261006191302) and Firefox Enterprise 159.0a1 (20260930034337).
Description
•