mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 620342 test_annos_expire_policy.js uses uninitialized variable r=mano a=testing only
This commit is contained in:
parent
b5c424b242
commit
42fe2495ae
@ -117,6 +117,7 @@ function run_test() {
|
||||
// Expire all expirable pages.
|
||||
setMaxPages(0);
|
||||
|
||||
let now = Date.now() * 1000;
|
||||
// Add some bookmarked page and timed annotations for each.
|
||||
for (let i = 0; i < 5; i++) {
|
||||
let pageURI = uri("http://item_anno." + i + ".mozilla.org/");
|
||||
@ -146,7 +147,6 @@ function run_test() {
|
||||
}
|
||||
|
||||
// Add some visited page and timed annotations for each.
|
||||
let now = Date.now() * 1000;
|
||||
for (let i = 0; i < 5; i++) {
|
||||
let pageURI = uri("http://page_anno." + i + ".mozilla.org/");
|
||||
hs.addVisit(pageURI, now++, null, hs.TRANSITION_TYPED, false, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user