Mozilla Contributors: The Community Building team is running a survey to learn about your values and motivations, and how we can improve your experience. Please take 10-15 minutes between now and 12 November to complete the survey.
Speedy Session Restore
Status
| Speedy Session Restore | |
| Stage | Development |
| Status | In progress |
| Release target | ` |
| Health | OK |
| Status note | Deprioritized. Need to regroup and retarget based on priority (tbd) and resource availability. |
Team
| Product manager | Asa Dotzler |
| Directly Responsible Individual | Lawrence Mandel |
| Lead engineer | Dietrich Ayala |
| Security lead | ` |
| Privacy lead | ` |
| Localization lead | ` |
| Accessibility lead | ` |
| QA lead | Paul Silaghi |
| UX lead | ` |
| Product marketing lead | ` |
| Operations lead | ` |
| Additional members | ` |
Open issues/risks
`
Stage 1: Definition
1. Feature overview
Session restore makes restarting the browser a frictionless experience.
2. Users & use cases
Starting up the browser is a common experience for all Firefox users. Many Firefox users have session restore turned on and we intend to make that the default in an upcoming release. Session restore can cause the browser to start up more slowly than without session restore. Changes that make session restore have less of an impact on startup time will allow us to enable session restore without users being bothered by slower startup times.
3. Dependencies
`
4. Requirements
- Restoring a session at startup must be on par or only negligibly slower than not restoring a session.
- Restoring of the session is the default behavior.
- Tabs are loaded on-demand by default.
- Users are notified the first time a session is restored by default, and given the opportunity to disable the feature.
Non-goals
- Restore a session in a more comprehensive manner than we do currently.
Stage 2: Design
5. Functional specification
`
6. User experience design
The user is notified of the first default session restore by an infobar that says something like:
"Firefox has restored your previous browsing session. If you want, you can change this behavior."
And has a button labeled "Configure", which opens the preference window to the General tab.
Stage 3: Planning
7. Implementation plan
- Re-architect the session restore code for better performance. bug 669034
- Re-architect tabbrowser to not load <browser>s for un-restored tabs. bug 681201
- Load tabs on-demand by default (DONE). bug 711193
- Restore session by default. bug 735914
- Implement UX specification for notifying the user about first default restore, and allowing them to configure. (same bug as above)
- https://etherpad.mozilla.org/ss2
- https://wiki.mozilla.org/User:Zpao/SessionStore2
8. Reviews
Security review
`
Privacy review
`
Localization review
`
Accessibility
`
Quality Assurance review
`
Operations review
`
Stage 4: Development
9. Implementation
| ID | Summary | Priority | Status |
|---|---|---|---|
| 735914 | Design better session restore [UX] | -- | NEW |
| 669034 | [meta] Re-architect session restore to avoid periodic freezes | -- | NEW |
| 681201 | Not-yet-restored empty tabs take more memory than they should | -- | RESOLVED |
| 711193 | turn on "don't load tabs until selected" by default | -- | VERIFIED |
4 Total; 2 Open (50%); 1 Resolved (25%); 1 Verified (25%);
Stage 5: Release
10. Landing criteria
`
Feature details
| Priority | P1 |
| Rank | 999 |
| Theme / Goal | ` |
| Roadmap | Firefox Desktop |
| Secondary roadmap | ` |
| Feature list | Desktop |
| Project | ` |
| Engineering team | ` |
Team status notes
| status | notes | |
| Products | ` | ` |
| Engineering | ` | ` |
| Security | sec-review-needed | bug 744934 |
| Privacy | ` | ` |
| Localization | ` | ` |
| Accessibility | ` | ` |
| Quality assurance | ` | Test Plan |
| User experience | ` | ` |
| Product marketing | ` | ` |
| Operations | ` | ` |