Closed
Bug 2045798
Opened 5 months ago
Closed 1 month ago
Expand SitePolicies to support Ephemeral Sessions
Categories
(Enterprise Products :: Firefox, enhancement, P1)
Enterprise Products
Firefox
Tracking
(firefox158 verified)
VERIFIED
FIXED
MVP
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | verified |
People
(Reporter: bsmth, Assigned: mossop)
References
(Blocks 1 open bug)
Details
(Whiteboard: [size=3])
User Story
As an admin, I want the SitePolicies policy to support an EphemeralStorage field, so that I can remove all site data for the matched site when the isolated site session ends. Acceptance criteria: - EphemeralStorage (boolean): Clears all site data for the matched site when the isolated site session ends. Implementation notes: - https://firefox-admin-docs.mozilla.org/reference/policies/sitepolicies/ - https://firefox-admin-docs.mozilla.org/reference/policies/sanitizeonshutdown/ - When the isolated session ends, the browser purges cookies, localStorage, IndexedDB, cache, etc. for that site automatically. Session-end trigger is last tab for the origin closed / overlaps with SanitizeOnShutdown. - one proposal was to reuse Private Browsing mode for this. - Optionally, consider if an admin could enforce a time-to-live for the session (e.g. auto-delete after X hours / days of inactivity) Out of scope: - New site-matching syntax; constraints reuse the existing SitePolicies site-matching mechanism.
Attachments
(1 external file)
No description provided.
| Reporter | ||
Updated•5 months ago
|
Updated•5 months ago
|
Severity: -- → S1
tracking-firefox152:
--- → ?
tracking-firefox152:
? → ---
tracking-firefox153:
--- → ?
tracking-firefox153:
? → ---
Whiteboard: [size=3]
| Reporter | ||
Updated•5 months ago
|
No longer blocks: firefox-client-mvp
Updated•3 months ago
|
Assignee: nobody → dtownsend
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed by dtownsend@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/ac00aa71d8fc
https://hg.mozilla.org/integration/autoland/rev/df2509621181
Support ephemeral containers in SitePolicies. r=bsmth
Pushed by sstanca@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/211abcf08683
https://hg.mozilla.org/integration/autoland/rev/83446f1533c0
Revert "Bug 2045798, Bug 2045801: Support ephemeral containers in SitePolicies. r=bsmth" for causing xpcshell failures in test_sitepolicies.js.
Comment 4•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
Flags: needinfo?(dtownsend)
Comment 5•1 month ago
|
||
Please also check this failure.
Pushed by dtownsend@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/253bd5786170
https://hg.mozilla.org/integration/autoland/rev/e25b3d748fa9
Support ephemeral containers in SitePolicies. r=bsmth
| Assignee | ||
Updated•1 month ago
|
Flags: needinfo?(dtownsend)
Comment 7•1 month ago
|
||
| bugherder | ||
Comment 8•1 month ago
|
||
Authored by https://github.com/Mossop
https://github.com/mozilla/enterprise-firefox/commit/253bd57861702d77c761e87eefa3a8cdfa61adea
[enterprise-main] Bug 2045798: Support ephemeral containers in SitePolicies. r=bsmth
| Reporter | ||
Updated•1 month ago
|
Flags: qe-verify+
Comment 9•1 month ago
|
||
When SitePolicies is configured to open domains in containerized tabs with ephemeral set to true, all site data for the matched site is cleared when the isolated site session ends—that is, after its last tab is closed.
Verified using Firefox Enterprise 158.0b5 (20261006191302) and Firefox Enterprise 159.0a1 (20260930034337).
You need to log in
before you can comment on or make changes to this bug.
Description
•