Create a button and panel for restarting the PBM session
Categories
(Firefox :: Private Browsing, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox120 | --- | fixed |
People
(Reporter: emz, Assigned: emz)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
Attachments
(2 files, 2 obsolete files)
A data clearance Icon to create an explicit data deletion action.
Clicking the data clear button will close all tabs leaving you on a fresh browser browsing window session with a success message displayed.
Add a panel that opens on button click and asks the user for confirmation before clearing the PBM session. We also want to add a checkbox so the confirmation panel can be skipped if desired.
The clear button needs to:
- Close all other PBM windows
- Close all tabs in the current PBM window
- (Block the window from being interacted with?)
- Call the new PBM data clearing method added in Bug 1846494 and wait for it to resolve
- (Unblock the window)
The implementation should integrate with Nimbus and support a pref to hide the UI until it's ready to ship.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Depends on D187223
Assignee | ||
Comment 3•2 years ago
|
||
Depends on D187268
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 4•2 years ago
|
||
Depends on D187223
Comment 5•2 years ago
|
||
The following patch is waiting for review from an inactive reviewer:
ID | Title | Author | Reviewer Status |
---|---|---|---|
D187223 | Bug 1846498 - Add a restart PBM session button and panel for private windows. r=mconley! | pbz | Gijs: Back Sep 17, 2023 |
:pbz, could you please find another reviewer?
For more information, please visit BugBot documentation.
Assignee | ||
Comment 6•2 years ago
|
||
Thanks BugBot, very helpful! I have actually already changed reviewers.
Comment 8•2 years ago
|
||
Backed out for causing mochitest failures on browser/components/privatebrowsing/test/browser/browser_privatebrowsing_resetPBM.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/653daffe1a6bf5db37121e7bf3f8ff98fdca3995
Assignee | ||
Comment 9•2 years ago
|
||
Thanks! Looking. Can't reproduce locally on my Windows machine so far.
Comment 10•2 years ago
|
||
Assignee | ||
Updated•2 years ago
|
Comment 11•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d60ad03ef732
https://hg.mozilla.org/mozilla-central/rev/8ed837349a10
Comment 12•1 year ago
|
||
Hi, I happened to be looking in "CustomizableUI.sys.mjs". Just a small things I noticed: "reset-pbm-toolbar-button" is added conditionally to the default toolbar but it is added to existing toolbars unconditionally on update.
It doesn't make much of a difference on stable release right now, since the widget is not created anyway. But I think it does mean that pre-120 users (that got the update) will have "reset-pbm-toolbar-button" in their "browser.uiCustomization.state", but post-120 users (that did not get the update) will not. Depending on what you do in the future, it could make a difference when it comes to enabling this on stable.
Assignee | ||
Comment 13•1 year ago
|
||
Thanks for highlighting this problem! That assessment seems correct. We most likely will need another migration once we roll this out to all users on release.
Description
•