Name Description Size
components.conf 535
DownloadCore.jsm Main implementation of the Downloads API objects. Consumers should get references to these objects through the "Downloads.jsm" module. 106243
DownloadHistory.jsm Provides access to downloads from previous sessions on platforms that store them in a different location than session downloads. This module works with objects that are compatible with Download, while using the Places interfaces internally. Some of the Places objects may also be exposed to allow the consumers to integrate with history view commands. 28431
DownloadIntegration.jsm Provides functions to integrate with the host application, handling for example the global prompts on shutdown. 45115
DownloadLegacy.jsm This component implements the XPCOM interfaces required for integration with the legacy download components. New code is expected to use the "Downloads.jsm" module directly, without going through the interfaces implemented in this XPCOM component. These interfaces are only maintained for backwards compatibility with components that still work synchronously on the main thread. 16332
DownloadList.jsm Provides collections of Download objects and aggregate views on them. 18339
DownloadPaths.jsm Provides methods for giving names and paths to files being downloaded. 4120
DownloadPlatform.cpp 10716
DownloadPlatform.h 676
Downloads.jsm Main entry point to get references to all the back-end objects. 11150
DownloadStore.jsm Handles serialization of Download objects and persistence into a file, so that the state of downloads can be restored across sessions. The file is stored in JSON format, without indentation. With indentation applied, the file would look like this: { "list": [ { "source": "", "target": "/home/user/Downloads/download.txt" }, { "source": { "url": "", "referrerInfo": serialized string represents referrerInfo object }, "target": "/home/user/Downloads/download-2.txt" } ] } 6778
DownloadUIHelper.jsm Provides functions to handle status and messages in the user interface. 9731 1232
mozIDownloadPlatform.idl 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 @param aSource Source URI of the download @param aReferrer Referrer URI of the download @param aTarget Downloaded file @param aContentType The source's content type @param aIsPrivate True for private downloads @return Promise that resolves once operations have completed. 1871
test 2