Name Description Size Coverage
BaseHistory.cpp visited = 8188 96 %
BaseHistory.h A base class for history implementations that implement link coloring. 2963 100 %
BrowsingContext.cpp 165213 93 %
BrowsingContext.h Top()-only. If true, new-playing media will be suspended when in an \ inactive browsing context. 74661 94 %
BrowsingContextGroup.cpp 27181 94 %
BrowsingContextGroup.h 14031 100 %
BrowsingContextWebProgress.cpp 18165 70 %
BrowsingContextWebProgress.h 4012 100 %
CanonicalBrowsingContext.cpp 139946 87 %
CanonicalBrowsingContext.h 27133 98 %
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. 5217 -
LoadContext.cpp 6734 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 5730 -
moz.build 3147 -
nsAboutRedirector.cpp Entries which do not have URI_SAFE_FOR_UNTRUSTED_CONTENT will run with chrome privileges. This is potentially dangerous. Please use URI_SAFE_FOR_UNTRUSTED_CONTENT in the third argument to each map item below unless your about: page really needs chrome privileges. Security review is required before adding new map entries without URI_SAFE_FOR_UNTRUSTED_CONTENT. URI_SAFE_FOR_UNTRUSTED_CONTENT is not enough to let web pages load that page, for that you need MAKE_LINKABLE. NOTE: changes to this redir map need to be accompanied with changes to docshell/build/components.conf 14056 63 %
nsAboutRedirector.h 566 100 %
nsCTooltipTextProvider.h 482 -
nsDocShell.cpp 469764 90 %
nsDocShell.h internally used ViewMode types 55817 100 %
nsDocShellEditorData.cpp 3833 79 %
nsDocShellEditorData.h 2043 100 %
nsDocShellEnumerator.cpp 2332 89 %
nsDocShellEnumerator.h 1092 -
nsDocShellLoadState.cpp 56942 93 %
nsDocShellLoadState.h nsDocShellLoadState contains setup information used in a nsIDocShell::loadURI call. 26904 100 %
nsDocShellLoadTypes.h Load flag for error pages. This uses one of the reserved flag values from nsIWebNavigation. 8463 86 %
nsDocShellTelemetryUtils.cpp 3039 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. 790 -
nsDocShellTreeOwner.cpp 40255 68 %
nsDocShellTreeOwner.h nsDocShellTreeOwner_h_ 3333 0 %
nsDSURIContentListener.cpp 10062 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. 23121 -
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 3333 -
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. 10050 -
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. 1821 -
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 7430 -
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. 15501 -
nsIWebNavigationInfo.idl The nsIWebNavigationInfo interface exposes a way to get information on the capabilities of Gecko webnavigation objects. 1721 -
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 11571 90 %
nsPingListener.h nsPingListener_h_ 1098 100 %
nsRefreshTimer.cpp 1317 100 %
nsRefreshTimer.h nsRefreshTimer_h_ 876 100 %
nsWebNavigationInfo.cpp 2118 96 %
nsWebNavigationInfo.h 832 100 %
SerializedLoadContext.cpp 2616 93 %
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 16419 100 %
SyncedContextInlines.h aFromIPC 11688 73 %
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 41368 93 %
WindowContext.cpp static 30213 92 %
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. 19824 95 %