Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Perform platform specific operations when a download is done.
Windows: Add the download to the recent documents list Set the file to be indexed for searching Mac: Bounce the downloads dock icon GTK: Add the download to the recent documents list Save the source uri in the downloaded file's metadata Android: Scan media
Promise that resolves once operations have completed.
Source URI of the download
Referrer URI of the download
Downloaded file
The source's content type
True for private downloads
Generated using TypeDoc
Increases the reference count for this interface. The associated instance will not be deleted unless the reference count is returned to zero.
Returns
The resulting reference count.