QA/Firefox3.5/Private Browsing Test Plan: Difference between revisions

From MozillaWiki
< QA‎ | Firefox3.5
Jump to navigation Jump to search
No edit summary
 
(16 intermediate revisions by one other user not shown)
Line 28: Line 28:
***Confirm Pref Save and Close my Session
***Confirm Pref Save and Close my Session
*Exiting Private Browsing Mode
*Exiting Private Browsing Mode
*Cookies
**Unit tests should cover the various states that a cookie would be in when moving between normal->Private Browsing mode. We would want to have a few manual tests here.
*History
Unit tests should cover the various states that history would be in when moving between normal->Private Browsing mode. We would want to have a few manual tests here.
**Adding tags
**Adding keywords
**Confirm visited link coloring is turned off in private mode.
*Cache
**Memory cache
**Offline cache
*Content Prefs
**Unit tests will cover retaining zoom setting, for example. Need to figure out what other content prefs might be affected here.
*Passwords
**Unit tests will cover the UI piece (confirming the password prompt).
*Autocomplete/Location Bar
*DOM Storage
*Authenticated Sessions
*Download Manager
*Session Store
**[from ehsan] we currently do a little bit of work with the session restore at the start of the private mode and we need to special case it to just disable writing session data on disk if that pref is on, I guess...


*Kill Process/Crash while in Private Browsing Mode
*Kill Process/Crash while in Private Browsing Mode
Line 35: Line 65:
*Edge Cases
*Edge Cases
**Visiting the same site in both Private and Normal Browsing Modes
**Visiting the same site in both Private and Normal Browsing Modes
**Importing data during Private Browsing session


*Areas that will NOT be covered (by developer, third party, etc.)
*Areas that will NOT be covered (by developer, third party, etc.)
Line 51: Line 82:
**[https://bugzilla.mozilla.org/show_bug.cgi?id=411929 Private Browsing UI]
**[https://bugzilla.mozilla.org/show_bug.cgi?id=411929 Private Browsing UI]
**[https://bugzilla.mozilla.org/show_bug.cgi?id=248970 Private Browsing Mode]
**[https://bugzilla.mozilla.org/show_bug.cgi?id=248970 Private Browsing Mode]
**[https://bugzilla.mozilla.org/show_bug.cgi?id=460346 Always on Private Browsing Mode]
**[https://bugzilla.mozilla.org/show_bug.cgi?id=462218 Read the sessionstore data from the disk instead of keeping it in memory when saving the session for private browsing mode]
**[http://ehsanakhgari.org/blog/2008-11-04/dont-leave-trace-private-browsing-firefox Ehsan's blog post]
*ToDo List*
**[https://wiki.mozilla.org/User:Ehsan/PrivateBrowsingTodo Private Browsing To Do]
*Specs
**[https://wiki.mozilla.org/User:Mconnor/PrivateBrowsing Private Browsing Spec]
**[https://wiki.mozilla.org/User:Mconnor/PrivateBrowsing Private Browsing Spec]
*Unit Test Plans
**[https://wiki.mozilla.org/Firefox3.1/PrivateBrowsing/TestPlan Unit Test Plan]
*API for Extensions
**[https://wiki.mozilla.org/User:Ehsan/PrivateBrowsingForExtensions API for Extensions]
= Current Open Bugs =
*460609  Temporary files for helper applications are not deleted when leaving Private Browsing mode
*462218  Read the sessionstore data from the disk instead of keeping it in memory when saving the session for private browsing mode
*462579  Strip off Private Browsing license headers when building
*462639  Handle view-source windows in Private Browsing mode
*462832  Enable private browsing support for all of the Mozilla-based applications
= Litmus Test Cases added =
General Operation:
*https://litmus.mozilla.org/show_test.cgi?id=7395 Exit Private Browsing
*https://litmus.mozilla.org/show_test.cgi?id=7394 Enable Private Browsing
*https://litmus.mozilla.org/show_test.cgi?id=7398 Private Browsing Dialog: "Do not show this message again"
*https://litmus.mozilla.org/show_test.cgi?id=7415 Enable "Always on" Private Browsing Mode via about:config
Permissions:
*https://litmus.mozilla.org/show_test.cgi?id=7397 Verify permissions are disabled while in Private Browsing Mode
*https://litmus.mozilla.org/show_test.cgi?id=7396 Clear Error Console when exiting Private Browsing mode
*PB interacting with Clear Recent History
*https://litmus.mozilla.org/show_test.cgi?id=7412 Open Clear Recent History from about:privatebrowsing
Download Manager test case coverage:
*https://litmus.mozilla.org/show_test.cgi?id=7435 Verify download manager list is cleared when switching in/out of Private Browsing mode (window open)
*https://litmus.mozilla.org/show_test.cgi?id=7434 Verify download manager list is cleared when switching in/out of Private Browsing mode (window closed)

Latest revision as of 03:52, 24 March 2009

« QA/Firefox3.1/TestPlan

Private Browsing Test Plan
  • First draft created 9-15-08 by marcia - This is a work in progress

Overview

Provide a way for users to not be tracked when doing private browsing. According to mconnor's document, there should be a clear delineation between your "public" and "private" browsing sessions.

There will be some challenges with testing this feature since it is a complex area and many areas of stored data will need to be tested including:

    • Cookies
    • History
    • Cache
    • Content Prefs
    • User Passwords
    • Autocomplete
    • DOM storage
    • Authenicated Sessions
    • Downloads
    • Session Store

Test Strategy

  • Major areas of test coverage
    • Entering Private Browsing Mode
      • Confirm Pref Keep My Session Open
      • Confirm Pref Save and Close my Session
  • Exiting Private Browsing Mode
  • Cookies
    • Unit tests should cover the various states that a cookie would be in when moving between normal->Private Browsing mode. We would want to have a few manual tests here.
  • History

Unit tests should cover the various states that history would be in when moving between normal->Private Browsing mode. We would want to have a few manual tests here.

    • Adding tags
    • Adding keywords
    • Confirm visited link coloring is turned off in private mode.
  • Cache
    • Memory cache
    • Offline cache
  • Content Prefs
    • Unit tests will cover retaining zoom setting, for example. Need to figure out what other content prefs might be affected here.
  • Passwords
    • Unit tests will cover the UI piece (confirming the password prompt).
  • Autocomplete/Location Bar
  • DOM Storage
  • Authenticated Sessions
  • Download Manager
  • Session Store
    • [from ehsan] we currently do a little bit of work with the session restore at the start of the private mode and we need to special case it to just disable writing session data on disk if that pref is on, I guess...
  • Kill Process/Crash while in Private Browsing Mode
    • With Session Restore
    • Without Session Restore
  • Edge Cases
    • Visiting the same site in both Private and Normal Browsing Modes
    • Importing data during Private Browsing session

There will be a set of manual test cases that will be added to Litmus to cover this feature area.

Schedule Scoping

Estimate amount of time it will take to complete feature (Consider nightly builds, security reviews, bugs turnaround time)

References

Current Open Bugs

  • 460609 Temporary files for helper applications are not deleted when leaving Private Browsing mode
  • 462218 Read the sessionstore data from the disk instead of keeping it in memory when saving the session for private browsing mode
  • 462579 Strip off Private Browsing license headers when building
  • 462639 Handle view-source windows in Private Browsing mode
  • 462832 Enable private browsing support for all of the Mozilla-based applications

Litmus Test Cases added

General Operation:

Permissions:

Download Manager test case coverage: