Name Description Size Coverage
.eslintrc.mjs 891 -
AbuseReporter.sys.mjs Create an error info string from a fetch response object. @param {Response} response A fetch response object to convert into an errorInfo string. @returns {Promise<string>} The errorInfo string to be included in an AbuseReportError. 7943 93 %
AddonContentPolicy.cpp Enforces content policies for WebExtension scopes. Currently: - Checks custom content security policies for sufficiently stringent script-src and other script-related directives. - We also used to validate object-src similarly to script-src, but that was dropped because NPAPI plugins are no longer supported (see bug 1766881). 11674 96 %
AddonContentPolicy.h 732 100 %
AddonManager.sys.mjs 188788 89 %
AddonManagerStartup-inlines.h Object iterator base classes *************************************************************************** 5940 89 %
AddonManagerStartup.cpp URI utils *************************************************************************** 26346 91 %
AddonManagerStartup.h 1407 100 %
AddonManagerWebAPI.cpp unused 4811 82 %
AddonManagerWebAPI.h 797 -
amContentHandler.sys.mjs Handles a new request for an application/x-xpinstall file. @param aMimetype The mimetype of the file @param aContext The context passed to nsIChannel.asyncOpen @param aRequest The nsIRequest dealing with the content 3273 88 %
amIAddonManagerStartup.idl Reads and parses startup data from the addonState.json.lz4 file, checks for modifications, and returns the result. Returns null for an empty or nonexistent state file, but throws for an invalid one. 3444 -
amIWebInstallPrompt.idl amIWebInstallPrompt is used, if available, by the default implementation of amIWebInstallInfo to display a confirmation UI to the user before running installs. 987 -
amManager.sys.mjs This component serves as integration between the platform and AddonManager. It is responsible for initializing and shutting down the AddonManager as well as passing new installs from webpages to the AddonManager. 10981 79 %
amWebAPI.sys.mjs Helper to implement an asychronous method visible to content, where the method is implemented by sending a message to the parent process and then wrapping the returned object or error in an appropriate object. This helper method ensures that: - Returned Promise objects are from the content window - Rejected Promises have Error objects from the content window - Only non-internal errors are exposed to the caller @param {string} apiRequest The command to invoke in the parent process. @param {Array<cloneable>} apiArgs The arguments to include with the request to the parent process. @param {function} resultConvert If provided, a function called with the result from the parent process as an argument. Used to convert the result into something appropriate for content. @returns {Promise<any>} A Promise suitable for passing directly to content. 8283 92 %
Blocklist.sys.mjs -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 54216 95 %
ColorwayThemeMigration.sys.mjs 3155 94 %
components.conf 1831 -
content 94 %
default-theme -
docs -
extensions.manifest 744 -
gen_built_in_addons.py Returns the nearest parent of `path` which is an immediate child of `base` 3245 -
internal 91 %
jar.mn 1631 -
LightweightThemeManager.sys.mjs 8994 96 %
metrics.yaml 36056 -
metrics_legacy.yaml 45721 -
moz.build 2964 -
pings.yaml 796 -
test -