gecko-dev/dom/html
Jan-Niklas Jaeschke 3b545a84ce Bug 1888756, part 2 - Text Fragments: Implement setting the textDirectiveUserActivation flag in the document loading algorithm. r=edgar,dom-core
This commit is a prerequisite for part 5 of this patch set.

This flag is set in the docshell, based on `user gesture activation`.
This is not necessarily sufficient,
as the text fragments spec bases the value of
this flag also on User Involvement, which is not
implemented in Gecko yet.

The flag is then plumbed through the parent process
(`DocumentLoadListener::CreateDocumentLoadInfo()`)
to the document, where it can be consumed.
This includes client-side redirects as described in [0].

There is no changed behavior in this commit.

[0] https://wicg.github.io/scroll-to-text-fragment/#restricting-the-text-fragment

Differential Revision: https://phabricator.services.mozilla.com/D212817
2024-06-26 14:24:32 +00:00
..
crashtests
input
reftests
test Bug 1877969 - Consume user activation when showing any picker r=dom-core,edgar,geckoview-reviewers,m_kato 2024-06-24 10:53:24 +00:00
ConstraintValidation.cpp Bug 1896923 - Use normalize-newlines algorithm for setCustomValidity r=emilio 2024-05-17 13:11:20 +00:00
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 Bug 1895551 - Remove aria attribute from ElementInternals when set to null. r=Jamie,dom-core,edgar 2024-05-24 22:37:12 +00:00
ElementInternals.h Bug 1883996 - P2: Add ariaActiveDescendantElement to ARIAMixin and implement. r=smaug 2024-03-12 20:32:16 +00:00
FetchPriority.cpp
FetchPriority.h Bug 1880528 - Introduce preference for fetch priority adjustment of <link rel=preload as=script>. r=valentin,necko-reviewers 2024-02-19 13:35:39 +00:00
HTMLAllCollection.cpp
HTMLAllCollection.h
HTMLAnchorElement.cpp Bug 1835157 - Ignore target names which contain both newline and < characters. r=emilio 2024-05-24 08:09:36 +00:00
HTMLAnchorElement.h Bug 1835157 - Ignore target names which contain both newline and < characters. r=emilio 2024-05-24 08:09:36 +00:00
HTMLAreaElement.cpp Bug 1835157 - Ignore target names which contain both newline and < characters. r=emilio 2024-05-24 08:09:36 +00:00
HTMLAreaElement.h Bug 1835157 - Ignore target names which contain both newline and < characters. r=emilio 2024-05-24 08:09:36 +00:00
HTMLAudioElement.cpp
HTMLAudioElement.h
HTMLBodyElement.cpp
HTMLBodyElement.h
HTMLBRElement.cpp
HTMLBRElement.h
HTMLButtonElement.cpp Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLButtonElement.h Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
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 Bug 1860457 - implement popover invoke defaults r=dom-core,sefeng 2024-05-24 08:41:03 +00:00
HTMLDetailsElement.h Bug 1860457 - implement popover invoke defaults r=dom-core,sefeng 2024-05-24 08:41:03 +00:00
HTMLDialogElement.cpp Bug 1888776 - Add invoke defaults for dialog elements r=dom-core,sefeng 2024-05-24 09:48:49 +00:00
HTMLDialogElement.h Bug 1888776 - Add invoke defaults for dialog elements r=dom-core,sefeng 2024-05-24 09:48:49 +00:00
HTMLDivElement.cpp
HTMLDivElement.h
HTMLDNSPrefetch.cpp Bug 1899863 - Don't try to SendCancelHTMLDNSPrefetch or SendRemoveRequestContext if it will fail. r=necko-reviewers,jesup 2024-05-30 20:07:09 +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 Bug 1897194 - Form-associated custom elements shouldn't have special handling for :read-write, r=edgar 2024-05-21 12:53:14 +00:00
HTMLElement.h Bug 1897194 - Form-associated custom elements shouldn't have special handling for :read-write, r=edgar 2024-05-21 12:53:14 +00:00
HTMLEmbedElement.cpp Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLEmbedElement.h Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLFieldSetElement.cpp
HTMLFieldSetElement.h
HTMLFontElement.cpp
HTMLFontElement.h
HTMLFormControlsCollection.cpp Bug 1879579 - Clean up CompareTreePosition and related code. r=smaug 2024-02-12 20:01:36 +00:00
HTMLFormControlsCollection.h Bug 1879579 - Clean up CompareTreePosition and related code. r=smaug 2024-02-12 20:01:36 +00:00
HTMLFormElement.cpp Bug 1888756, part 2 - Text Fragments: Implement setting the textDirectiveUserActivation flag in the document loading algorithm. r=edgar,dom-core 2024-06-26 14:24:32 +00:00
HTMLFormElement.h Bug 1835157 - Ignore target names which contain both newline and < characters. r=emilio 2024-05-24 08:09:36 +00:00
HTMLFormSubmission.cpp Bug 1835157 - Ignore target names which contain both newline and < characters. r=emilio 2024-05-24 08:09:36 +00:00
HTMLFormSubmission.h
HTMLFormSubmissionConstants.h
HTMLFrameElement.cpp
HTMLFrameElement.h
HTMLFrameSetElement.cpp
HTMLFrameSetElement.h
HTMLHeadingElement.cpp
HTMLHeadingElement.h
HTMLHRElement.cpp
HTMLHRElement.h
HTMLIFrameElement.cpp Bug 1890748 - Move responsibility of FeaturePolicy initialization to nsILoadInfo. r=freddyb,necko-reviewers,jesup,dom-core,sefeng 2024-06-20 13:22:41 +00:00
HTMLIFrameElement.h Bug 1770944 - Remove nsIMozBrowserFrame. r=smaug 2024-03-07 13:04:21 +00:00
HTMLImageElement.cpp Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLImageElement.h Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLInputElement.cpp Bug 1904719 - Remove unused HTMLInputElement::mHandlingSelectEvent; r=dom-core,masayuki 2024-06-26 06:41:00 +00:00
HTMLInputElement.h Bug 1904719 - Remove unused HTMLInputElement::mHandlingSelectEvent; r=dom-core,masayuki 2024-06-26 06:41:00 +00:00
HTMLLabelElement.cpp Bug 1675847 - part 1: Rename eMouseClick and eMouseAuxClick r=smaug 2024-06-14 00:18:46 +00:00
HTMLLabelElement.h
HTMLLegendElement.cpp Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLLegendElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
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 Bug 1879340 - Add potentially render blocking, r=emilio 2024-02-24 18:12:35 +00:00
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 1675847 - part 1: Rename eMouseClick and eMouseAuxClick r=smaug 2024-06-14 00:18:46 +00:00
HTMLMediaElement.h Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLMenuElement.cpp
HTMLMenuElement.h
HTMLMetaElement.cpp Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLMetaElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLMeterElement.cpp
HTMLMeterElement.h
HTMLModElement.cpp
HTMLModElement.h
HTMLObjectElement.cpp Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLObjectElement.h Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLOptGroupElement.cpp
HTMLOptGroupElement.h
HTMLOptionElement.cpp Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLOptionElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLOptionsCollection.cpp
HTMLOptionsCollection.h
HTMLOutputElement.cpp
HTMLOutputElement.h
HTMLParagraphElement.cpp
HTMLParagraphElement.h
HTMLPictureElement.cpp
HTMLPictureElement.h
HTMLPreElement.cpp
HTMLPreElement.h
HTMLProgressElement.cpp
HTMLProgressElement.h Bug 1878045 - Progress element's max property should ignore non-positive values on setting. r=dom-core,edgar 2024-02-13 09:02:20 +00:00
HTMLScriptElement.cpp Bug 1879340 - Add potentially render blocking, r=emilio 2024-02-24 18:12:35 +00:00
HTMLScriptElement.h Bug 1879340 - Add potentially render blocking, r=emilio 2024-02-24 18:12:35 +00:00
HTMLSelectElement.cpp Bug 1877969 - Consume user activation when showing any picker r=dom-core,edgar,geckoview-reviewers,m_kato 2024-06-24 10:53:24 +00:00
HTMLSelectElement.h Bug 1849122, allowing getting and modifying the autofill state directly within the input and select elements, and reset this state when its value changes, r=webidl,emilio 2024-05-28 23:39:59 +00:00
HTMLSharedElement.cpp Bug 1850967 - Forbid data: and javascript: URLs in <base>. r=emilio 2024-05-06 14:55:22 +00:00
HTMLSharedElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLSharedListElement.cpp
HTMLSharedListElement.h
HTMLSlotElement.cpp Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLSlotElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLSourceElement.cpp Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLSourceElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLSpanElement.cpp
HTMLSpanElement.h
HTMLStyleElement.cpp Bug 1879340 - Add potentially render blocking, r=emilio 2024-02-24 18:12:35 +00:00
HTMLStyleElement.h Bug 1879340 - Add potentially render blocking, r=emilio 2024-02-24 18:12:35 +00:00
HTMLSummaryElement.cpp Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLSummaryElement.h Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLTableCaptionElement.cpp
HTMLTableCaptionElement.h
HTMLTableCellElement.cpp
HTMLTableCellElement.h
HTMLTableColElement.cpp
HTMLTableColElement.h
HTMLTableElement.cpp Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLTableElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLTableRowElement.cpp
HTMLTableRowElement.h
HTMLTableSectionElement.cpp
HTMLTableSectionElement.h
HTMLTemplateElement.cpp
HTMLTemplateElement.h Bug 1890428 - Add serialization support for Declarative Shadow DOM. r=webidl,smaug 2024-05-15 16:40:21 +00:00
HTMLTextAreaElement.cpp Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLTextAreaElement.h Bug 1849122, allowing getting and modifying the autofill state directly within the input and select elements, and reset this state when its value changes, r=webidl,emilio 2024-05-28 23:39:59 +00:00
HTMLTimeElement.cpp
HTMLTimeElement.h
HTMLTitleElement.cpp Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLTitleElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLTrackElement.cpp Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLTrackElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLUnknownElement.cpp
HTMLUnknownElement.h
HTMLVideoElement.cpp Bug 1883435 - Don't include GleanMetrics.h from Document.h. r=chutten,necko-reviewers,valentin 2024-03-05 17:54:14 +00:00
HTMLVideoElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
ImageDocument.cpp Bug 1896516 Part 7 - Remove PresShell::GetRootScrollFrameAsScrollable(). r=layout-reviewers,emilio 2024-05-30 06:32:20 +00:00
ImageDocument.h
MediaDocument.cpp
MediaDocument.h
MediaError.cpp
MediaError.h
moz.build Bug 1770944 - Remove dom/browser-element. r=smaug 2024-03-07 13:04:21 +00:00
nsDOMStringMap.cpp
nsDOMStringMap.h
nsGenericHTMLElement.cpp Bug 1675847 - part 3: Make ePointerClick event dispatchers and handlers use WidgetPointerEvent r=smaug,search-reviewers,devtools-reviewers,nchevobbe,jteow 2024-06-14 00:18:47 +00:00
nsGenericHTMLElement.h Bug 1849122, allowing getting and modifying the autofill state directly within the input and select elements, and reset this state when its value changes, r=webidl,emilio 2024-05-28 23:39:59 +00:00
nsGenericHTMLFrameElement.cpp Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
nsGenericHTMLFrameElement.h Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
nsHTMLContentSink.cpp Bug 1881188 - Remove nsLayoutCID.h r=emilio 2024-02-21 13:04:30 +00:00
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 Bug 1849122, allowing getting and modifying the autofill state directly within the input and select elements, and reset this state when its value changes, r=webidl,emilio 2024-05-28 23:39:59 +00:00
TextControlState.cpp Bug 1904192 - Make TextControlState::SetValue suppress TextEditor to dispatch input events even after dispatching input event during composition r=m_kato,geckoview-reviewers 2024-06-25 03:52:54 +00:00
TextControlState.h
TextInputListener.h
TextTrackManager.cpp
TextTrackManager.h
TimeRanges.cpp
TimeRanges.h
ValidityState.cpp
ValidityState.h
VideoDocument.cpp