QA/Firefox3.5/Session Restore Test Plan
- Session Restore Test Plan
Owner: marcia Created on 10/31/2008
Overview
The major change related to Session Restore for FF 3.1 is to change from a prompt to an error page. According to Alex Faaborg, after the first crash, when you reopen Firefox it automatically restores your session (no dialog or error tab). Here are the other requirements as detailed in the bug:
- In the event that the browser crashes again, we display the restore previous
session tab on opening details are already displayed (no "Show Details" button)
- Have two buttons: "Restore Previous Session" and "Start new Session" (start
new session loads the home page in this tab)
- Remove the sentence about loading your home page
- Switch the icon from an error to a question, since we are recovering from
an error, not producing an error
- Remove question mark from Restore column, and make this the first column in
the list view
The particular challenges with testing this feature would be to make sure there is no data loss when we restore windows and tabs and that the "Restore Session" and "Start New Session" function properly.
Test Strategy
- Test Restore Session Functionality
- Test Restoring Individual Tabs
- Test Restoring Individual Windows
- Test Starting a New Session
- Automated Tests are here: http://mxr.mozilla.org/mozilla-central/source/browser/components/sessionstore/test/browser/
Schedule Scoping
Estimate amount of time it will take to complete feature(Consider nightly builds, security reviews, bugs turnaround time)
References
- Bug 448976 - turn the Session Restore prompt into an error page (and
dependent bugs) Bug 448976
The spec for this feature is basically the mockup from Alex Bug 336774).
- Bug 339445 - Session store should save/restore sessionStorage data
(from DOMStorage) Bug 339445
Litmus Test Cases Added
- https://litmus.mozilla.org/show_test.cgi?id=7059
- https://litmus.mozilla.org/show_test.cgi?id=7390
- https://litmus.mozilla.org/show_test.cgi?id=7391
- https://litmus.mozilla.org/show_test.cgi?id=7392
UI Nits
- https://bugzilla.mozilla.org/show_bug.cgi?id=462620 - Use alternating row colors in about:sessionrestore tree view on OS X
- https://bugzilla.mozilla.org/show_bug.cgi?id=462618 - Use a generic window icon to represent windows in about:sessionrestore
- https://bugzilla.mozilla.org/show_bug.cgi?id=462618 - Use native the native check box appearance in XUL trees