Fennec/Features/sessionstore/testplan
From MozillaWiki
< Fennec | Features | sessionstore
Fast Session Saving
Feature | Dev Lead | QA Lead | Status |
Fast Session Saving | MFinkle | Kevin Brosnan andreea.pod |
Dev: LANDED QA: TESTING |
Reference
- Bug 630398 - Session store doesn't save session data quickly enough
- Bug 658554 - Undoing a tab pointing to about:blank does nothing
Tabs should be restored when Firefox is killed. The Firefox 4 behavior was that tabs would be saved 10 seconds after the page finished loading. It now will save the tab 2 seconds after the page load finishes.
A closed blank tab should not have "undo closed tab"
Use Cases to Test
Killing Fennec while the page is loading should not restore the tab
Killing Fennec < 2s after page Load should not restore the tab
Killing Fennec > 2s after page load should session restore the tab
Closing a blank tab should not go to "undo closed tab" thumbnail
Test Cases
- Litmus
History for a reopened tab
- Steps to perform
- Open a new tab and go to Google.com
- Go to yahoo.com in the same tab
- Close the tab and tap on "undo closed tab"
- Open the right side bar and tap on back button
- Expected results
- You should be able to browse through the reopened tab's history (yahoo.com should load after undo closed tab and google.com should load when you press the back button)
Close a blank tab
- Steps to perform
- Open a new blank tab
- Close the tab
- Expected results
- The closed blank tab should not have "undo closed tab"
Scroll position for a restored tab
- Steps to perform
- In a new tab go to a page with height larger than the screen
- Scroll down on that page
- Close the tab
- Tap on 'undo close tab'
- Expected results
- The page should be restored and the scroll position should be restored too.
Bugs
bug 685127 - Scroll position not remembered after "undo closed tab"