browser_privatebrowsing_downloadmonitor.js File Reference

Go to the source code of this file.

Functions

function test ()
 
function addDownload (dm, aParams)
 
function createURI (aObj)
 

Function Documentation

function addDownload (   dm,
  aParams 
)

Adds a download to the DM, and starts it. (Copied from toolkit/componentns/downloads/test/unit/head_download_manager.js)

Parameters
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.

Here is the call graph for this function:

Here is the caller graph for this function:

function createURI (   aObj)

Definition at line 162 of file browser_privatebrowsing_downloadmonitor.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function test ( )

Definition at line 41 of file browser_privatebrowsing_downloadmonitor.js.

Here is the call graph for this function:

Here is the caller graph for this function: