Changes

Jump to: navigation, search

Contribute to Private Browsing Tests

819 bytes added, 19:45, 26 September 2008
m
Project Details
== Project Details ==
* [https://wiki.mozilla.org/QA/Firefox3.1/Private_Browsing_Test_Plan Private Browsing Test Plan]
 
=== History Unit Test ===
* [[User:AaronMT|AaronMT]] 23:45, 26 September 2008 (UTC)
** Wrote a new function that creates a handful of history items with various visit types.
 
<pre>/**
* Function fills history and checks if date labels
* are correct for partially filled history
*
* @returns nothing
*/
 
function fill_history() {
const checkOlderOffset = 4;
 
// add visits for the older days
for (var i=checkOlderOffset; i<dayLabels.length; i++)
{
var testURI = uri("http://mirror"+i+".mozilla.com/b");
add_visit(testURI, -i);
var testURI = uri("https://mirror"+i+".mozilla.com/a");
add_visit(testURI, -i);
var testURI = uri("ftp://mirror"+i+".google.com/b");
add_visit(testURI, -i);
var testURI = uri("http://mirror"+i+".google.com/a");
add_visit(testURI, -i);
}
}</pre>
== Project Weekly TODO ==
1
edit

Navigation menu