Name Description Size Coverage
.nvmrc 8 -
AboutHomeStartupCache.sys.mjs AboutHomeStartupCache is responsible for reading and writing the initial about:home document from the HTTP cache as a startup performance optimization. It only works when the "privileged about content process" is enabled and when ENABLED_PREF is set to true. See https://firefox-source-docs.mozilla.org/browser/extensions/newtab/docs/v2-system-addon/about_home_startup_cache.html for further details. 30404 -
AboutNewTabComponents.sys.mjs @typedef {object} NewTabComponentConfiguration @property {string} type @property {string[]} l10nURLs @property {string} componentURL @property {string} tagName 7642 -
AboutNewTabRedirector.sys.mjs This nsIAboutModule is for about:home and about:newtab. The primary job of the AboutNewTabRedirector is to resolve requests to load about:home and about:newtab to the appropriate resources for those requests. The AboutNewTabRedirector is not involved when the user has overridden the default about:home or about:newtab pages. There are two implementations of this nsIAboutModule - one for the parent process, and one for content processes. Each one has some secondary responsibilties that are process-specific. The need for two implementations is an unfortunate consequence of how document loading and process redirection for about: pages currently works in Gecko. The commonalities between the two implementations has been put into an abstract base class. 20010 -
AboutNewTabResourceMapping.sys.mjs AboutNewTabResourceMapping is responsible for creating the mapping between the built-in add-on newtab code, and the chrome://newtab and resource://newtab URI prefixes (which are also used by the component mode for newtab, and acts as a compatibility layer). When the built-in add-on newtab is being read in from an XPI, the AboutNewTabResourceMapping is also responsible for doing dynamic Fluent and Glean ping/metric registration. 29446 -
components.conf 662 -
metrics.yaml 121758 -
moz.build 1236 -
pings.yaml 2883 -
SponsorProtection.sys.mjs This class tracks a list of <browser> elements that have done a navigation by way of a sponsored link from New Tab. The goal is to eventually apply client protections on these <browser> elements such that network traffic is forwarded through an HTTP CONNECT or MASQUE relay, thus hiding the client's real IP address from the advertiser site. A less unique UA string will also be assigned to <browser> elements under protection. 7264 -
test -