Name Description Size Coverage
compat 90 %
Directory.cpp static 5547 88 %
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. 3757 100 %
FileSystemBase.cpp 3428 63 %
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). 2602 50 %
FileSystemRequestParent.cpp 5447 79 %
FileSystemRequestParent.h 1184 67 %
FileSystemSecurity.cpp static 2873 68 %
FileSystemSecurity.h 1185 100 %
FileSystemTaskBase.cpp FileSystemTaskBase class 8054 86 %
FileSystemTaskBase.h 11701 44 %
FileSystemUtils.cpp static 2552 76 %
FileSystemUtils.h This class is for error handling. All methods in this class are static. 1524 -
GetDirectoryListingTask.cpp GetDirectoryListingTaskChild 12845 86 %
GetDirectoryListingTask.h 3038 100 %
GetFileOrDirectoryTask.cpp GetFileOrDirectoryTaskChild 7418 83 %
GetFileOrDirectoryTask.h 2504 100 %
GetFilesHelper.cpp 16414 74 %
GetFilesHelper.h 4955 95 %
GetFilesTask.cpp GetFilesTaskChild 7019 80 %
GetFilesTask.h 2848 0 %
moz.build 1157 -
OSFileSystem.cpp OSFileSystemParent 2397 86 %
OSFileSystem.h 2964 14 %
PFileSystemParams.ipdlh 1383 -
PFileSystemRequest.ipdl 1547 -
tests 97 %