Consolidate the ignorable tab URLs in SessionStore with the list in gInitialPages / isInitialPage from browser.js (e.g. move these to BrowserUtils)
Categories
(Firefox :: Session Restore, task)
Tracking
()
People
(Reporter: sfoster, Unassigned)
References
Details
(Whiteboard: [fidefe-firefox-view])
We maintain a list of URLs in SessionStore that we use when determining if a tab's state is useful to save, including "about:blank", "about:newtab" etc. This is very similar to the functionality provided by isInitialPage from browser.js and the list in gInitialPages. We should be able to consolidate these to avoid the duplication.
Updated•2 years ago
|
| Reporter | ||
Comment 1•2 years ago
|
||
Note that excluding "about:home" as a not-worth-saving tab URL causes this dontTemporarilyShowAboutHome test to fail
Comment 2•2 years ago
|
||
(In reply to Sam Foster [:sfoster] (he/him) from comment #1)
Note that excluding "about:home" as a not-worth-saving tab URL causes this dontTemporarilyShowAboutHome test to fail
I haven't fully grasped yet what's going on there, but if for some reason we don't want to use exactly the same list as browser.js, it seems like we should at least include chrome://browser/content/blanktab.html?
Description
•