Name Description Size
AbstractRange.cpp 5528
AbstractRange.h 3316
AnonymousContent.cpp 7132
AnonymousContent.h 3273
Attr.cpp Implementation of DOM Core's Attr node. 6803
Attr.h Implementation of DOM Core's Attr node. 3244
AttrArray.cpp Storage of the children and attributes of a DOM node; storage for the two is unified to minimize footprint. 14798
AttrArray.h Storage of the attributes of a DOM node. 7632
AutocompleteFieldList.h This file contains the list of field names that are used in @autocomplete attribute for <input>, <select> and <textarea> controls. It is designed to be used as inline input through the magic of C preprocessing. The first argument to AUTOCOMPLETE_* macro is the identifier for the token The second argument is the string value of the token 8692
BarProps.cpp 7682
BarProps.h BarProps are the collection of little properties of DOM windows whose only property of their own is "visible". They describe the window chrome which can be made visible or not through JavaScript by setting the appropriate property (window.menubar.visible) 4187
BindContext.h State that is passed down to BindToTree. 5698
BodyConsumer.cpp Called on successfully reading the complete stream. 24054
BodyConsumer.h Returns a promise which will be resolved when the body is completely consumed and converted to the wanted type (See ConsumeType). @param aGlobal the global to construct the Promise. @param aMainThreadEventTarget the main-thread event target. The reading needs to start on the main-thread because of nsIInputStreamPump. @param aBodyStream the stream to read. @param aSignalImpl an AbortSignal object. Optional. @param aType the consume type. @param aBodyBlobURISpec this is used only if the consume type is CONSUME_BLOB. Optional. @param aBodyLocalPath local path in case the blob is created from a local file. Used only by CONSUME_BLOB. Optional. @param aBodyMimeType the mime-type for blob. Used only by CONSUME_BLOB. Optional. @param aBlobStorageType Blobs can be saved in temporary file. This is the type of blob storage to use. Used only by CONSUME_BLOB. @param aRv An ErrorResult. 4600
BodyStream.cpp static 15639
BodyStream.h 4914
BodyUtil.cpp A simple multipart/form-data parser as defined in RFC 2388 and RFC 2046. This does not respect any encoding specified per entry, using UTF-8 throughout. This is as the Fetch spec states in the consume body algorithm. Borrows some things from Necko's nsMultiMixedConv, but is simpler since unlike Necko we do not have to deal with receiving incomplete chunks of data. This parser will fail the entire parse on any invalid entry, so it will never return a partially filled FormData. The content-disposition header is used to figure out the name and filename entries. The inclusion of the filename parameter decides if the entry is inserted into the FormData as a string or a File. File blobs are copies of the underlying data string since we cannot adopt char* chunks embedded within the larger body without significant effort. FIXME(nsm): Bug 1127552 - We should add telemetry to calls to formData() and friends to figure out if Fetch ends up copying big blobs to see if this is worth optimizing. 15257
BodyUtil.h Creates an array buffer from an array, assigning the result to |aValue|. The array buffer takes ownership of |aInput|, which must be allocated by |malloc|. 2578
BorrowedAttrInfo.cpp 798
BorrowedAttrInfo.h Struct that stores info on an attribute. The name and value must either both be null or both be non-null. Note that, just as the pointers returned by GetAttrNameAt, the pointers that this struct hold are only valid until the element or its attributes are mutated (directly or via script). 1194
CharacterData.cpp Base class for DOM Core's Comment, DocumentType, Text, CDATASection and ProcessingInstruction nodes. 20599
CharacterData.h Base class for DOM Core's Comment, DocumentType, Text, CDATASection, and ProcessingInstruction nodes. 8189
ChildIterator.cpp 11978
ChildIterator.h Iterates over the children on a node. If a child is an insertion point, iterates over the children inserted there instead, or the default content if no children are inserted there. The FlattenedChildIterator expands any anonymous content bound from an XBL binding's <xbl:content> element. 11921
ChildProcessMessageManager.h 1300
ChromeMessageBroadcaster.cpp 803
ChromeMessageBroadcaster.h Implementation for the WebIDL ChromeMessageBroadcaster interface. Used for window and group message managers. 2143
ChromeMessageSender.cpp 761
ChromeMessageSender.h 1676
ChromeNodeList.cpp 1471
ChromeNodeList.h 968
ChromeUtils.cpp static 39888
ChromeUtils.h 8637
Comment.cpp Implementations of DOM Core's Comment node. 1950
Comment.h 1901
components.conf 1212
ContentAreaDropListener.jsm 11528
ContentBlockingLog.cpp UUID might not be uniform-distributed (although some part of it could be). In order to generate more random result, usually we use a hash function, but here we hope it's fast and doesn't have to be cryptographic-safe. |XorShift128PlusRNG| looks like a good alternative because it takes a 128-bit data as its seed and always generate identical sequence if the initial seed is the same. 7432
ContentBlockingLog.h 11679
ContentFrameMessageManager.cpp 856
ContentFrameMessageManager.h Base class for implementing the WebIDL ContentFrameMessageManager class. 2239
ContentIterator.cpp Init routines **************************************************** 27278
ContentIterator.h ContentIteratorBase is a base class of PostContentIterator, PreContentIterator and ContentSubtreeIterator. Making each concrete classes "final", compiler can avoid virtual calls if they are treated by the users directly. 8994
ContentProcessMessageManager.cpp 4125
ContentProcessMessageManager.h This class implements a singleton process message manager for content processes. Each child process has exactly one instance of this class, which hosts the process's process scripts, and may exchange messages with its corresponding ParentProcessMessageManager on the parent side. 3406
CORSMode.h The default of not using CORS to validate cross-origin loads. 916
crashtests 269
Crypto.cpp virtual 3129
Crypto.h 1349
CustomElementRegistry.cpp 50456
CustomElementRegistry.h 22123
DirectionalityUtils.cpp 47141
DirectionalityUtils.h Various methods for returning the directionality of a string using the first-strong algorithm defined in http://unicode.org/reports/tr9/#P2 @param[out] aFirstStrong the offset to the first character in the string with strong directionality, or UINT32_MAX if there is none (return value is eDir_NotSet). @return the directionality of the string 6011
DispatcherTrait.cpp 1043
DispatcherTrait.h 1714
DocGroup.cpp static 9017
DocGroup.h 4963
Document.cpp Base class for all our document implementations. 532864
Document.h 197526
DocumentFragment.cpp Implementation of DOM Core's DocumentFragment. 3728
DocumentFragment.h 3345
DocumentInlines.h 2134
DocumentOrShadowRoot.cpp 22397
DocumentOrShadowRoot.h A class meant to be shared by ShadowRoot and Document, that holds a list of stylesheets. TODO(emilio, bug 1418159): In the future this should hold most of the relevant style state, this should allow us to fix bug 548397. 8857
DocumentType.cpp Implementation of DOM Core's DocumentType node. 2874
DocumentType.h Implementation of DOM Core's DocumentType node. 2495
domerr.msg 15727
DOMException.cpp DOM4 errors from http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#domexception 12294
DOMException.h unused 5438
DOMImplementation.cpp 6747
DOMImplementation.h 2585
DOMIntersectionObserver.cpp 16546
DOMIntersectionObserver.h 5957
DOMMatrix.cpp 31950
DOMMatrix.h 12949
DOMMozPromiseRequestHolder.h This is a helper class that can be used when MozPromises are being consumed by binding layer code. It effectively creates a MozPromiseRequestHolder that auto-disconnects when the binding's global is disconnected. It can be used like this: RefPtr<Promise> SomeAsyncAPI(Args& aArgs, ErrorResult& aRv) { nsIGlobalObject* global = GetParentObject(); if (!global) { aRv.Throw(NS_ERROR_DOM_INVALID_STATE_ERR); return nullptr; } RefPtr<Promise> outer = Promise::Create(global, aRv); if (aRv.Failed()) { return nullptr; } RefPtr<DOMMozPromiseRequestHolder> holder = new DOMMozPromiseRequestHolder(global); DoAsyncStuff()->Then( global->EventTargetFor(TaskCategory::Other), __func__, [holder, outer] (const Result& aResult) { holder->Complete(); // Note, you can access the holder's bound global in // your reaction handler. Its mostly likely set if // the handler fires, but you still must check for // its existence since something could disconnect // the global between when the MozPromise reaction // runnable is queued and when it actually runs. nsIGlobalObject* global = holder->GetParentObject(); NS_ENSURE_TRUE_VOID(global); outer->MaybeResolve(aResult); }, [holder, outer] (nsresult aRv) { holder->Complete(); outer->MaybeReject(aRv); })->Track(*holder); return outer.forget(); } NOTE: Currently this helper class extends DETH. This is only so that it can bind to the global and receive the DisconnectFromOwner() method call. In this future the binding code should be factored out so DETH is not needed here. See bug 1456893. 3797
DOMParser.cpp 11024
DOMParser.h 3436
DOMPoint.cpp 4403
DOMPoint.h MOZILLA_DOMPOINT_H_ 3578
DOMQuad.cpp 5093
DOMQuad.h MOZILLA_DOMRECT_H_ 2953
DOMRect.cpp 5512
DOMRect.h 5242
DOMRequest.cpp virtual 8578
DOMRequest.h 2906
DOMRequestHelper.jsm Helper object for APIs that deal with DOMRequests and Promises. It allows objects inheriting from it to create and keep track of DOMRequests and Promises objects in the common scenario where requests are created in the child, handed out to content and delivered to the parent within an async message (containing the identifiers of these requests). The parent may send messages back as answers to different requests and the child will use this helper to get the right request object. This helper also takes care of releasing the requests objects when the window goes out of scope. DOMRequestIPCHelper also deals with message listeners, allowing to add them to the child side of frame and process message manager and removing them when needed. 9641
DOMStringList.cpp 1052
DOMStringList.h mozilla_dom_DOMStringList_h 2330
DOMTokenListSupportedTokens.h Definitions of supported tokens data types for nsDOMTokenList. This is in a separate header so Element.h can include it too. 1233
Element.cpp Base class for all element classes; this provides an implementation of DOM Core's Element, implements nsIContent, provides utility methods for subclasses, and so forth. 146041
Element.h Base class for all element classes; this provides an implementation of DOM Core's Element, implements nsIContent, provides utility methods for subclasses, and so forth. 80480
ElementInlines.h 1372
EventSource.cpp 58705
EventSource.h This implementation has support only for http requests. It is because the spec has defined event streams only for http. HTTP is required because this implementation uses some http headers: "Last-Event-ID", "Cache-Control" and "Accept". 3066
FlushType.h This is the enum used by Document::FlushPendingNotifications to decide what to flush. Please note that if you change these values, you should sync it with the flushTypeNames array inside PresShell::FlushPendingNotifications. 1910
FormData.cpp 11281
FormData.h 5087
FragmentOrElement.cpp Base class for all element classes and DocumentFragment. 70302
FragmentOrElement.h Base class for all element classes as well as nsDocumentFragment. This provides an implementation of nsINode, implements nsIContent, provides utility methods for subclasses, and so forth. 9431
FromParser.h Constants for passing as aFromParser 732
FullscreenChange.h Struct for holding fullscreen request. 5330
FuzzingFunctions.cpp static 12753
FuzzingFunctions.h ActivateModifiers() activates aModifiers in the TextInputProcessor. @param aTextInputProcessor The TIP whose modifier state you want to change. @param aModifiers Modifiers which you want to activate. @param aWidget The widget which should be set to WidgetKeyboardEvent. @param aRv Returns error if TextInputProcessor fails to dispatch a modifier key event. @return Modifiers which are activated by the call. 2774
gen-usecounters.py #ifndef %(name)s #define %(name)s(interface_, name_) // nothing #define DEFINED_%(name)s #endif 1962
GeneratedImageContent.cpp 1356
GeneratedImageContent.h A content node that keeps track of an index in the parent's `content` property value, used for url() values in the content of a ::before or ::after pseudo-element. 1823
HTMLSplitOnSpacesTokenizer.h 584
IdentifierMapEntry.h Entry for the Document or ShadowRoot's identifier map. 7685
IdleDeadline.cpp 2483
IdleDeadline.h 1686
IdleRequest.cpp 2126
IdleRequest.h 1569
IDTracker.cpp 6805
IDTracker.h Class to track what element is referenced by a given ID. To use it, call one of the Reset methods to set it up to watch a given ID. Call get() anytime to determine the referenced element (which may be null if the element isn't found). When the element changes, ElementChanged will be called, so subclass this class if you want to receive that notification. ElementChanged runs at safe-for-script time, i.e. outside of the content update. Call Unlink() if you want to stop watching for changes (get() will then return null). By default this is a single-shot tracker --- i.e., when ElementChanged fires, we will automatically stop tracking. get() will continue to return the changed-to element. Override IsPersistent to return true if you want to keep tracking after the first change. 6919
IframeSandboxKeywordList.h NOTE: no include guard; this file is meant to maybe be included multiple times. It has a list of the sandbox keywords we support, with their corresponding sandbox flags. 1686
ImageEncoder.cpp 15585
ImageEncoder.h The callback interface of ExtractDataAsync and ExtractDataFromLayersImageAsync. ReceiveBlobImpl() is called on main thread when encoding is complete. 5259
ImageTracker.cpp table of images used in a document, for batch locking/unlocking and animating 4058
ImageTracker.h table of images used in a document, for batch locking/unlocking and animating 2094
IndexedDBHelper.jsm Open a new database. User has to provide upgradeSchema. @param successCb Success callback to call once database is open. @param failureCb Error callback to call when an error is encountered. 7040
InProcessBrowserChildMessageManager.cpp static 11284
InProcessBrowserChildMessageManager.h This class implements a ContentFrameMessageManager for use by frame loaders in the parent process. It is bound to a DocShell rather than a BrowserChild, and does not use any IPC infrastructure for its message passing. 4860
IntlUtils.cpp 3910
IntlUtils.h 1535
Link.cpp 16022
Link.h This is the base class for all link classes. 5761
Location.cpp 16814
Location.h 4807
LocationBase.cpp 8936
LocationBase.h 2161
MaybeCrossOriginObject.cpp static 19449
MaybeCrossOriginObject.h Shared infrastructure for WindowProxy and Location objects. These are the objects that can be accessed cross-origin in the HTML specification. This class can be inherited from by the relevant proxy handlers to help implement spec algorithms. The algorithms this class implements come from <https://html.spec.whatwg.org/multipage/browsers.html#shared-abstract-operations>, <https://html.spec.whatwg.org/multipage/window-object.html#the-windowproxy-exotic-object>, and <https://html.spec.whatwg.org/multipage/history.html#the-location-interface>. The class is templated on its base so we can directly implement the things that should have identical implementations for WindowProxy and Location. The templating is needed because WindowProxy needs to be a wrapper and Location shouldn't be one. 13887
MessageBroadcaster.cpp 1341
MessageBroadcaster.h Implementation for the WebIDL MessageBroadcaster interface. Base class for window and process broadcaster message managers. 1848
MessageListenerManager.cpp 2093
MessageListenerManager.h Implementation for the WebIDL MessageListenerManager interface. Base class for message managers that are exposed to script. 1747
MessageManagerGlobal.cpp 1678
MessageManagerGlobal.h Base class for implementing the WebIDL MessageManagerGlobal class. 4890
MessageSender.cpp 991
MessageSender.h Implementation for the WebIDL MessageSender interface. Base class for frame and child process message managers. 1073
MimeType.cpp static 9608
MimeType.h 2578
moz.build 14391
mozAutoDocUpdate.h Helper class to automatically handle batching of document updates. This class will call BeginUpdate on construction and EndUpdate on destruction on the given document with the given update type. The document could be null, in which case no updates will be called. The constructor also takes a boolean that can be set to false to prevent notifications. 1724
mozIDOMWindow.idl Placeholder interfaces to allow passing inner/outer windows through XPIDL. 551
MozQueryInterface.cpp static 2794
MozQueryInterface.h This class implements an optimized QueryInterface method for XPConnect-wrapped JS objects. For JavaScript callers, it behaves as an ordinary QueryInterface method, returning its `this` object or throwing depending on the interface it was passed. For native XPConnect callers, we bypass JSAPI entirely, and directly check whether the queried interface is in the interfaces list. 1736
MutationObservers.cpp Whitelist NativeAnonymousChildListChange removal notifications from \ the assertion since it runs from UnbindFromTree, and thus we don't \ reach the document, but doesn't matter. 12310
MutationObservers.h Send CharacterDataWillChange notifications to nsIMutationObservers. @param aContent Node whose data changed @param aInfo Struct with information details about the change @see nsIMutationObserver::CharacterDataWillChange 6660
NameSpaceConstants.h 1300
Navigator.cpp static 63605
Navigator.h // Navigator: Script "navigator" object //***************************************************************************** namespace mozilla { namespace dom { class Permissions; namespace battery { class BatteryManager; } // namespace battery class Promise; class Gamepad; class GamepadServiceTest; class NavigatorUserMediaSuccessCallback; class NavigatorUserMediaErrorCallback; class MozGetUserMediaDevicesSuccessCallback; struct MIDIOptions; namespace network { class Connection; } // namespace network class Presentation; class LegacyMozTCPSocket; class VRDisplay; class VRServiceTest; class StorageManager; class MediaCapabilities; class MediaSession; struct ShareData; class WindowGlobalChild; class Navigator final : public nsISupports, public nsWrapperCache { public: explicit Navigator(nsPIDOMWindowInner* aInnerWindow); NS_DECL_CYCLE_COLLECTING_ISUPPORTS NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(Navigator) static void Init(); void Invalidate(); nsPIDOMWindowInner* GetWindow() const { return mWindow; } void RefreshMIMEArray(); size_t SizeOfIncludingThis(mozilla::MallocSizeOf aMallocSizeOf) const; /** For use during document.write where our inner window changes. 10277
NodeInfo.cpp Class that represents a prefix/namespace/localName triple; a single nodeinfo is shared by all elements in a document that have that prefix, namespace, and localName. 6267
NodeInfo.h Class that represents a prefix/namespace/localName triple; a single nodeinfo is shared by all elements in a document that have that prefix, namespace, and localName. nsNodeInfoManagers are internal objects that manage a list of NodeInfos, every document object should hold a strong reference to a nsNodeInfoManager and every NodeInfo also holds a strong reference to their owning manager. When a NodeInfo is no longer used it will automatically remove itself from its owner manager, and when all NodeInfos have been removed from a nsNodeInfoManager and all external references are released the nsNodeInfoManager deletes itself. 9801
NodeInfoInlines.h mozilla_dom_NodeInfoInlines_h___ 4247
NodeIterator.cpp Implementation of DOM Traversal's NodeIterator 5516
NodeIterator.h Implementation of DOM Traversal's NodeIterator 2657
NodeUbiReporting.cpp 2533
NodeUbiReporting.h This file defines specializations of JS::ubi::Concrete for DOM nodes so that the JS memory tools, which operate on the UbiNode graph, can define subclasses of JS::ubi::Base that represent DOM nodes and yield the outgoing edges in a DOM node graph for reporting. 2852
nsAttrName.h Class that represents the name (nodeinfo or atom) of an attribute; using nodeinfos all the time is too slow, so we use atoms when we can. 5218
nsAttrValue.cpp A struct that represents the value (type and actual data) of an attribute. 55723
nsAttrValue.h A struct that represents the value (type and actual data) of an attribute. 20045
nsAttrValueInlines.h Implementation of inline methods 8186
nsAttrValueOrString.cpp 801
nsAttrValueOrString.h A wrapper to contain either an nsAttrValue or an nsAString. This is useful because constructing an nsAttrValue from an nsAString can be expensive when the buffer of the string is not shared. This treats nsAttrValueOrString(nullptr) as the empty string, to help with contexts where a null pointer denotes an empty value. Since a raw pointer to the passed-in string is kept, this class should only be used on the stack. 2772
nsCaseTreatment.h This is the enum used by functions that need to be told whether to do case-sensitive or case-insensitive string comparisons. 611
nsCCUncollectableMarker.cpp static 15520
nsCCUncollectableMarker.h Inits a global nsCCUncollectableMarker. Should only be called once. 1294
nsChildContentList.h Class that implements the nsINodeList interface (a list of children of the content), by holding a reference to the content and delegating Length and Item to its existing child list. @see nsINodeList 2490
nsContentAreaDragDrop.cpp 33777
nsContentAreaDragDrop.h Determine what data in the content area, if any, is being dragged. aWindow - the window containing the target node aTarget - the mousedown event target that started the drag aSelectionTargetNode - the node where the drag event should be fired aIsAltKeyPressed - true if the Alt key is pressed. In some cases, this will prevent the drag from occuring. For example, holding down Alt over a link should select the text, not drag the link. aDataTransfer - the dataTransfer for the drag event. aCanDrag - [out] set to true if the drag may proceed, false to stop the drag entirely aSelection - [out] set to the selection being dragged, or null if no selection is being dragged. aDragNode - [out] the link, image or area being dragged, or null if the drag occurred on another element. aPrincipal - [out] set to the triggering principal of the drag, or null if it's from browser chrome or OS aCSP - [out] set to the CSP of the Drag, or null if it's from browser chrome or OS 3219
nsContentCID.h d9783472-8fe9-11d2-9d3c-0060088f9ff7 7912
nsContentCreatorFunctions.h Functions to create content, to be used only inside Gecko (mozilla/content and mozilla/layout). 2536
nsContentList.cpp nsBaseContentList is a basic list of content nodes; nsContentList is a commonly used NodeList implementation (used for getElementsByTagName, some properties on HTMLDocument/Document, etc). 33404
nsContentList.h nsBaseContentList is a basic list of content nodes; nsContentList is a commonly used NodeList implementation (used for getElementsByTagName, some properties on HTMLDocument/Document, etc). 21929
nsContentListDeclarations.h A function that allocates the matching data for this FuncStringContentList. Returning aString is perfectly fine; in that case the destructor function should be a no-op. 2487
nsContentPermissionHelper.cpp listener 33251
nsContentPermissionHelper.h 8649
nsContentPolicy.cpp Implementation of the "@mozilla.org/layout/content-policy;1" contract. 7225
nsContentPolicy.h Implementation of the "@mozilla.org/layout/content-policy;1" contract. 1259
nsContentPolicyUtils.h Utility routines for checking content load/process policy settings, and routines helpful for content policy implementors. XXXbz it would be nice if some of this stuff could be out-of-lined in nsContentUtils. That would work for almost all the callers... 13038
nsContentSink.cpp Base class for the XML and HTML content sinks, which construct a DOM based on information from the parser. 48826
nsContentSink.h Base class for the XML and HTML content sinks, which construct a DOM based on information from the parser. 11730
nsContentTypeParser.cpp 958
nsContentTypeParser.h 687
nsContentUtils.cpp A namespace class for static layout utilities. 337368
nsContentUtils.h A namespace class for static content utilities. 135869
nsCopySupport.cpp 32510
nsCopySupport.h @param aDoc Needs to be not nullptr. 4720
nsDataDocumentContentPolicy.cpp Content policy implementation that prevents all loads of images, subframes, etc from documents loaded as data (eg documents loaded via XMLHttpRequest). 6361
nsDataDocumentContentPolicy.h Content policy implementation that prevents all loads of images, subframes, etc from documents loaded as data (eg documents loaded via XMLHttpRequest). 1307
nsDeprecatedOperationList.h This file contains the list of deprecated DOM operations. It is designed to be used as input to the C preprocessor *only*. 2704
nsDocElementCreatedNotificationRunner.h nsRunnable 1036
nsDocumentEncoder.cpp Object that can be used to serialize selections, ranges, or nodes to strings in a gazillion different ways. 59325
nsDocumentWarningList.h This file contains the list of document DOM operations warnings. It is designed to be used as input to the C preprocessor *only*. 763
nsDOMAttributeMap.cpp Implementation of the |attributes| property of DOM Core's Element object. 12844
nsDOMAttributeMap.h Implementation of the |attributes| property of DOM Core's Element object. 5337
nsDOMCaretPosition.cpp 1848
nsDOMCaretPosition.h Implementation of a DOM Caret Position, which is a node and offset within that node, in the DOM tree. http://www.w3.org/TR/cssom-view/#dom-documentview-caretrangefrompoint @see Document::caretPositionFromPoint(float x, float y) 2987
nsDOMCID.h 9eb760f0-4380-11d2-b328-00805f8a3859 1115
nsDOMDataChannel.cpp virtual 15216
nsDOMDataChannel.h 4495
nsDOMDataChannelDeclarations.h 880
nsDOMJSUtils.h 1066
nsDOMMutationObserver.cpp 36111
nsDOMMutationObserver.h 27803
nsDOMNavigationTiming.cpp 18506
nsDOMNavigationTiming.h 6617
nsDOMSerializer.cpp 3084
nsDOMSerializer.h 1347
nsDOMString.h nsDOMString_h___ 598
nsDOMTokenList.cpp Implementation of DOMTokenList specified by HTML5. 10396
nsDOMTokenList.h Implementation of DOMTokenList specified by HTML5. 3515
nsDOMWindowUtils.cpp 129061
nsDOMWindowUtils.h 3507
nsFocusManager.cpp 152962
nsFocusManager.h The focus manager keeps track of where the focus is, that is, the node which receives key events. 26730
nsFrameLoader.cpp Class for managing loading of a subframe (creation of the docshell, handling of loads in it, recursion-checking). 122479
nsFrameLoader.h Class for managing loading of a subframe (creation of the docshell, handling of loads in it, recursion-checking). 19306
nsFrameLoaderOwner.cpp 8072
nsFrameLoaderOwner.h 2885
nsFrameMessageManager.cpp 57062
nsFrameMessageManager.h 17434
nsGlobalWindow.h nsGlobalWindow_h___ 697
nsGlobalWindowCommands.cpp 44758
nsGlobalWindowCommands.h Search through nsGlobalWindowCommands to find the keyboard scrolling action that would be done in response to a command. @param aCommandName the name of the command @param aOutAction the result of searching for this command, must not be null @returns whether a keyboard action was found or not 1326
nsGlobalWindowInner.cpp 243287
nsGlobalWindowInner.h 59267
nsGlobalWindowOuter.cpp 274398
nsGlobalWindowOuter.h 45954
nsHistory.cpp 7958
nsHistory.h nsHistory_h___ 2575
nsHTMLContentSerializer.cpp nsIContentSerializer implementation that can be used with an nsIDocumentEncoder to convert an HTML (not XHTML!) DOM to an HTML string that could be parsed into more or less the original DOM. 15386
nsHTMLContentSerializer.h nsIContentSerializer implementation that can be used with an nsIDocumentEncoder to convert an HTML (not XHTML!) DOM to an HTML string that could be parsed into more or less the original DOM. 1910
nsIAnimationObserver.h 2330
nsIContent.h A node of content in a document's content model. This interface is supported by all content objects. 32427
nsIContentInlines.h 7937
nsIContentPolicy.idl The type of nsIContentPolicy::TYPE_* 16549
nsIContentSerializer.h @param aOutput The `Append*` methods will append to this string. The reference to it will be dropped with `Finish`. 3459
nsIDocumentEncoder.idl Create a fixed up version of a node. This method is called before each node in a document is about to be persisted. The implementor may return a new node with fixed up attributes or null. If null is returned the node should be used as-is. @param aNode Node to fixup. @param [OUT] aSerializeCloneKids True if the document encoder should apply recursive serialization to the children of the fixed up node instead of the children of the original node. @return The resulting fixed up node. 12668
nsIDocumentObserver.h Notify that a content model update is beginning. This call can be nested. 4559
nsIDOMRequestService.idl 817
nsIDroppedLinkHandler.idl Returns the URL of the link. 4311
nsIGlobalObject.cpp 7762
nsIGlobalObject.h This check is added to deal with Promise microtask queues. On the main thread, we do not impose restrictions about when script stops running or when runnables can no longer be dispatched to the main thread. This means it is possible for a Promise chain to keep resolving an infinite chain of promises, preventing the browser from shutting down. See Bug 1058695. To prevent this, the nsGlobalWindow subclass sets this flag when it is closed. The Promise implementation checks this and prohibits new runnables from being dispatched. We pair this with checks during processing the promise microtask queue that pops up the slow script dialog when the Promise queue is preventing a window from going away. 6811
nsIImageLoadingContent.idl This interface represents a content node that loads images. The interface exists to allow getting information on the images that the content node loads and to allow registration of observers for the image loads. Implementors of this interface should handle all the mechanics of actually loading an image -- getting the URI, checking with content policies and the security manager to see whether loading the URI is allowed, performing the load, firing any DOM events as needed. An implementation of this interface may support the concepts of a "current" image and a "pending" image. If it does, a request to change the currently loaded image will start a "pending" request which will become current only when the image is loaded. It is the responsibility of observers to check which request they are getting notifications for. Please make sure to update the MozImageLoadingContent WebIDL mixin to mirror this interface when changing it. 6916
nsImageLoadingContent.cpp A base class which implements nsIImageLoadingContent and can be subclassed by various content nodes that want to provide image loading functionality (eg <img>, <object>, etc). 59563
nsImageLoadingContent.h A base class which implements nsIImageLoadingContent and can be subclassed by various content nodes that want to provide image loading functionality (eg <img>, <object>, etc). 22992
nsIMessageManager.idl 665
nsIMutationObserver.h Information details about a characterdata change. Basically, we view all changes as replacements of a length of text at some offset with some other text (of possibly some other length). 16386
nsINode.cpp Base class for all DOM nodes. 103241
nsINode.h @return true if aChar is what the WHATWG defines as a 'ascii whitespace'. https://infra.spec.whatwg.org/#ascii-whitespace 80867
nsINodeList.h An internal interface for a reasonably fast indexOf. 1555
nsIObjectLoadingContent.idl This interface represents a content node that loads objects. Please make sure to update the MozObjectLoadingContent WebIDL mixin to mirror this interface when changing it. 6414
nsIRemoteWindowContext.idl Determines if the window is in private browsing. 639
nsIScriptableContentIterator.idl nsIScriptableContentIterator is designed to testing concrete classes of ContentIteratorBase. 2364
nsIScriptChannel.idl An interface representing a channel which will have to execute some sort of program provided via its URI to compute the data it should return. If a channel implements this interface, the execution of the program in question will be restricted in the following ways: - If the channel does not have an owner principal, the program will not be executed at all, no matter what. This is necessary because in this circumstance we have no way to tell whether script execution is allowed at all for the originating security context of this channel. - If the channel has an owner principal, how it is executed is controlled by this interface. However if the owner principal does not subsume the principal of the environment in which the program is to be executed the execution will be forced to happen in a sandbox. 2847
nsIScriptContext.h It is used by the application to initialize a runtime and run scripts. A script runtime would implement this interface. 3007
nsIScriptGlobalObject.h The global object which keeps a script context for each supported script language. This often used to store per-window global state. This is a heavyweight interface implemented only by DOM globals, and it might go away some time in the future. 3128
nsIScriptObjectPrincipal.h JS Object Principal information. 1168
nsISelectionController.idl SetDisplaySelection will set the display mode for the selection. OFF,ON,DISABLED 14606
nsISelectionDisplay.idl SetSelectionFlags used to set whether you want to see HRULES/IMAGES with border. also used to tell if the presshell is an editor right now. this should change @param aToggle -either DISPLAY_(TEXT,IMAGES,FRAMES,ALL) This will tell the rendering engine to draw the different selection types. 1405
nsISelectionListener.idl bitflags 928
nsISizeOfEventTarget.h This class is much the same as nsISizeOf, but is specifically for measuring the contents of nsGlobalWindow::mEventTargetObjects. We don't use nsISizeOf because if we did, any object belonging to mEventTargetObjects that implements nsISizeOf would be measured, which we may not want (perhaps because the object is also measured elsewhere). 1554
nsISlowScriptDebug.idl 1123
nsIStyleSheetLinkingElement.h Used to make the association between a style sheet and the element that linked it to the document. @param aStyleSheet the style sheet associated with this element. 6027
nsJSEnvironment.cpp 89976
nsJSEnvironment.h 7192
nsJSUtils.cpp This is not a generated file. It contains common utility functions invoked from the JavaScript code generated from IDL interfaces. The goal of the utility functions is to cut down on the size of the generated code itself. 19427
nsJSUtils.h This is not a generated file. It contains common utility functions invoked from the JavaScript code generated from IDL interfaces. The goal of the utility functions is to cut down on the size of the generated code itself. 11936
nsLineBreaker.cpp NBSP 18288
nsLineBreaker.h A receiver of line break data. 11319
nsMappedAttributeElement.cpp 1355
nsMappedAttributeElement.h nsMappedAttributeElement is the base for elements supporting style mapped attributes via nsMappedAttributes (HTML and MathML). 1703
nsMappedAttributes.cpp A unique per-element set of attributes that is used as an nsIStyleRule; used to implement presentational attributes. 8309
nsMappedAttributes.h A unique per-element set of attributes that is used as an nsIStyleRule; used to implement presentational attributes. 4077
nsMimeTypeArray.cpp 5694
nsMimeTypeArray.h nsMimeTypeArray_h___ 3209
nsNameSpaceManager.cpp A class for managing namespace IDs and mapping back and forth between namespace IDs and namespace URIs. 8935
nsNameSpaceManager.h The Name Space Manager tracks the association between a NameSpace URI and the int32_t runtime id. Mappings between NameSpaces and NameSpace prefixes are managed by nsINameSpaces. All NameSpace URIs are stored in a global table so that IDs are consistent accross the app. NameSpace IDs are only consistent at runtime ie: they are not guaranteed to be consistent accross app sessions. The nsNameSpaceManager needs to have a live reference for as long as the NameSpace IDs are needed. 2992
nsNoDataProtocolContentPolicy.cpp Content policy implementation that prevents all loads of images, subframes, etc from protocols that don't return data but rather open applications (such as mailto). 2989
nsNoDataProtocolContentPolicy.h Content policy implementation that prevents all loads of images, subframes, etc from documents loaded as data (eg documents loaded via XMLHttpRequest). 1324
nsNodeInfoManager.cpp A class for handing out nodeinfos and ensuring sharing of them as needed. 11743
nsNodeInfoManager.h A class for handing out nodeinfos and ensuring sharing of them as needed. 5413
nsObjectLoadingContent.cpp A base class implementing nsIObjectLoadingContent for use by various content nodes that want to provide plugin/document/image loading functionality (eg <embed>, <object>, etc). 118975
nsObjectLoadingContent.h A base class implementing nsIObjectLoadingContent for use by various content nodes that want to provide plugin/document/image loading functionality (eg <embed>, <object>, etc). 26243
nsOpenURIInFrameParams.cpp 2730
nsOpenURIInFrameParams.h 1323
nsPIDOMWindow.h 38403
nsPIDOMWindowInlines.h 1988
nsPIWindowRoot.h @param aForVisibleWindow true if caller needs controller which is associated with visible window. 2648
nsPlainTextSerializer.cpp nsIContentSerializer implementation that can be used with an nsIDocumentEncoder to convert a DOM into plaintext in a nice way (eg for copy/paste as plaintext). 63671
nsPlainTextSerializer.h nsIContentSerializer implementation that can be used with an nsIDocumentEncoder to convert a DOM into plaintext in a nice way (eg for copy/paste as plaintext). 12976
nsPluginArray.cpp 14963
nsPluginArray.h A separate list of click-to-play plugins that we don't tell content about but keep track of so we can still prompt the user to click to play. 4135
nsPropertyTable.cpp nsPropertyTable allows a set of arbitrary key/value pairs to be stored for any number of nodes, in a global hashtable rather than on the nodes themselves. Nodes can be any type of object; the hashtable keys are nsAtom pointers, and the values are void pointers. 9382
nsPropertyTable.h nsPropertyTable allows a set of arbitrary key/value pairs to be stored for any number of nodes, in a global hashtable rather than on the nodes themselves. Nodes can be any type of object; the hashtable keys are nsAtom pointers, and the values are void pointers. 6657
nsQueryContentEventResult.cpp Is*PropertyAvailable() methods which check if the property is available (valid) with the event message. **************************************************************************** 7573
nsQueryContentEventResult.h 1221
nsRange.cpp Implementation of the DOM Range object. 105507
nsRange.h Implementation of the DOM Range object. 18834
nsSandboxFlags.h Constant flags that describe how a document is sandboxed according to the HTML5 spec. 3786
nsScreen.cpp static 9824
nsScreen.h nsScreen_h___ 3686
nsStructuredCloneContainer.cpp 4227
nsStructuredCloneContainer.h 38bd0634-0fd4-46f0-b85f-13ced889eeec 1225
nsStubAnimationObserver.cpp 424
nsStubAnimationObserver.h 587
nsStubDocumentObserver.cpp nsStubDocumentObserver is an implementation of the nsIDocumentObserver interface (except for the methods on nsISupports) that is intended to be used as a base class within the content/layout library. All methods do nothing. 856
nsStubDocumentObserver.h nsStubDocumentObserver is an implementation of the nsIDocumentObserver interface (except for the methods on nsISupports) that is intended to be used as a base class within the content/layout library. All methods do nothing. 1362
nsStubMutationObserver.cpp nsStubMutationObserver is an implementation of the nsIMutationObserver interface (except for the methods on nsISupports) that is intended to be used as a base class within the content/layout library. All methods do nothing. 731
nsStubMutationObserver.h nsStubMutationObserver is an implementation of the nsIMutationObserver interface (except for the methods on nsISupports) that is intended to be used as a base class within the content/layout library. All methods do nothing. 1362
nsStyledElement.cpp 7603
nsStyledElement.h nsStyledElement is the base for elements supporting styling via the id/class/style attributes; it is a common base for their support in HTML, SVG and MathML. 3522
nsStyleLinkElement.cpp A base class which implements nsIStyleSheetLinkingElement and can be subclassed by various content nodes that want to load stylesheets (<style>, <link>, processing instructions, etc). 12081
nsStyleLinkElement.h A base class which implements nsIStyleSheetLinkingElement and can be subclassed by various content nodes that want to load stylesheets (<style>, <link>, processing instructions, etc). 5055
nsSyncLoadService.cpp A service that provides methods for synchronously loading a DOM in various ways. 10684
nsSyncLoadService.h A service that provides methods for synchronously loading a DOM in various ways. 2555
nsTextFragment.cpp A class which represents a fragment of text (eg inside a text node); if only codepoints below 256 are used, the text is stored as a char*; otherwise the text is stored as a char16_t* 15358
nsTextFragment.h A class which represents a fragment of text (eg inside a text node); if only codepoints below 256 are used, the text is stored as a char*; otherwise the text is stored as a char16_t* 10046
nsTextFragmentImpl.h 1357
nsTextFragmentSSE2.cpp 2237
nsTextFragmentVMX.cpp 3319
nsTextNode.cpp Implementation of DOM Core's Text node. 8535
nsTextNode.h Implementation of DOM Core's Text node. 1964
nsTraversal.cpp destructor code 1863
nsTraversal.h Implementation of common traversal methods for TreeWalker and NodeIterator. 1233
nsTreeSanitizer.cpp 57211
nsTreeSanitizer.h See the documentation of nsIParserUtils::sanitize for documentation about the default behavior and the configuration options of this sanitizer. 8008
nsViewportInfo.cpp 1752
nsViewportInfo.h Default values for the nsViewportInfo class. 4464
nsWindowMemoryReporter.cpp Don't trigger a ghost window check when a DOM window is detached if we've run it this recently. 35718
nsWindowMemoryReporter.h nsWindowMemoryReporter is responsible for the 'explicit/window-objects' memory reporter. We classify DOM window objects into one of three categories: - "active" windows, which are displayed in a tab (as the top-level window or an iframe), - "cached" windows, which are in the fastback cache (aka the bfcache), and - "detached" windows, which have a null docshell. A window becomes detached when its <iframe> or tab containing the window is destroyed -- i.e., when the window is no longer active or cached. Additionally, we classify a subset of detached windows as "ghost" windows. Although ghost windows can happen legitimately (a page can hold a reference to a cross-domain window and then close its container), the presence of ghost windows is often indicative of a memory leak. A window is a ghost if it meets the following three criteria: 1) The window is detached. 2) There exist no non-detached windows with the same base domain as the window's principal. (For example, the base domain of "wiki.mozilla.co.uk" is "mozilla.co.uk".) This criterion makes us less likely to flag a legitimately held-alive detached window as a ghost. 3) The window has met criteria (1) and (2) above for at least memory.ghost_window_timeout_seconds. This criterion is in place so we don't immediately declare a window a ghost before the GC/CC has had a chance to run. nsWindowMemoryReporter observes window detachment and uses mDetachedWindows to remember when a window first met criteria (1) and (2). When we generate a memory report, we use this accounting to determine which windows are ghosts. We use the following memory reporter path for active and cached windows: explicit/window-objects/top(<top-outer-uri>, id=<top-outer-id>)/ <category>/window(<window-uri>)/... For detached and ghost windows, we use explicit/window-objects/top(none)/<category>/window(<window-uri>)/... Where - <category> is "active", "cached", "detached", or "ghost", as described above. - <top-outer-id> is the window id of the top outer window (i.e. the tab, or the top level chrome window). Exposing this ensures that each tab gets its own sub-tree, even if multiple tabs are showing the same URI. - <top-uri> is the URI of the top window. Excepting special windows (such as browser.xhtml or hiddenWindow.html) it's what the address bar shows for the tab. 6179
nsWindowRoot.cpp 11200
nsWindowRoot.h 3933
nsWindowSizes.h 6342
nsWrapperCache.cpp static 4159
nsWrapperCache.h Class to store the wrapper for an object. This can only be used with objects that only have one non-security wrapper at a time (for an XPCWrappedNative this is usually ensured by setting an explicit parent in the PreCreate hook for the class). An instance of nsWrapperCache can be gotten from an object that implements a wrapper cache by calling QueryInterface on it. Note that this breaks XPCOM rules a bit (this object doesn't derive from nsISupports). The cache can store objects other than wrappers. We allow wrappers to use a separate JSObject to store their state (mostly expandos). If the wrapper is collected and we want to preserve this state we actually store the state object in the cache. The cache can store 3 types of objects: a DOM binding object (regular JS object or proxy), an nsOuterWindowProxy or an XPCWrappedNative wrapper. The finalizer for the wrapper clears the cache. A compacting GC can move the wrapper object. Pointers to moved objects are usually found and updated by tracing the heap, however non-preserved wrappers are weak references and are not traced, so another approach is necessary. Instead a class hook (objectMovedOp) is provided that is called when an object is moved and is responsible for ensuring pointers are updated. It does this by calling UpdateWrapper() on the wrapper cache. SetWrapper() asserts that the hook is implemented for any wrapper set. A number of the methods are implemented in nsWrapperCacheInlines.h because we have to include some JS headers that don't play nicely with the rest of the codebase. Include nsWrapperCacheInlines.h if you need to call those methods. 15459
nsWrapperCacheInlines.h nsWrapperCache_h___ 2539
nsXHTMLContentSerializer.cpp nsIContentSerializer implementation that can be used with an nsIDocumentEncoder to convert an XHTML (not HTML!) DOM to an XHTML string that could be parsed into more or less the original DOM. 25129
nsXHTMLContentSerializer.h nsIContentSerializer implementation that can be used with an nsIDocumentEncoder to convert an XHTML (not HTML!) DOM to an XHTML string that could be parsed into more or less the original DOM. 5470
nsXMLContentSerializer.cpp nsIContentSerializer implementation that can be used with an nsIDocumentEncoder to convert an XML DOM to an XML string that could be parsed into more or less the original DOM. 61237
nsXMLContentSerializer.h nsIContentSerializer implementation that can be used with an nsIDocumentEncoder to convert an XML DOM to an XML string that could be parsed into more or less the original DOM. 16406
ParentProcessMessageManager.cpp 1150
ParentProcessMessageManager.h Implementation for the WebIDL ParentProcessMessageManager interface. ParentProcessMessageManager is used in a parent process to communicate with all the child processes. 1718
PlacesBookmark.h 1561
PlacesBookmarkAddition.h 1994
PlacesEvent.cpp 1488
PlacesEvent.h 1622
PlacesObservers.cpp 11899
PlacesObservers.h 2652
PlacesVisit.h 2183
PlacesWeakCallbackWrapper.cpp 1772
PlacesWeakCallbackWrapper.h 1609
PopupBlocker.cpp static 14162
PopupBlocker.h 4351
Pose.cpp 2905
Pose.h 2496
PostMessageEvent.cpp 9649
PostMessageEvent.h Class used to represent events generated by calls to Window.postMessage, which asynchronously creates and dispatches events. 4430
ProcessMessageManager.cpp 1782
ProcessMessageManager.h ProcessMessageManager is used in a parent process to communicate with a child process (or with the process itself in a single-process scenario). 1894
ProcessSelector.jsm 2184
RangeBoundary.h GetNextSiblingOfChildOffset() returns next sibling of a child at offset. If this refers after the last child or the container cannot have children, this returns nullptr with warning. 7955
RangeUtils.cpp 6751
RangeUtils.h GetRawRangeBoundaryBefore() and GetRawRangeBoundaryAfter() retrieve RawRangeBoundary which points before or after aNode. 4532
RemoteOuterWindowProxy.cpp RemoteOuterWindowProxy is the proxy handler for the WindowProxy objects for Window objects that live in a different process. RemoteOuterWindowProxy holds a BrowsingContext, which is cycle collected. This reference is declared to the cycle collector via NoteChildren(). 5809
ResizeObserver.cpp Returns the length of the parent-traversal path (in terms of the number of nodes) to an unparented/root node from aNode. An unparented/root node is considered to have a depth of 1, its children have a depth of 2, etc. aNode is expected to be non-null. Note: The shadow root is not part of the calculation because the caller, ResizeObserver, doesn't observe the shadow root, and only needs relative depths among all the observed targets. In other words, we calculate the depth of the flattened tree. However, these is a spec issue about how to handle shadow DOM case. We may need to update this function later: https://github.com/w3c/csswg-drafts/issues/3840 https://drafts.csswg.org/resize-observer/#calculate-depth-for-node-h 10654
ResizeObserver.h Returns whether the observed target element size differs from the saved mLastReportedSize. 9029
ResizeObserverController.cpp 7643
ResizeObserverController.h ResizeObserverNotificationHelper will trigger ResizeObserver notifications by registering with the Refresh Driver. 3772
ResponsiveImageSelector.cpp 22278
ResponsiveImageSelector.h 7168
SameProcessMessageQueue.cpp static 1826
SameProcessMessageQueue.h 1175
ScreenLuminance.cpp 841
ScreenLuminance.h 1525
ScreenOrientation.cpp 20600
ScreenOrientation.h 3795
ScriptableContentIterator.cpp 5473
ScriptableContentIterator.h 1117
Selection.cpp Implementation of mozilla::dom::Selection 123349
Selection.h NotifyAutoCopy() starts to notify AutoCopyListener of selection changes. 36213
SelectionChangeEventDispatcher.cpp Implementation of mozilla::SelectionChangeEventDispatcher 5733
SelectionChangeEventDispatcher.h 2360
SerializedStackHolder.cpp 4914
SerializedStackHolder.h 3461
ShadowIncludingTreeIterator.h Implementation of https://dom.spec.whatwg.org/#concept-shadow-including-tree-order in iterator form. This can and should be used to avoid recursion on the stack and lots of function calls during shadow-including tree iteration. 3794
ShadowRoot.cpp 19965
ShadowRoot.h Clones internal state, for example stylesheets, of aOther to 'this'. 9785
SlowScriptDebug.jsm 766
StaticRange.cpp static 4899
StaticRange.h Create() may return `StaticRange` instance which is initialized with given range or points. If it fails initializing new range with the arguments, returns `nullptr`. `ErrorResult` is set to an error only when this returns `nullptr`. The error code indicates the reason why it couldn't initialize the instance. 4783
StorageAccessPermissionRequest.cpp 4723
StorageAccessPermissionRequest.h 2177
StructuredCloneBlob.cpp static 6619
StructuredCloneBlob.h 2648
StructuredCloneHolder.cpp 41391
StructuredCloneHolder.h 13365
StructuredCloneTags.h 4717
StructuredCloneTester.cpp static 3189
StructuredCloneTester.h 1916
StyleSheetList.cpp virtual 1487
StyleSheetList.h 1860
SubtleCrypto.cpp 6342
SubtleCrypto.h 4717
SyncMessageSender.h 799
TabGroup.cpp aNeedValidation = 10344
TabGroup.h 5720
test 869
Text.cpp static 4485
Text.h Method to see if the text node contains data that is useful for a translation: i.e., it consists of more than just whitespace, digits and punctuation. 1803
TextInputProcessor.cpp TextInputProcessorNotification **************************************************************************** 57005
TextInputProcessor.h TextInputProcessor manages modifier key state. E.g., when it dispatches a modifier keydown event, activates proper modifier state and when it dispatches a modifier keyup event, inactivates proper modifier state. This returns all active modifiers in the instance. 9392
ThirdPartyUtil.cpp 15709
ThirdPartyUtil.h 1325
Timeout.cpp 2924
Timeout.h Timeout struct that holds information about each script timeout. Holds a strong reference to an nsITimeoutHandler, which abstracts the language specific cruft. 3710
TimeoutBudgetManager.cpp static 1145
TimeoutBudgetManager.h 888
TimeoutExecutor.cpp 8430
TimeoutExecutor.h 2990
TimeoutHandler.cpp unused 6608
TimeoutHandler.h Utility class for implementing nsITimeoutHandlers, designed to be subclassed. 3526
TimeoutManager.cpp 49001
TimeoutManager.h 7383
TreeIterator.h A generic pre-order tree iterator on top of ChildIterator. See ChildIterator.h for the kind of iterators you can use as the template argument for this class. 4053
TreeOrderedArray.h 1236
TreeOrderedArrayInlines.h 1625
TreeWalker.cpp Implementation of DOM Traversal's TreeWalker 8373
TreeWalker.h Implementation of DOM Traversal's TreeWalker 2827
UIDirectionManager.cpp static 2264
UIDirectionManager.h 599
UseCounter.h 2212
UseCounters.conf 11775
usecounters.py 3036
UserActivation.cpp static 3777
UserActivation.h Returns true if the current code is being executed as a result of user input or keyboard input. The former includes anything that is initiated by user, with the exception of page load events or mouse over events. And the latter returns true when one of the user inputs is an input from keyboard. If these methods are called from asynchronously executed code, such as during layout reflows, it will return false. 3106
ViewportMetaData.cpp Helper function for ViewportMetaData::ProcessViewportInfo. Handles a single key=value pair. If it corresponds to a valid viewport attribute, add it to the document header data. No validation is done on the value itself (this is done at display time). 3455
ViewportMetaData.h Process viewport META data. This gives us information for the scale and zoom of a page on mobile devices. We stick the information in the document header and use it later on after rendering. See Bug #436083 1537
VisualViewport.cpp virtual 10146
VisualViewport.h Visual Viewport API spec: https://wicg.github.io/visual-viewport/#the-visualviewport-interface 3808
WindowDestroyedEvent.cpp 4793
WindowDestroyedEvent.h 1061
WindowNamedPropertiesHandler.cpp unused 9280
WindowNamedPropertiesHandler.h hasPrototype = 2702
WindowOrientationObserver.cpp This class is used by nsGlobalWindowInner to implement window.orientation and window.onorientationchange. This class is defined in its own file because Hal.h pulls in windows.h and can't be included from nsGlobalWindow.cpp 1832
WindowOrientationObserver.h 1092
WindowProxyHolder.h This class is used for passing arguments and the return value for WebIDL binding code that takes/returns a WindowProxy object and for WebIDL unions/dictionaries that contain a WindowProxy member. It should never contain null; if the value in WebIDL is nullable the binding code will use a Nullable<WindowProxyHolder>. 2703
XPathGenerator.cpp Check whether a character is a non-word character. A non-word character is a character that isn't in ('a'..'z') or in ('A'..'Z') or a number or an underscore. 6039
XPathGenerator.h Return a properly quoted string to insert into an XPath 918