| 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.
|
30356 |
87 % |
| 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.
|
20343 |
88 % |
| AboutNewTabResourceMapping.sys.mjs |
Returns the greater of two version strings, treating an empty string as
"no version". Returns "" only when both are empty.
@param {string} a A version string (or "").
@param {string} b A version string (or "").
@returns {string} The higher of the two versions (either one when they are
equal), or "" if both are empty.
|
47347 |
85 % |
| components.conf |
|
1195 |
- |
| metrics.yaml |
|
96234 |
- |
| moz.build |
|
1201 |
- |
| MozNewTabRemoteRendererProtocolHandler.sys.mjs |
The protocol scheme handled by this handler.
|
3390 |
- |
| pings.yaml |
|
1918 |
- |
| 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 |
|
|
- |