Name Description Size Coverage CI issues
ConstraintValidation.cpp 2932 95 %
ConstraintValidation.h The string representing the custom error. 1219 33 %
crashtests -
CustomStateSet.cpp 2952 95 %
CustomStateSet.h @brief Removes a given string from the state set. 1495 100 %
EditContext.cpp 42818 82 %
EditContext.h Returns whether there is any EditContext attached to any element in this process. 11845 94 %
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. 24148 99 %
ElementInternals.h 11073 100 %
FetchPriority.cpp See <nsISupportsPriority.idl>. 2879 80 %
FetchPriority.h 1874 -
HTMLAllCollection.cpp 4800 96 %
HTMLAllCollection.h Returns the HTMLCollection for document.all[aID], or null if there isn't one. 2469 100 %
HTMLAnchorElement.cpp 6349 97 %
HTMLAnchorElement.h 6447 100 %
HTMLAreaElement.cpp 3511 93 %
HTMLAreaElement.h 5532 100 %
HTMLBodyElement.cpp 10549 94 %
HTMLBodyElement.h nothing; handled by the shim 4109 100 %
HTMLBRElement.cpp 3191 94 %
HTMLBRElement.h 2397 100 %
HTMLButtonElement.cpp 22954 100 %
HTMLButtonElement.h Called when an attribute is about to be changed 6041 100 %
HTMLCanvasElement.cpp 53259 90 %
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. 15558 89 %
HTMLDataElement.cpp 832 100 %
HTMLDataElement.h 1034 100 %
HTMLDataListElement.cpp 1297 100 %
HTMLDataListElement.h HTMLDataListElement_h_ 1643 100 %
HTMLDetailsElement.cpp 9039 98 %
HTMLDetailsElement.h mozilla_dom_HTMLDetailsElement_h 3116 100 %
HTMLDialogElement.cpp 28800 95 %
HTMLDialogElement.h 5133 93 %
HTMLDivElement.cpp 1843 100 %
HTMLDivElement.h HTMLDivElement_h_ 1533 100 %
HTMLDNSPrefetch.cpp 24861 88 %
HTMLDNSPrefetch.h 4842 100 %
HTMLElement.cpp 16922 96 %
HTMLElement.h 3193 100 %
HTMLElementFactory.cpp 2881 85 %
HTMLEmbedElement.cpp 8842 93 %
HTMLEmbedElement.h Calls LoadObject with the correct arguments to start the plugin load. 4854 100 %
HTMLFieldSetElement.cpp static 11086 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 4714 100 %
HTMLFontElement.cpp 3733 100 %
HTMLFontElement.h HTMLFontElement_h_ 1805 100 %
HTMLFormControlsCollection.cpp static 10267 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. 4000 100 %
HTMLFormElement.cpp 67191 97 %
HTMLFormElement.h Whether we already dispatched a DOMFormHasPassword event or not 20446 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). 29057 82 %
HTMLFormSubmission.h Class for form submissions; encompasses the function to call to submit as well as the form submission name/value pairs 9693 56 %
HTMLFormSubmissionConstants.h 1299 -
HTMLFrameElement.cpp 1860 96 %
HTMLFrameElement.h 3398 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. 4476 100 %
HTMLHeadingElement.cpp 5652 100 %
HTMLHeadingElement.h 2275 100 %
HTMLHRElement.cpp 7030 95 %
HTMLHRElement.h 2327 100 %
HTMLIFrameElement.cpp parse the permissions policy attribute 14252 100 %
HTMLIFrameElement.h 8772 100 %
HTMLImageElement.cpp 43346 99 %
HTMLImageElement.h 16811 100 %
HTMLInputElement.cpp 262623 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. 60823 98 %
HTMLLabelElement.cpp Implementation of HTML <label> elements. 9735 99 %
HTMLLabelElement.h Declaration of HTML <label> elements. 2377 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. 2997 67 %
HTMLLIElement.cpp 3295 100 %
HTMLLIElement.h 1853 100 %
HTMLLinkElement.cpp 26192 94 %
HTMLLinkElement.h 7968 100 %
HTMLMapElement.cpp 1356 100 %
HTMLMapElement.h 1186 100 %
HTMLMarqueeElement.cpp 5331 100 %
HTMLMarqueeElement.h HTMLMarqueeElement_h_ 4147 100 %
HTMLMenuElement.cpp 810 100 %
HTMLMenuElement.h 1136 100 %
HTMLMetaElement.cpp 6266 90 %
HTMLMetaElement.h 2576 100 %
HTMLMeterElement.cpp If the attribute min is defined, the minimum is this value. Otherwise, the minimum is the default value. 7794 99 %
HTMLMeterElement.h @return the value 2925 100 %
HTMLModElement.cpp 826 100 %
HTMLModElement.h 1232 100 %
HTMLObjectElement.cpp 9425 100 %
HTMLObjectElement.h 7403 99 %
HTMLOptGroupElement.cpp The implementation of &lt;optgroup&gt; 3092 100 %
HTMLOptGroupElement.h mozilla_dom_HTMLOptGroupElement_h 1869 100 %
HTMLOptionElement.cpp Implementation of &lt;option&gt; 13923 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. 4657 100 %
HTMLOptionsCollection.cpp aDeep = 4793 83 %
HTMLOptionsCollection.h The collection of options in the select (what you get back when you do select.options in DOM) 2297 100 %
HTMLOutputElement.cpp 5037 99 %
HTMLOutputElement.h 3170 100 %
HTMLParagraphElement.cpp 2020 100 %
HTMLParagraphElement.h 1654 100 %
HTMLPictureElement.cpp 3191 98 %
HTMLPictureElement.h 1444 100 %
HTMLPreElement.cpp 2562 97 %
HTMLPreElement.h 1539 100 %
HTMLProgressElement.cpp 3040 100 %
HTMLProgressElement.h 1874 100 %
HTMLScriptElement.cpp aParser 13344 97 %
HTMLScriptElement.h 7383 100 %
HTMLSelectedContentElement.cpp 4006 98 %
HTMLSelectedContentElement.h 1362 100 %
HTMLSelectElement.cpp https://html.spec.whatwg.org/#the-select-element-2:the-select-element-13 98761 93 %
HTMLSelectElement.h Implementation of &lt;select&gt; 23902 100 %
HTMLSharedElement.cpp nsICSPEventListener 8287 100 %
HTMLSharedElement.h 4241 100 %
HTMLSharedListElement.cpp 4982 100 %
HTMLSharedListElement.h 2213 100 %
HTMLSlotElement.cpp Flatten assigned nodes given a slot, as in: https://dom.spec.whatwg.org/#find-flattened-slotables 15147 99 %
HTMLSlotElement.h 3160 100 %
HTMLSourceElement.cpp static 8148 97 %
HTMLSourceElement.h 5183 88 %
HTMLSpanElement.cpp 667 100 %
HTMLSpanElement.h 861 100 %
HTMLStyleElement.cpp 8404 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. 3964 100 %
HTMLSummaryElement.cpp 3692 100 %
HTMLSummaryElement.h mozilla_dom_HTMLSummaryElement_h 1740 100 %
HTMLTableCaptionElement.cpp 2478 100 %
HTMLTableCaptionElement.h mozilla_dom_HTMLTableCaptionElement_h 1557 100 %
HTMLTableCellElement.cpp ignore these attributes, stored simply as strings abbr, axis, ch, headers 6488 95 %
HTMLTableCellElement.h mozilla_dom_HTMLTableCellElement_h 4647 100 %
HTMLTableColElement.cpp ignore these attributes, stored simply as strings ch 3858 100 %
HTMLTableColElement.h mozilla_dom_HTMLTableColElement_h 2514 100 %
HTMLTableElement.cpp ------------------------- TableRowsCollection --------------------------- 33804 96 %
HTMLTableElement.h 6949 100 %
HTMLTableRowElement.cpp 7173 98 %
HTMLTableRowElement.h mozilla_dom_HTMLTableRowElement_h 3079 100 %
HTMLTableSectionElement.cpp ignore these attributes, stored simply as strings ch 5469 98 %
HTMLTableSectionElement.h mozilla_dom_HTMLTableSectionElement_h 2657 100 %
HTMLTemplateElement.cpp https://html.spec.whatwg.org/#dom-element-sethtmlunsafe 5483 88 %
HTMLTemplateElement.h 4176 94 %
HTMLTextAreaElement.cpp 36680 96 %
HTMLTextAreaElement.h Called when an attribute is about to be changed 14153 100 %
HTMLTimeElement.cpp 853 100 %
HTMLTimeElement.h 1087 100 %
HTMLTitleElement.cpp 2829 90 %
HTMLTitleElement.h 1617 100 %
HTMLUnknownElement.cpp 805 100 %
HTMLUnknownElement.h mozilla_dom_HTMLUnknownElement_h 1101 100 %
ImageDocument.cpp 25275 93 %
ImageDocument.h mozilla_dom_ImageDocument_h 4618 100 %
input 92 %
MediaDocument.cpp 14048 90 %
MediaDocument.h mozilla_dom_MediaDocument_h 4375 83 %
moz.build 5971 -
nsDOMStringMap.cpp virtual 7723 96 %
nsDOMStringMap.h 2013 100 %
nsGenericHTMLElement.cpp 147806 96 %
nsGenericHTMLElement.h A common superclass for HTML elements 56598 93 %
nsGenericHTMLFrameElement.cpp 11023 86 %
nsGenericHTMLFrameElement.h A helper class for frame elements 4984 91 %
nsHTMLDocument.cpp aConsiderForMemoryReporting 28264 89 %
nsHTMLDocument.h Called when form->BindToTree() is called so that document knows immediately when a form is added 6443 77 %
nsIConstraintValidation.cpp CanBubble 4455 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. 3398 92 %
nsIFormControl.h Interface which all form controls (e.g. buttons, checkboxes, text, radio buttons, select, etc) implement in addition to their dom specific interface. 9607 95 %
RadioNodeList.cpp virtual 1642 100 %
RadioNodeList.h 1162 100 %
reftests -
<1%test -
TextControlElement.cpp aNotify = 14305 91 %
TextControlElement.h This abstract class is used for the text control frame to get the editor and selection controller objects, and some helper properties. 8797 94 %
TextControlState.cpp TextControlElement *************************************************************************** 100714 88 %
TextControlState.h PasswordMaskData stores making information and necessary timer for `TextEditor` instances. 21721 98 %
TextInputListener.h OnEditActionHandled() is called when the editor handles each edit action. 3217 100 %
ValidityState.cpp 1037 91 %
ValidityState.h Helper function to get a validity state from constraint validation instance. 2742 100 %
VideoDocument.cpp 5363 95 %