Open Bug 1770413 Opened 3 years ago Updated 3 years ago

[Intermittent] The number of tabs and the websites are not properly restored after forcing a crash and reopening the session from the crash prompt

Categories

(Firefox :: Session Restore, defect)

Desktop
All
defect

Tracking

()

Tracking Status
firefox100 --- affected
firefox101 --- affected
firefox102 --- affected
firefox103 --- affected

People

(Reporter: cfat, Unassigned)

Details

[Notes]:

  • After restoring the browsing session using the Mozilla Crash Report dialog, the following error is displayed in the Browser Console:
    BackgroundUpdate: maybeScheduleBackgroundUpdateTask: exiting after uncaught exception in maybeScheduleBackgroundUpdateTask! Exception { name: "NS_ERROR_FAILURE", message: "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWinTaskSchedulerService.registerTask]", result: 2147500037, filename: "resource://gre/modules/TaskSchedulerWinImpl.jsm", lineNumber: 51, columnNumber: 0, data: null, stack: "registerTask@resource://gre/modules/TaskSchedulerWinImpl.jsm:51:16\nregisterTask@resource://gre/modules/TaskScheduler.jsm:136:18\n_registerBackgroundUpdateTask@resource://gre/modules/BackgroundUpdate.jsm:287:38\n", location: XPCWrappedNative_NoHelper }

[Affected versions]:

  • Firefox RC 100.0.1, Build ID: 20220513165813
  • Firefox Beta 101.0b9, Build ID: 20220519220322
  • Firefox Nightly 102.0a1, Build ID: 20220520093126

[Affected platforms]:

  • Windows 11 x64

[Prerequisites]:

  • Have Firefox installed.

[Steps to reproduce]:

  1. Open the browser with the profile from prerequisites.
  2. Open a new tab and click one of the top sites.
  3. Repeat step 2 with other top sites.
  4. Open a new tab and navigate to the "about:crashparent" page.
  5. From the Mozilla Crash Report dialog, click the "Restart Firefox" option.
  6. Observe what happens next.

[Expected result]:

  • The number of tabs opened at steps 2 and 3 are restored and the websites correctly load.

[Actual result]:

  • A smaller number of tabs are restored with the websites from steps 2 and 3 being replaced by new tabs.

[Additional notes]:

  • This issue is also reproducible with the “Open previous windows and tabs” checked option on the “about:preferences” page.
  • This issue wasn’t noticed on other OSes besides Windows 11.
  • Here is a screen recording with the issue.

This issue is also reproducible on macOS 11.6.6 using Firefox 103.0.1 (Build ID: 20220729222726).

OS: Windows 11 → All
Summary: [Windows 11] [Intermittent] The number of tabs and the websites are not properly restored after forcing a crash and reopening the session from the crash prompt → [Intermittent] The number of tabs and the websites are not properly restored after forcing a crash and reopening the session from the crash prompt
You need to log in before you can comment on or make changes to this bug.