Go to the source code of this file.
Functions | |
function | uri (aFile) |
function | check_active_download (aURIString, aIsActive) |
destFile | append ("dm-test-file") |
function | do_test () |
Variables | |
let | pb |
let | destFile = dirSvc.get("TmpD", Ci.nsIFile) |
let | data |
function check_active_download | ( | aURIString, | |
aIsActive | |||
) |
Checks to ensure a URI string is in download history or not.
aURIString | The string of the URI to check. |
aIsActive | True if the URI should be actively downloaded, false otherwise. |
Definition at line 76 of file do_test_removeDataFromDomain_activeDownloads.js.
function do_test | ( | ) |
Definition at line 112 of file do_test_removeDataFromDomain_activeDownloads.js.
function uri | ( | aFile | ) |
Creates an nsIURI object for the given file.
aFile | The nsIFile of the URI to create. |
Definition at line 61 of file do_test_removeDataFromDomain_activeDownloads.js.
let data |
Definition at line 97 of file do_test_removeDataFromDomain_activeDownloads.js.
destFile = dirSvc.get("TmpD", Ci.nsIFile) |
Definition at line 94 of file do_test_removeDataFromDomain_activeDownloads.js.
let pb |
Test added with bug 460086 to test the behavior of the new API that was added to remove all traces of visiting a site.
Definition at line 48 of file do_test_removeDataFromDomain_activeDownloads.js.