为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

about:sessionrestore shows no tabs, though they are in sessionstore.js

more options

Preferences set to restore windows and tabs.

FF crashed recently and showed the about:sessionrestore page, but with now tabs or windows (see image). Figured it was a faulty file, made a backup of old recovery.js in sessionstore-backups-folder.

Closed FF, deleted sessionCheckpoints.json, sessionstore.js and even recovery.js and previous js. Replaced all those (except sessionCheckpoints.json) with the backup of the recovery.js-file.

Still, when opening FF, it shows the usual "Well, this is embarassing!"-tab but no tabs.

Tabs are definitely there in the old recovery.js-file, even found the one I opened right before FF crashed (opened the file in texteditor and did a search, see also images).

Any ideas why the Restoring-windows shows no tabs to restore, even though they are in the file?

Preferences set to restore windows and tabs. FF crashed recently and showed the about:sessionrestore page, but with now tabs or windows (see image). Figured it was a faulty file, made a backup of old recovery.js in sessionstore-backups-folder. Closed FF, deleted sessionCheckpoints.json, sessionstore.js and even recovery.js and previous js. Replaced all those (except sessionCheckpoints.json) with the backup of the recovery.js-file. Still, when opening FF, it shows the usual "Well, this is embarassing!"-tab but no tabs. Tabs are definitely there in the old recovery.js-file, even found the one I opened right before FF crashed (opened the file in texteditor and did a search, see also images). Any ideas why the Restoring-windows shows no tabs to restore, even though they are in the file?

所有回复 (4)

more options

(couldn't upload pictures in original post)

more options

I think that occurs when you already restored the session. Is "Restore Previous Session" grayed on the History menu? If so, does the menu list tabs and windows that you can restore which you recognize from an earlier session?

Please back up your session history files (recovery.js, etc.) as of course they can easily be wiped.

I have a page you can use to extract the contents of session history files to an HTML document as a backup or workaround: https://www.jeffersonscher.com/res/scrounger.html

more options

Thing is, I haven't restored the history. "Restore Previous Session" is also greyed out, "Recently Closed Tabs" and "... Windows" too. Only ones I could "restore" from "History" are the latest 10 shown (or all of course when I go to "Show All History"), but most tabs were already opened for a long time, so they don't automatically show up there.

recovery.js is backed up of course. Thanks very much for the page, it's really neat with the links clickable, got all of my tabs listed. And thanks very much for your PM, I also thought about the "sessionrestore tab in a sessionrestore tab" when I looked at recovery.js. Your scrounger showed two Windows actually: "Window 1" with only one tab: about:sessionrestore and "Window 2" with all my tabs from browsing. Thing is, I'm 100% sure there was no "Window 1" because I never use more than one window.


Additional info: This didn't happen for the first time, it always happens when my battery is going empty and my laptop shuts down itself (though I never checked the file before this one, but it was always the same: about:sessionrestore opens itself after starting up and opening firefox again, but shows no tabs. Will have to check the next time my battery gets empty, this time it was a crash).

Should I report this as a bug?

more options

A bug might not get urgent attention, but it would be interesting for someone to consider how the session restore windows got nested in one another, and try to find a way to prevent from happening.