Confirmed users, Bureaucrats and Sysops emeriti
812
edits
Line 21: | Line 21: | ||
==History== | ==History== | ||
=== basic unit testing === | |||
* start with an empty history DB | |||
* create a handful of history items with various visit types | |||
* create a bookmark (Bookmark-A) | |||
* verify that IsVisited and other queries succesfully retrieve the history items | |||
* verify that the bookmark data is retrievable | |||
* enter private browsing mode | |||
* repeat the history verification step again via IsVisited only, should always return false. | |||
* try to get history data for the bookmark (Bookmark-A), should fail | |||
* Add another series of history items. | |||
* Check for the second set of history URLs, none should be stored or retrievable. | |||
* Check that Bookmark-A is accessible. | |||
* Add another bookmark (Bookmark-B) | |||
* Exit private browsing mode | |||
* Check that both bookmarks are still accessible. | |||
* Check that isVisited now works correctly for the original set of history items | |||
==Cache== | ==Cache== |