Name Description Size Coverage
BaseHistory.cpp visited = 8650 97 %
BaseHistory.h A base class for history implementations that implement link coloring. 3015 100 %
BrowsingContext.cpp 165893 92 %
BrowsingContext.h Top()-only. If true, new-playing media will be suspended when in an \ inactive browsing context. 76975 93 %
BrowsingContextGroup.cpp 27395 94 %
BrowsingContextGroup.h 14079 100 %
BrowsingContextWebProgress.cpp aDOMWindow 18187 65 %
BrowsingContextWebProgress.h 4012 100 %
CanonicalBrowsingContext.cpp 154094 87 %
CanonicalBrowsingContext.h 30913 88 %
ChildProcessChannelListener.cpp 1965 84 %
ChildProcessChannelListener.h 1825 100 %
crashtests -
IHistory.h Registers the Link for notifications about the visited-ness of aURI. Consumers should assume that the URI is unvisited after calling this, and they will be notified if that state (unvisited) changes by having VisitedQueryFinished called on themselves. Note that it may call synchronously if the answer is already known. @note VisitedQueryFinished must not call RegisterVisitedCallback or UnregisterVisitedCallback. @pre aURI must not be null. @pre aLink may be null only in the parent (chrome) process. @param aURI The URI to check. @param aLink The link to update whenever the history status changes. The implementation will only hold onto a raw pointer, so if this object should be destroyed, be sure to call UnregisterVistedCallback first. 5838 -
LoadContext.cpp aUsePrivateBrowsing 6629 83 %
LoadContext.h Class that provides nsILoadContext info in Parent process. Typically copied from Child via SerializedLoadContext. Note: this is not the "normal" or "original" nsILoadContext. That is typically provided by BrowsingContext. This is only used when the original docshell is in a different process and we need to copy certain values from it. 1848 -
metrics.yaml 5251 -
moz.build 3305 -
nsAboutRedirector.cpp async 14413 60 %
nsAboutRedirector.h 582 100 %
nsCTooltipTextProvider.h 482 -
nsDocShell.cpp 493202 90 %
nsDocShell.h internally used ViewMode types 58711 100 %
nsDocShellEditorData.cpp 3043 92 %
nsDocShellEditorData.h 1583 100 %
nsDocShellEnumerator.cpp 2332 89 %
nsDocShellEnumerator.h 1092 -
nsDocShellLoadState.cpp 64097 89 %
nsDocShellLoadState.h nsDocShellLoadState contains setup information used in a nsIDocShell::loadURI call. 28870 100 %
nsDocShellLoadTypes.h Load flag for error pages. This uses one of the reserved flag values from nsIWebNavigation. 8463 86 %
nsDocShellTelemetryUtils.cpp 3099 100 %
nsDocShellTelemetryUtils.h Convert page load errors to telemetry labels Only select nsresults are converted, otherwise this function will return "errorOther", view the list of errors at docshell/base/nsDocShellTelemetryUtils.cpp. 709 -
nsDSURIContentListener.cpp timer 10051 86 %
nsDSURIContentListener.h Closes the provided window async (if mShouldCloseWindow is true) and returns a valid browsingContext to be used instead as parent for dialogs or similar things. In case mShouldCloseWindow is true, the returned BrowsingContext will be the window's opener (or original cross-group opener in the case of a `noopener` popup). 3045 83 %
nsIDocShell.idl The nsIDocShell interface. 23023 -
nsIDocShellTreeItem.idl The nsIDocShellTreeItem supplies the methods that are required of any item that wishes to be able to live within the docshell tree either as a middle node or a leaf. 5730 -
nsIDocShellTreeOwner.idl The nsIDocShellTreeOwner 1845 -
nsIDocumentLoaderFactory.idl To get a component that implements nsIDocumentLoaderFactory for a given mimetype, use nsContentUtils::FindInternalDocumentViewer. This will look up the MIME type within the "Gecko-Content-Viewers" category, with additional handlers for other content types. 1410 -
nsIDocumentViewer.idl aAction is passed to PermitUnload to indicate what action to take if a beforeunload handler wants to prompt the user. ePrompt: Prompt and return the user's choice (default). eDontPromptAndDontUnload: Don't prompt and return false (unload not permitted) if the document (or its children) asks us to prompt. eDontPromptAndUnload: Don't prompt and return true (unload permitted) no matter what. NOTE: Keep this in sync with PermitUnloadAction in WindowGlobalActors.webidl. 10210 -
nsIDocumentViewerEdit.idl 1118 -
nsILoadContext.idl An nsILoadContext represents the context of a load. This interface can be queried for various information about where the load is happening. 4345 -
nsILoadURIDelegate.idl / #include "nsISupports.idl" interface nsIURI; interface nsIPrincipal; /** The nsILoadURIDelegate interface. Used for delegating URI loads to GeckoView's application, e.g., Custom Tabs or Progressive Web Apps. 1020 -
nsIPrivacyTransitionObserver.idl 406 -
nsIReflowObserver.idl Called when an uninterruptible reflow has occurred. @param start timestamp when reflow ended, in milliseconds since navigationStart (accurate to 1/1000 of a ms) @param end timestamp when reflow ended, in milliseconds since navigationStart (accurate to 1/1000 of a ms) 1210 -
nsIRefreshURI.idl Load a uri after waiting for aMillis milliseconds (as a result of a meta refresh). If the docshell is busy loading a page currently, the refresh request will be queued and executed when the current load finishes. @param aUri The uri to refresh. @param aPrincipal The triggeringPrincipal for the refresh load May be null, in which case the principal of current document will be applied. @param aMillis The number of milliseconds to wait. 1842 -
nsIScrollObserver.h Called when the scroll position of some element has changed. 1130 100 %
nsITooltipListener.idl An optional interface for embedding clients wishing to receive notifications for when a tooltip should be displayed or removed. The embedder implements this interface on the web browser chrome object associated with the window that notifications are required for. @see nsITooltipTextProvider 1631 -
nsITooltipTextProvider.idl An interface implemented by a tooltip text provider service. This service is called to discover what tooltip text is associated with the node that the pointer is positioned over. Embedders may implement and register their own tooltip text provider service if they wish to provide different tooltip text. The default service returns the text stored in the TITLE attribute of the node or a containing parent. @note The tooltip text provider service is registered with the contract defined in NS_TOOLTIPTEXTPROVIDER_CONTRACTID. @see nsITooltipListener @see nsIComponentManager @see Node 1509 -
nsIURIFixup.idl Interface indicating what we found/corrected when fixing up a URI 8139 -
nsIWebNavigation.idl The nsIWebNavigation interface defines an interface for navigating the web. It provides methods and attributes to direct an object to navigate to a new location, stop or restart an in process load, or determine where the object has previously gone. Even though this is builtinclass, most of the interface is also implemented in RemoteWebNavigation, so if this interface changes, the implementation there may also need to change. 15397 -
nsIWebNavigationInfo.idl The nsIWebNavigationInfo interface exposes a way to get information on the capabilities of Gecko webnavigation objects. 1403 -
nsIWebPageDescriptor.idl The nsIWebPageDescriptor interface allows content being displayed in one window to be loaded into another window without refetching it from the network. 829 -
nsPingListener.cpp // <a ping> support //***************************************************************************** #define PREF_PINGS_ENABLED "browser.send_pings" #define PREF_PINGS_MAX_PER_LINK "browser.send_pings.max_per_link" #define PREF_PINGS_REQUIRE_SAME_HOST "browser.send_pings.require_same_host" // Check prefs to see if pings are enabled and if so what restrictions might // be applied. // // @param maxPerLink // This parameter returns the number of pings that are allowed per link click // // @param requireSameHost // This parameter returns true if pings are restricted to the same host as // the document in which the click occurs. If the same host restriction is // imposed, then we still allow for pings to cross over to different // protocols and ports for flexibility and because it is not possible to send // a ping via FTP. // // @returns // true if pings are enabled and false otherwise. // static bool PingsEnabled(int32_t* aMaxPerLink, bool* aRequireSameHost) { bool allow = Preferences::GetBool(PREF_PINGS_ENABLED, false); aMaxPerLink = 1; aRequireSameHost = true; if (allow) { Preferences::GetInt(PREF_PINGS_MAX_PER_LINK, aMaxPerLink); Preferences::GetBool(PREF_PINGS_REQUIRE_SAME_HOST, aRequireSameHost); } return allow; } // We wait this many milliseconds before killing the ping channel... #define PING_TIMEOUT 10000 static void OnPingTimeout(nsITimer* /*aTimer 11611 90 %
nsPingListener.h nsPingListener_h_ 1112 100 %
nsRefreshTimer.cpp 1353 100 %
nsRefreshTimer.h nsRefreshTimer_h_ 921 100 %
nsWebNavigationInfo.cpp 2032 96 %
nsWebNavigationInfo.h 848 100 %
SerializedLoadContext.cpp 2616 97 %
SerializedLoadContext.h This file contains the IPC::SerializedLoadContext class, which is used to copy data across IPDL from Child process contexts so it is available in the Parent. 2963 97 %
SyncedContext.h 20214 100 %
SyncedContextInlines.h aFromIPC 16120 70 %
test 100 %
URIFixup.sys.mjs This component handles fixing up URIs, by correcting obvious typos and adding missing schemes. URI references: http://www.faqs.org/rfcs/rfc1738.html http://www.faqs.org/rfcs/rfc2396.html 43056 -
WindowContext.cpp static 24544 91 %
WindowContext.h Whether the SHEntry associated with the current top-level \ window has already seen user interaction. \ As such, this will be reset to false when a new SHEntry is \ created without changing the WC (e.g. when using pushState or \ sub-frame navigation) \ This flag is set for optimization purposes, to avoid \ having to get the top SHEntry and update it on every \ user interaction. \ This is only meaningful on the top-level WC. 18586 100 %