Name Description Size Coverage
ConstraintValidation.cpp 2932 95 %
ConstraintValidation.h The string representing the custom error. 1200 33 %
crashtests -
CustomStateSet.cpp 2952 95 %
CustomStateSet.h @brief Removes a given string from the state set. 1519 100 %
ElementInternals.cpp 1. Let element be this's target element. 2. If element is not a form-associated custom element, then throw a "NotSupportedError" DOMException. 22450 97 %
ElementInternals.h 11168 96 %
FetchPriority.cpp See <nsISupportsPriority.idl>. 2879 80 %
FetchPriority.h 1874 -
HTMLAllCollection.cpp 6064 97 %
HTMLAllCollection.h Returns the HTMLCollection for document.all[aID], or null if there isn't one. 2489 100 %
HTMLAnchorElement.cpp 7063 94 %
HTMLAnchorElement.h 6456 100 %
HTMLAreaElement.cpp 3513 93 %
HTMLAreaElement.h 5112 100 %
HTMLBodyElement.cpp 11971 92 %
HTMLBodyElement.h nothing; handled by the shim 4227 100 %
HTMLBRElement.cpp 2573 100 %
HTMLBRElement.h 2406 100 %
HTMLButtonElement.cpp 22607 99 %
HTMLButtonElement.h Called when an attribute is about to be changed 5820 100 %
HTMLCanvasElement.cpp 50193 89 %
HTMLCanvasElement.h FrameCaptureListener is used by captureStream() as a way of getting video frames from the canvas. On a refresh driver tick after something has been drawn to the canvas since the last such tick, all registered FrameCaptureListeners that report true for FrameCaptureRequested() will be given a copy of the just-painted canvas. All FrameCaptureListeners get the same copy. 15125 86 %
HTMLDataElement.cpp 834 100 %
HTMLDataElement.h 1043 100 %
HTMLDataListElement.cpp 1297 100 %
HTMLDataListElement.h HTMLDataListElement_h_ 1643 100 %
HTMLDetailsElement.cpp 7893 97 %
HTMLDetailsElement.h mozilla_dom_HTMLDetailsElement_h 2863 100 %
HTMLDialogElement.cpp 29021 94 %
HTMLDialogElement.h 5104 93 %
HTMLDivElement.cpp 1853 100 %
HTMLDivElement.h HTMLDivElement_h_ 1542 100 %
HTMLDNSPrefetch.cpp 23262 87 %
HTMLDNSPrefetch.h 4842 100 %
HTMLElement.cpp 16621 95 %
HTMLElement.h 3195 100 %
HTMLElementFactory.cpp 2401 81 %
HTMLEmbedElement.cpp 8854 93 %
HTMLEmbedElement.h Calls LoadObject with the correct arguments to start the plugin load. 4863 100 %
HTMLFieldSetElement.cpp static 10884 96 %
HTMLFieldSetElement.h This method will update the fieldset's validity. This method has to be called by fieldset elements whenever their validity state or status regarding constraint validation changes. @note If an element becomes barred from constraint validation, it has to be considered as valid. @param aElementValidityState the new validity state of the element 4723 100 %
HTMLFontElement.cpp 3743 100 %
HTMLFontElement.h HTMLFontElement_h_ 1814 100 %
HTMLFormControlsCollection.cpp static 10421 88 %
HTMLFormControlsCollection.h Create a sorted list of form control elements. This list is sorted in document order and contains the controls in the mElements and mNotInElements list. This function does not add references to the elements. @param aControls The list of sorted controls[out]. @return NS_OK or NS_ERROR_OUT_OF_MEMORY. 4574 45 %
HTMLFormElement.cpp 66355 94 %
HTMLFormElement.h Whether we already dispatched a DOMFormHasPassword event or not 20274 100 %
HTMLFormSubmission.cpp @param aEncoding the character encoding of the form @param aMethod the method of the submit (either NS_FORM_METHOD_GET or NS_FORM_METHOD_POST). 28672 82 %
HTMLFormSubmission.h Class for form submissions; encompasses the function to call to submit as well as the form submission name/value pairs 9639 59 %
HTMLFormSubmissionConstants.h 1273 -
HTMLFrameElement.cpp 1866 96 %
HTMLFrameElement.h 3385 100 %
HTMLFrameSetElement.cpp The main goal here is to see whether the _number_ of rows or columns has changed. If it has, we need to reframe; otherwise we want to reflow. Ideally, the style hint would be changed back to reflow after the reframe has been performed. Unfortunately, however, the reframe will be performed by the call to MutationObservers::AttributeChanged, which occurs *after* AfterSetAttr is called, leaving us with no convenient way of changing the value back to reflow afterwards. However, MutationObservers::AttributeChanged is effectively the only consumer of this value, so as long as we always set the value correctly here, we should be fine. 10072 93 %
HTMLFrameSetElement.h The nsFramesetUnit enum is used to denote the type of each entry in the row or column spec. 4478 100 %
HTMLHeadingElement.cpp 2605 100 %
HTMLHeadingElement.h 2103 100 %
HTMLHRElement.cpp 7047 92 %
HTMLHRElement.h 2336 100 %
HTMLIFrameElement.cpp parse the feature policy attribute 14091 100 %
HTMLIFrameElement.h 8725 100 %
HTMLImageElement.cpp 42658 99 %
HTMLImageElement.h 16858 100 %
HTMLInputElement.cpp 258495 94 %
HTMLInputElement.h A class we use to create a singleton object that is used to keep track of the last directory from which the user has picked files (via <input type=file>) on a per-domain basis. The implementation uses nsIContentPrefService2/NS_CONTENT_PREF_SERVICE_CONTRACTID to store the last directory per-domain, and to ensure that whether the directories are persistently saved (saved across sessions) or not honors whether or not the page is being viewed in private browsing. 58986 98 %
HTMLLabelElement.cpp Implementation of HTML <label> elements. 9336 98 %
HTMLLabelElement.h Declaration of HTML <label> elements. 2245 100 %
HTMLLegendElement.cpp 4755 95 %
HTMLLegendElement.h Return the align value to use for the given fieldset writing-mode. (This method resolves Left/Right to the appropriate InlineStart/InlineEnd). @param aCBWM the fieldset writing-mode @note we only parse left/right/center, so this method returns Center, InlineStart or InlineEnd. 3006 67 %
HTMLLIElement.cpp 3305 100 %
HTMLLIElement.h 1862 100 %
HTMLLinkElement.cpp 26092 94 %
HTMLLinkElement.h 7977 100 %
HTMLMapElement.cpp 1355 100 %
HTMLMapElement.h 1195 100 %
HTMLMarqueeElement.cpp 5303 100 %
HTMLMarqueeElement.h HTMLMarqueeElement_h_ 4156 100 %
HTMLMenuElement.cpp 812 100 %
HTMLMenuElement.h 1145 100 %
HTMLMetaElement.cpp 6268 92 %
HTMLMetaElement.h 2585 100 %
HTMLMeterElement.cpp If the attribute min is defined, the minimum is this value. Otherwise, the minimum is the default value. 7796 99 %
HTMLMeterElement.h @return the value 2934 100 %
HTMLModElement.cpp 828 100 %
HTMLModElement.h 1234 100 %
HTMLObjectElement.cpp 9398 100 %
HTMLObjectElement.h 7396 99 %
HTMLOptGroupElement.cpp The implementation of &lt;optgroup&gt; 3854 96 %
HTMLOptGroupElement.h mozilla_dom_HTMLOptGroupElement_h 2401 100 %
HTMLOptionElement.cpp Implementation of &lt;option&gt; 10703 96 %
HTMLOptionElement.h This callback is called by an optgroup on all its option elements whenever its disabled state is changed so that option elements can know their disabled state might have changed. 4266 100 %
HTMLOptionsCollection.cpp 6074 89 %
HTMLOptionsCollection.h The collection of options in the select (what you get back when you do select.options in DOM) 4728 78 %
HTMLOutputElement.cpp 5043 99 %
HTMLOutputElement.h 3156 100 %
HTMLParagraphElement.cpp 2025 100 %
HTMLParagraphElement.h 1663 100 %
HTMLPictureElement.cpp 3195 98 %
HTMLPictureElement.h 1446 100 %
HTMLPreElement.cpp 2566 97 %
HTMLPreElement.h 1548 100 %
HTMLProgressElement.cpp 3042 100 %
HTMLProgressElement.h 1876 100 %
HTMLScriptElement.cpp aParser 12831 96 %
HTMLScriptElement.h 7259 100 %
HTMLSelectElement.cpp 76201 95 %
HTMLSelectElement.h @param aSelect The select element which option list is being mutated. Can be null. @param aParent The content object which is being mutated. @param aKid If not null, a new child element is being inserted to aParent. Otherwise a child element will be removed. @param aIndex The index of the content object in the parent. 21230 98 %
HTMLSharedElement.cpp nsICSPEventListener 8276 100 %
HTMLSharedElement.h 4250 100 %
HTMLSharedListElement.cpp 4981 100 %
HTMLSharedListElement.h 2222 100 %
HTMLSlotElement.cpp Flatten assigned nodes given a slot, as in: https://dom.spec.whatwg.org/#find-flattened-slotables 13211 99 %
HTMLSlotElement.h 2998 100 %
HTMLSourceElement.cpp static 8144 97 %
HTMLSourceElement.h 5202 87 %
HTMLSpanElement.cpp 667 100 %
HTMLSpanElement.h 863 100 %
HTMLStyleElement.cpp 8374 96 %
HTMLStyleElement.h Mark this style element with a devtools-specific principal that skips Content Security Policy unsafe-inline checks. This triggering principal will be overwritten by any callers that set textContent or innerHTML on this element. 3973 100 %
HTMLSummaryElement.cpp 3692 100 %
HTMLSummaryElement.h mozilla_dom_HTMLSummaryElement_h 1742 100 %
HTMLTableCaptionElement.cpp 2483 100 %
HTMLTableCaptionElement.h mozilla_dom_HTMLTableCaptionElement_h 1566 100 %
HTMLTableCellElement.cpp ignore these attributes, stored simply as strings abbr, axis, ch, headers 6489 95 %
HTMLTableCellElement.h mozilla_dom_HTMLTableCellElement_h 4656 100 %
HTMLTableColElement.cpp ignore these attributes, stored simply as strings ch 3863 100 %
HTMLTableColElement.h mozilla_dom_HTMLTableColElement_h 2523 100 %
HTMLTableElement.cpp ------------------------- TableRowsCollection --------------------------- 34677 96 %
HTMLTableElement.h 6973 100 %
HTMLTableRowElement.cpp 7209 98 %
HTMLTableRowElement.h mozilla_dom_HTMLTableRowElement_h 3148 100 %
HTMLTableSectionElement.cpp ignore these attributes, stored simply as strings ch 5487 98 %
HTMLTableSectionElement.h mozilla_dom_HTMLTableSectionElement_h 2685 100 %
HTMLTemplateElement.cpp https://html.spec.whatwg.org/#dom-element-sethtmlunsafe 4664 93 %
HTMLTemplateElement.h 3515 72 %
HTMLTextAreaElement.cpp 36406 96 %
HTMLTextAreaElement.h Called when an attribute is about to be changed 14124 100 %
HTMLTimeElement.cpp 878 100 %
HTMLTimeElement.h 1096 100 %
HTMLTitleElement.cpp 2831 90 %
HTMLTitleElement.h 1626 100 %
HTMLUnknownElement.cpp 805 100 %
HTMLUnknownElement.h mozilla_dom_HTMLUnknownElement_h 1103 100 %
ImageDocument.cpp 25257 92 %
ImageDocument.h mozilla_dom_ImageDocument_h 4543 100 %
input 93 %
MediaDocument.cpp 13731 90 %
MediaDocument.h mozilla_dom_MediaDocument_h 4375 83 %
moz.build 5732 -
nsDOMStringMap.cpp virtual 7723 96 %
nsDOMStringMap.h 2013 100 %
nsGenericHTMLElement.cpp 144006 96 %
nsGenericHTMLElement.h A common superclass for HTML elements 56174 93 %
nsGenericHTMLFrameElement.cpp 10991 87 %
nsGenericHTMLFrameElement.h A helper class for frame elements 4953 90 %
nsHTMLDocument.cpp aConsiderForMemoryReporting 27909 87 %
nsHTMLDocument.h Called when form->BindToTree() is called so that document knows immediately when a form is added 7064 86 %
nsIConstraintValidation.cpp CanBubble 4358 97 %
nsIConstraintValidation.h This interface is for form elements implementing the validity constraint API. See: http://dev.w3.org/html5/spec/forms.html#the-constraint-validation-api This interface has to be implemented by all elements implementing the API and only them. 3118 86 %
nsIFormControl.h Interface which all form controls (e.g. buttons, checkboxes, text, radio buttons, select, etc) implement in addition to their dom specific interface. 9588 100 %
nsIHTMLCollection.h An internal interface 2482 88 %
RadioNodeList.cpp virtual 1644 100 %
RadioNodeList.h 1178 100 %
reftests -
test -
TextControlElement.cpp aNotify = 14436 93 %
TextControlElement.h This abstract class is used for the text control frame to get the editor and selection controller objects, and some helper properties. 8349 94 %
TextControlState.cpp TextControlElement *************************************************************************** 98664 87 %
TextControlState.h PasswordMaskData stores making information and necessary timer for `TextEditor` instances. 21408 98 %
TextInputListener.h OnEditActionHandled() is called when the editor handles each edit action. 2933 100 %
ValidityState.cpp 1037 91 %
ValidityState.h Helper function to get a validity state from constraint validation instance. 2752 100 %
VideoDocument.cpp 5363 95 %