Name Description Size Coverage
ConstraintValidation.cpp 3053 95 %
ConstraintValidation.h The string representing the custom error. 1321 33 %
crashtests -
CustomStateSet.cpp 3073 95 %
CustomStateSet.h @brief Removes a given string from the state set. 1640 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. 22572 97 %
ElementInternals.h 11290 96 %
FetchPriority.cpp See <nsISupportsPriority.idl>. 3000 80 %
FetchPriority.h 1995 -
HTMLAllCollection.cpp 6185 97 %
HTMLAllCollection.h Returns the HTMLCollection for document.all[aID], or null if there isn't one. 2610 100 %
HTMLAnchorElement.cpp 7184 94 %
HTMLAnchorElement.h 6577 100 %
HTMLAreaElement.cpp 3634 93 %
HTMLAreaElement.h 5233 100 %
HTMLBodyElement.cpp 12092 92 %
HTMLBodyElement.h nothing; handled by the shim 4348 100 %
HTMLBRElement.cpp 2694 100 %
HTMLBRElement.h 2527 100 %
HTMLButtonElement.cpp 22728 99 %
HTMLButtonElement.h Called when an attribute is about to be changed 5941 100 %
HTMLCanvasElement.cpp 50243 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. 15246 86 %
HTMLDataElement.cpp 955 100 %
HTMLDataElement.h 1164 100 %
HTMLDataListElement.cpp 1418 100 %
HTMLDataListElement.h HTMLDataListElement_h_ 1764 100 %
HTMLDetailsElement.cpp 8015 97 %
HTMLDetailsElement.h mozilla_dom_HTMLDetailsElement_h 2984 100 %
HTMLDialogElement.cpp 29142 94 %
HTMLDialogElement.h 5225 93 %
HTMLDivElement.cpp 1974 100 %
HTMLDivElement.h HTMLDivElement_h_ 1663 100 %
HTMLDNSPrefetch.cpp 21654 85 %
HTMLDNSPrefetch.h 4963 100 %
HTMLElement.cpp 16742 95 %
HTMLElement.h 3316 100 %
HTMLElementFactory.cpp 2522 81 %
HTMLEmbedElement.cpp 8975 93 %
HTMLEmbedElement.h Calls LoadObject with the correct arguments to start the plugin load. 4984 100 %
HTMLFieldSetElement.cpp static 10933 97 %
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 4837 100 %
HTMLFontElement.cpp 3864 100 %
HTMLFontElement.h HTMLFontElement_h_ 1935 100 %
HTMLFormControlsCollection.cpp static 10542 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. 4695 45 %
HTMLFormElement.cpp 66477 95 %
HTMLFormElement.h Whether we already dispatched a DOMFormHasPassword event or not 20395 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). 28719 82 %
HTMLFormSubmission.h Class for form submissions; encompasses the function to call to submit as well as the form submission name/value pairs 9760 59 %
HTMLFormSubmissionConstants.h 1394 -
HTMLFrameElement.cpp 1987 96 %
HTMLFrameElement.h 3506 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. 10193 93 %
HTMLFrameSetElement.h The nsFramesetUnit enum is used to denote the type of each entry in the row or column spec. 4599 100 %
HTMLHeadingElement.cpp 2726 100 %
HTMLHeadingElement.h 2224 100 %
HTMLHRElement.cpp 7168 92 %
HTMLHRElement.h 2457 100 %
HTMLIFrameElement.cpp parse the feature policy attribute 14212 100 %
HTMLIFrameElement.h 8846 100 %
HTMLImageElement.cpp 41025 99 %
HTMLImageElement.h 16687 100 %
HTMLInputElement.cpp 258333 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. 59072 98 %
HTMLLabelElement.cpp Implementation of HTML <label> elements. 9457 98 %
HTMLLabelElement.h Declaration of HTML <label> elements. 2366 100 %
HTMLLegendElement.cpp 4876 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. 3127 67 %
HTMLLIElement.cpp 3426 100 %
HTMLLIElement.h 1983 100 %
HTMLLinkElement.cpp 25466 92 %
HTMLLinkElement.h 8098 100 %
HTMLMapElement.cpp 1476 100 %
HTMLMapElement.h 1316 100 %
HTMLMarqueeElement.cpp 5424 100 %
HTMLMarqueeElement.h HTMLMarqueeElement_h_ 4277 100 %
HTMLMenuElement.cpp 933 100 %
HTMLMenuElement.h 1266 100 %
HTMLMetaElement.cpp 6389 92 %
HTMLMetaElement.h 2706 100 %
HTMLMeterElement.cpp If the attribute min is defined, the minimum is this value. Otherwise, the minimum is the default value. 7917 99 %
HTMLMeterElement.h @return the value 3055 100 %
HTMLModElement.cpp 949 100 %
HTMLModElement.h 1355 100 %
HTMLObjectElement.cpp 9519 100 %
HTMLObjectElement.h 7517 99 %
HTMLOptGroupElement.cpp The implementation of &lt;optgroup&gt; 3975 96 %
HTMLOptGroupElement.h mozilla_dom_HTMLOptGroupElement_h 2522 100 %
HTMLOptionElement.cpp Implementation of &lt;option&gt; 10824 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. 4387 100 %
HTMLOptionsCollection.cpp 6195 89 %
HTMLOptionsCollection.h The collection of options in the select (what you get back when you do select.options in DOM) 4849 78 %
HTMLOutputElement.cpp 5164 99 %
HTMLOutputElement.h 3277 100 %
HTMLParagraphElement.cpp 2146 100 %
HTMLParagraphElement.h 1784 100 %
HTMLPictureElement.cpp 3316 98 %
HTMLPictureElement.h 1567 100 %
HTMLPreElement.cpp 2687 97 %
HTMLPreElement.h 1669 100 %
HTMLProgressElement.cpp 3163 100 %
HTMLProgressElement.h 1997 100 %
HTMLScriptElement.cpp aParser 12954 96 %
HTMLScriptElement.h 7380 100 %
HTMLSelectElement.cpp 59346 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. 20161 98 %
HTMLSharedElement.cpp nsICSPEventListener 8397 100 %
HTMLSharedElement.h 4371 100 %
HTMLSharedListElement.cpp 5102 100 %
HTMLSharedListElement.h 2343 100 %
HTMLSlotElement.cpp Flatten assigned nodes given a slot, as in: https://dom.spec.whatwg.org/#find-flattened-slotables 13214 99 %
HTMLSlotElement.h 3119 100 %
HTMLSourceElement.cpp static 8163 98 %
HTMLSourceElement.h 5323 87 %
HTMLSpanElement.cpp 788 100 %
HTMLSpanElement.h 984 100 %
HTMLStyleElement.cpp 8495 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. 4094 100 %
HTMLSummaryElement.cpp 3813 100 %
HTMLSummaryElement.h mozilla_dom_HTMLSummaryElement_h 1863 100 %
HTMLTableCaptionElement.cpp 2604 100 %
HTMLTableCaptionElement.h mozilla_dom_HTMLTableCaptionElement_h 1687 100 %
HTMLTableCellElement.cpp ignore these attributes, stored simply as strings abbr, axis, ch, headers 6610 95 %
HTMLTableCellElement.h mozilla_dom_HTMLTableCellElement_h 4777 100 %
HTMLTableColElement.cpp ignore these attributes, stored simply as strings ch 3984 100 %
HTMLTableColElement.h mozilla_dom_HTMLTableColElement_h 2644 100 %
HTMLTableElement.cpp ------------------------- TableRowsCollection --------------------------- 34808 96 %
HTMLTableElement.h 7094 100 %
HTMLTableRowElement.cpp 7330 98 %
HTMLTableRowElement.h mozilla_dom_HTMLTableRowElement_h 3269 100 %
HTMLTableSectionElement.cpp ignore these attributes, stored simply as strings ch 5608 98 %
HTMLTableSectionElement.h mozilla_dom_HTMLTableSectionElement_h 2806 100 %
HTMLTemplateElement.cpp https://html.spec.whatwg.org/#dom-element-sethtmlunsafe 4785 93 %
HTMLTemplateElement.h 3636 72 %
HTMLTextAreaElement.cpp 36540 96 %
HTMLTextAreaElement.h Called when an attribute is about to be changed 14245 100 %
HTMLTimeElement.cpp 999 100 %
HTMLTimeElement.h 1217 100 %
HTMLTitleElement.cpp 2952 90 %
HTMLTitleElement.h 1747 100 %
HTMLUnknownElement.cpp 926 100 %
HTMLUnknownElement.h mozilla_dom_HTMLUnknownElement_h 1224 100 %
ImageDocument.cpp 25378 92 %
ImageDocument.h mozilla_dom_ImageDocument_h 4664 100 %
input 93 %
MediaDocument.cpp 13852 90 %
MediaDocument.h mozilla_dom_MediaDocument_h 4496 83 %
moz.build 5821 -
nsDOMStringMap.cpp virtual 7844 96 %
nsDOMStringMap.h 2134 100 %
nsGenericHTMLElement.cpp 144127 96 %
nsGenericHTMLElement.h A common superclass for HTML elements 56295 93 %
nsGenericHTMLFrameElement.cpp 11112 87 %
nsGenericHTMLFrameElement.h A helper class for frame elements 5074 90 %
nsHTMLDocument.cpp aConsiderForMemoryReporting 28031 87 %
nsHTMLDocument.h Called when form->BindToTree() is called so that document knows immediately when a form is added 7185 86 %
nsIConstraintValidation.cpp CanBubble 4479 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. 3239 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. 9644 100 %
nsIHTMLCollection.h An internal interface 2603 88 %
RadioNodeList.cpp virtual 1765 100 %
RadioNodeList.h 1299 100 %
reftests -
test -
TextControlElement.cpp aNotify = 14270 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. 8470 94 %
TextControlState.cpp TextControlElement *************************************************************************** 98785 87 %
TextControlState.h PasswordMaskData stores making information and necessary timer for `TextEditor` instances. 21529 98 %
TextInputListener.h OnEditActionHandled() is called when the editor handles each edit action. 3054 100 %
ValidityState.cpp 1158 91 %
ValidityState.h Helper function to get a validity state from constraint validation instance. 2873 100 %
VideoDocument.cpp 5484 95 %