Closed Bug 2033285 Opened 5 months ago Closed 5 months ago

When Browsing history is selected in Delete browsing data on quit, open tabs are also cleared

Categories

(Firefox for Android :: History, defect)

Firefox 151
All
Android
defect

Tracking

()

VERIFIED FIXED
152 Branch
Tracking Status
firefox149 --- unaffected
firefox150 --- unaffected
firefox151 + verified
firefox152 + verified

People

(Reporter: denyshon, Assigned: rebecatudor273)

References

(Regression)

Details

(Keywords: nightly-community, regression, Whiteboard: [fxdroid][group2])

Attachments

(3 files)

Steps to reproduce

  1. Have some open tabs
  2. In Settings, to to "Delete browsing data on quit".
  3. Check "Browsing history" and uncheck everything else (including "Open tabs").
  4. Quit Firefox

Expected behavior

Open tabs are not closed (since this option is unchecked).

Actual behavior

Open tabs are closed with no option to recover.

Device information

  • Firefox version: 151.0a1
  • Android device model: Redmi Note 7 Pro.
  • Android OS version: 10QKQ1.190915.002

Any additional information?

This is a regression in Nightly (v151). Doesn't reproduce in Beta or Release.

[Tracking Requested - why for this release]:

Regressed by: 2015391
Summary: When Browsing history is selected in Delete browsing data on quit in Firefox for Android, open tabs are also → When Browsing history is selected in Delete browsing data on quit in Firefox for Android, open tabs are also cleared
Summary: When Browsing history is selected in Delete browsing data on quit in Firefox for Android, open tabs are also cleared → When Browsing history is selected in Delete browsing data on quit, open tabs are also cleared

:alastun, since you are the author of the regressor, bug 2015391, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(alastun)

Set release status flags based on info from the regressing bug 2015391

The bug is marked as tracked for firefox151 (beta). However, the bug still isn't assigned.

:calu, could you please find an assignee for this tracked bug? Given that it is a regression and we know the cause, we could also simply backout the regressor. If you disagree with the tracking decision, please talk with the release managers.

For more information, please visit BugBot documentation.

Flags: needinfo?(calu)

Hey alastun, can you take a look at this and set the severity?

Flags: needinfo?(calu)
Severity: -- → S2
Assignee: nobody → rebecatudor273
Attachment #9574546 - Attachment description: WIP: Bug 2033285 - On Quit do not remove the tabs when not selected. → Bug 2033285 - Ensure open tabs are not cleared when the option is not selected for deletion on quit.
Status: NEW → ASSIGNED
Whiteboard: [fxdroid][group2]

We are in the final full week of beta for Fx151.
Rebace, hopefully, there are no concerns this week with landing the patch and requesting beta uplift?

Flags: needinfo?(rebecatudor273)
Pushed by rtudor@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/6bb725fd7a32 https://hg.mozilla.org/integration/autoland/rev/65eb4aaca4a9 Ensure open tabs are not cleared when the option is not selected for deletion on quit. r=android-reviewers,twhite

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: This patch fixes a regression. Without this patch, the users will get the open tabs closed when they use Quit even if they didn't select this configuration.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: no
  • Needs manual QE testing?: yes
  • Steps to reproduce for manual QE testing: Case 1:
    Steps to reproduce
  1. Enable "Delete browsing data on quit".
  2. Make sure "Browsing history" is checked.
  3. Open several tabs and close some of them.
  4. Quit Firefox.
  5. Reopen Firefox.

Expected behavior
The "Recently closed tabs" section in History is empty, because the whole history has been cleared.

Case 2:
Steps to reproduce

  1. Have some open tabs
  2. In Settings, to to "Delete browsing data on quit".
  3. Check "Browsing history" and uncheck everything else (including "Open tabs").
  4. Quit Firefox

Expected behavior
Open tabs are not closed (since this option is unchecked).

  • Risk associated with taking this patch: low
  • Explanation of risk level: There aren't any risks associated with this patch.
  • String changes made/needed?: No.
  • Is Android affected?: yes
Attachment #9583220 - Flags: approval-mozilla-beta?
Flags: qe-verify+
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
Attachment #9583220 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

This issue is verified as fixed on Firefox for Android 152 Nightly (2026-05-06) and Firefox 151 beta 7 on Samsung S24 Ultra with Android 16. Confirming that the tabs remains opened when deleting the browsing history using the "Delete browsing data on quit" method.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
Flags: needinfo?(rebecatudor273)
Flags: needinfo?(alastun)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: