Name Description Size Coverage
compat 96 %
Directory.cpp static 5426 -
Directory.h Sets a semi-colon separated list of filters to filter-in or filter-out certain types of files when the contents of this directory are requested via a GetFilesAndDirectories() call. Currently supported keywords: * filter-out-sensitive This keyword filters out files or directories that we don't wish to make available to Web content because we are concerned that there is a risk that users may unwittingly give Web content access to them and suffer undesirable consequences. The details of what is filtered out can be found in GetDirectoryListingTask::Work. In future, we will likely support filtering based on filename extensions (for example, aFilters could be "*.jpg; *.jpeg; *.gif"), but that isn't supported yet. Once supported, files that don't match a specified extension (if any are specified) would be filtered out. This functionality would allow us to apply the 'accept' attribute from <input type=file directory accept="..."> to the results of a directory picker operation. 3636 100 %
FileSystemBase.cpp 3307 -
FileSystemBase.h Return the local root path of the FileSystem implementation. For OSFileSystem, this is equal to the path of the root Directory; For DeviceStorageFileSystem, this is the path of the SDCard, parent directory of the exposed root Directory (per type). 2481 50 %
FileSystemRequestParent.cpp 5326 -
FileSystemRequestParent.h 1063 67 %
FileSystemSecurity.cpp static 2854 -
FileSystemSecurity.h 1064 100 %
FileSystemTaskBase.cpp FileSystemTaskBase class 7933 -
FileSystemTaskBase.h 11580 44 %
FileSystemUtils.cpp static 2957 -
FileSystemUtils.h This class is for error handling. All methods in this class are static. 1403 -
GetDirectoryListingTask.cpp GetDirectoryListingTaskChild 12724 -
GetDirectoryListingTask.h 2917 -
GetFileOrDirectoryTask.cpp GetFileOrDirectoryTaskChild 7297 -
GetFileOrDirectoryTask.h 2383 -
GetFilesHelper.cpp 16293 -
GetFilesHelper.h 4834 95 %
GetFilesTask.cpp GetFilesTaskChild 6898 -
GetFilesTask.h 2727 -
moz.build 1068 -
OSFileSystem.cpp OSFileSystemParent 2276 -
OSFileSystem.h 2843 14 %
PFileSystemParams.ipdlh 1383 -
PFileSystemRequest.ipdl 1431 -
tests -