Hide dismiss autofill menu item in private browsing mode
Categories
(Firefox :: Address Bar, task, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox151 | --- | fixed |
People
(Reporter: jteow, Assigned: jteow)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sng])
Attachments
(1 file)
The adaptive autofill result menu currently shows a "Dismiss" option in PBM.
Since dismissals write a block timestamp to the Places database (which persists across sessions) but re-integration isn't enabled for PBM (nor backspace blocking), it doesn't make sense to offer this action in private browsing. The "Remove from history" option should still appear for non-origin adaptive URL results, since that action is available for regular history results in private browsing.
| Assignee | ||
Comment 1•4 months ago
|
||
This patch passes isPrivate from the query context to getResultCommands() in
the autofill provider and suppresses the dismiss_autofill command when in
a private browsing context. If no commands remain (e.g. for origin results
in PBM), the provider returns undefined so no menu button is shown.
Updated•4 months ago
|
Updated•4 months ago
|
Comment 3•4 months ago
|
||
| bugherder | ||
Updated•4 months ago
|
Description
•