Go to the source code of this file.
Functions | |
function | test () |
function | addDownload (dm, aParams) |
function | createURI (aObj) |
function addDownload | ( | dm, | |
aParams | |||
) |
Adds a download to the DM, and starts it. (Copied from toolkit/componentns/downloads/test/unit/head_download_manager.js)
aParams | (optional): an optional object which contains the function parameters: resultFileName: leaf node for the target file targetFile: nsIFile for the target (overrides resultFileName) sourceURI: the download source URI downloadName: the display name of the download runBeforeStart: a function to run before starting the download |
Definition at line 119 of file browser_privatebrowsing_downloadmonitor.js.
function createURI | ( | aObj | ) |
Definition at line 162 of file browser_privatebrowsing_downloadmonitor.js.
function test | ( | ) |
Definition at line 41 of file browser_privatebrowsing_downloadmonitor.js.