Closed Bug 1604709 Opened 4 years ago Closed 4 years ago

browser.sessionstore.resuming_after_os_restart config flag not honored

Categories

(Firefox :: Session Restore, defect)

71 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: kees, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0

Steps to reproduce:

  • Set browser.sessionstore.resuming_after_os_restart to false
  • open a few sites
  • Restart your device
  • Open firefox

Actual results:

All sites i previously opened before the reboot are re-opened by firefox

Expected results:

A clean empty firefox with no pages open

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Session Restore

The priority flag is not set for this bug.
:mikedeboer, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(mdeboer)

I can confirm this behaviour for Firefox 71.0 for openSuSE Tumbleweed and XFCE 14 despite the following settings related to session/crash/resume being active:

user_pref("browser.sessionstore.debug_logging", true);
user_pref("browser.sessionstore.dom_storage_limit", 0);
user_pref("browser.sessionstore.enabled", false);
user_pref("browser.sessionstore.interval", 0);
user_pref("browser.sessionstore.max_resumed_crashes", 0);
user_pref("browser.sessionstore.max_serialize_back", 0);
user_pref("browser.sessionstore.max_serialize_forward", 0);
user_pref("browser.sessionstore.max_tabs_undo", 0);
user_pref("browser.sessionstore.max_windows_undo", 0);
user_pref("browser.sessionstore.privacy_level", 2);
user_pref("browser.sessionstore.restore_on_demand", false);
user_pref("browser.sessionstore.restore_tabs_lazily", false);
user_pref("browser.sessionstore.resume_from_crash", false);
user_pref("browser.sessionstore.upgradeBackup.latestBuildID", "20191202093317");
user_pref("browser.sessionstore.upgradeBackup.maxUpgradeBackups", 0);
user_pref("toolkit.startup.max_resumed_crashes", 0);

browser.sessionstore.resuming_after_os_restart is set to false too but does not appear within prefs.js ???

This pref only works when an OS-forced restart is being detected by the Firefox widget layer or updater. It has no ulterior magic functionality, nor is it officially supported.
Preference changes are not persisted in prefs.js.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Flags: needinfo?(mdeboer)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.