gecko-dev/dom/html
Ray Kraesig e2ee2f11df Bug 1891541 - [2/2] enforce that MozPromise only accepts static strings r=xpcom-reviewers,media-playback-reviewers,padenot,emilio
All present uses of the call-site arguments to MozPromise's methods
supply static strings. However, this is nowhere enforced. Do so.

Additionally, since this is the third or fourth time the present author
alone has personally implemented such an enforcement mechanism, create a
helper class to simplify doing so.

No functional changes.

Differential Revision: https://phabricator.services.mozilla.com/D207462
2024-04-24 17:02:49 +00:00
..
crashtests
input
reftests
test Bug 1860492 - Stop using theora files in tests in dom/html. r=smaug 2024-04-04 15:02:37 +00:00
ConstraintValidation.cpp
ConstraintValidation.h
CustomStateSet.cpp Bug 1887338 - guard CustomStateSet from inserting multiple states in internal set r=emilio 2024-03-24 08:54:48 +00:00
CustomStateSet.h Bug 1865589 - Notify PresShell of CustomState changes, so Restyle can invalidate. r=emilio,dshin 2024-03-22 22:18:05 +00:00
ElementInternals.cpp
ElementInternals.h
FetchPriority.cpp
FetchPriority.h
HTMLAllCollection.cpp
HTMLAllCollection.h
HTMLAnchorElement.cpp Bug 1596935 - Separate rel=dns-prefetch behaviour from html anchor dns prefetch r=dom-core,necko-reviewers,sefeng 2024-04-17 13:54:05 +00:00
HTMLAnchorElement.h Bug 1596935 - Separate rel=dns-prefetch behaviour from html anchor dns prefetch r=dom-core,necko-reviewers,sefeng 2024-04-17 13:54:05 +00:00
HTMLAreaElement.cpp Bug 1887719 - More consistently use UTF8String/nsCString for URLs. r=necko-reviewers,webidl,anti-tracking-reviewers,places-reviewers,jari,kershaw,janv,smaug,hsivonen 2024-04-04 11:49:57 +00:00
HTMLAreaElement.h Bug 1887719 - More consistently use UTF8String/nsCString for URLs. r=necko-reviewers,webidl,anti-tracking-reviewers,places-reviewers,jari,kershaw,janv,smaug,hsivonen 2024-04-04 11:49:57 +00:00
HTMLAudioElement.cpp
HTMLAudioElement.h
HTMLBodyElement.cpp
HTMLBodyElement.h
HTMLBRElement.cpp
HTMLBRElement.h
HTMLButtonElement.cpp
HTMLButtonElement.h
HTMLCanvasElement.cpp Bug 1888634 - Disallow captureStream with canvas transferred to DOM worker. r=gfx-reviewers,lsalzman 2024-04-17 12:57:56 +00:00
HTMLCanvasElement.h Bug 1888634 - Disallow captureStream with canvas transferred to DOM worker. r=gfx-reviewers,lsalzman 2024-04-17 12:57:56 +00:00
HTMLDataElement.cpp
HTMLDataElement.h
HTMLDataListElement.cpp
HTMLDataListElement.h
HTMLDetailsElement.cpp
HTMLDetailsElement.h
HTMLDialogElement.cpp
HTMLDialogElement.h
HTMLDivElement.cpp
HTMLDivElement.h
HTMLDNSPrefetch.cpp Bug 1596935 - Separate rel=dns-prefetch behaviour from html anchor dns prefetch r=dom-core,necko-reviewers,sefeng 2024-04-17 13:54:05 +00:00
HTMLDNSPrefetch.h Bug 1596935 - Separate rel=dns-prefetch behaviour from html anchor dns prefetch r=dom-core,necko-reviewers,sefeng 2024-04-17 13:54:05 +00:00
HTMLElement.cpp
HTMLElement.h
HTMLEmbedElement.cpp
HTMLEmbedElement.h
HTMLFieldSetElement.cpp
HTMLFieldSetElement.h
HTMLFontElement.cpp
HTMLFontElement.h
HTMLFormControlsCollection.cpp
HTMLFormControlsCollection.h
HTMLFormElement.cpp
HTMLFormElement.h
HTMLFormSubmission.cpp
HTMLFormSubmission.h
HTMLFormSubmissionConstants.h
HTMLFrameElement.cpp
HTMLFrameElement.h
HTMLFrameSetElement.cpp
HTMLFrameSetElement.h
HTMLHeadingElement.cpp
HTMLHeadingElement.h
HTMLHRElement.cpp
HTMLHRElement.h
HTMLIFrameElement.cpp
HTMLIFrameElement.h
HTMLImageElement.cpp
HTMLImageElement.h
HTMLInputElement.cpp Bug 1888595 - Auto directionality of non-value-associated form elements should always be LTR. r=smaug 2024-04-02 17:38:03 +00:00
HTMLInputElement.h
HTMLLabelElement.cpp
HTMLLabelElement.h
HTMLLegendElement.cpp
HTMLLegendElement.h
HTMLLIElement.cpp
HTMLLIElement.h
HTMLLinkElement.cpp Bug 1596935 - Separate rel=dns-prefetch behaviour from html anchor dns prefetch r=dom-core,necko-reviewers,sefeng 2024-04-17 13:54:05 +00:00
HTMLLinkElement.h
HTMLMapElement.cpp
HTMLMapElement.h
HTMLMarqueeElement.cpp Bug 306344 - Use transform animations to implement marquee. r=smaug,firefox-animation-reviewers,boris 2024-04-09 09:41:40 +00:00
HTMLMarqueeElement.h Bug 306344 - Use transform animations to implement marquee. r=smaug,firefox-animation-reviewers,boris 2024-04-09 09:41:40 +00:00
HTMLMediaElement.cpp Bug 1891541 - [2/2] enforce that MozPromise only accepts static strings r=xpcom-reviewers,media-playback-reviewers,padenot,emilio 2024-04-24 17:02:49 +00:00
HTMLMediaElement.h Bug 1818283: Make DOMMediaStream::TrackListener cycle-collected. r=pehrsons 2024-04-05 20:55:53 +00:00
HTMLMenuElement.cpp
HTMLMenuElement.h
HTMLMetaElement.cpp
HTMLMetaElement.h
HTMLMeterElement.cpp
HTMLMeterElement.h
HTMLModElement.cpp
HTMLModElement.h
HTMLObjectElement.cpp
HTMLObjectElement.h
HTMLOptGroupElement.cpp
HTMLOptGroupElement.h
HTMLOptionElement.cpp
HTMLOptionElement.h
HTMLOptionsCollection.cpp
HTMLOptionsCollection.h
HTMLOutputElement.cpp
HTMLOutputElement.h
HTMLParagraphElement.cpp
HTMLParagraphElement.h
HTMLPictureElement.cpp
HTMLPictureElement.h
HTMLPreElement.cpp
HTMLPreElement.h
HTMLProgressElement.cpp
HTMLProgressElement.h
HTMLScriptElement.cpp
HTMLScriptElement.h
HTMLSelectElement.cpp
HTMLSelectElement.h
HTMLSharedElement.cpp
HTMLSharedElement.h
HTMLSharedListElement.cpp
HTMLSharedListElement.h
HTMLSlotElement.cpp
HTMLSlotElement.h
HTMLSourceElement.cpp
HTMLSourceElement.h
HTMLSpanElement.cpp
HTMLSpanElement.h
HTMLStyleElement.cpp
HTMLStyleElement.h
HTMLSummaryElement.cpp
HTMLSummaryElement.h
HTMLTableCaptionElement.cpp
HTMLTableCaptionElement.h
HTMLTableCellElement.cpp
HTMLTableCellElement.h
HTMLTableColElement.cpp
HTMLTableColElement.h
HTMLTableElement.cpp
HTMLTableElement.h
HTMLTableRowElement.cpp
HTMLTableRowElement.h
HTMLTableSectionElement.cpp
HTMLTableSectionElement.h
HTMLTemplateElement.cpp
HTMLTemplateElement.h
HTMLTextAreaElement.cpp
HTMLTextAreaElement.h
HTMLTimeElement.cpp
HTMLTimeElement.h
HTMLTitleElement.cpp
HTMLTitleElement.h
HTMLTrackElement.cpp
HTMLTrackElement.h
HTMLUnknownElement.cpp
HTMLUnknownElement.h
HTMLVideoElement.cpp
HTMLVideoElement.h
ImageDocument.cpp
ImageDocument.h
MediaDocument.cpp
MediaDocument.h
MediaError.cpp
MediaError.h
moz.build
nsDOMStringMap.cpp
nsDOMStringMap.h
nsGenericHTMLElement.cpp Bug 1887719 - More consistently use UTF8String/nsCString for URLs. r=necko-reviewers,webidl,anti-tracking-reviewers,places-reviewers,jari,kershaw,janv,smaug,hsivonen 2024-04-04 11:49:57 +00:00
nsGenericHTMLElement.h Bug 1887719 - More consistently use UTF8String/nsCString for URLs. r=necko-reviewers,webidl,anti-tracking-reviewers,places-reviewers,jari,kershaw,janv,smaug,hsivonen 2024-04-04 11:49:57 +00:00
nsGenericHTMLFrameElement.cpp
nsGenericHTMLFrameElement.h
nsHTMLContentSink.cpp
nsHTMLDocument.cpp
nsHTMLDocument.h
nsIConstraintValidation.cpp
nsIConstraintValidation.h
nsIFormControl.h
nsIHTMLCollection.h
nsIRadioVisitor.h
nsRadioVisitor.cpp
nsRadioVisitor.h
PlayPromise.cpp
PlayPromise.h
RadioNodeList.cpp
RadioNodeList.h
TextControlElement.h
TextControlState.cpp Bug 1880783 - Remove skip_cursor_move_for_same_value_set pref r=dom-core,masayuki 2024-04-10 14:44:42 +00:00
TextControlState.h
TextInputListener.h
TextTrackManager.cpp
TextTrackManager.h
TimeRanges.cpp
TimeRanges.h
ValidityState.cpp
ValidityState.h
VideoDocument.cpp