fune/accessible
Masayuki Nakano 657bc8f9d5 Bug 1878191 - Fix 2 iterating loops of selection ranges r=smaug,Jamie
These loops may run script.

In  `HyperTextAccessible`, it calls
`RemoveRangeAndUnselectFramesAndNotifyListeners`. So, chrome script which is not
directly related to this module may run in each call.  I think that using
`RemoveAllRanges` is better for here.  Before bug 1735446, this loop tried
to keep first range, but accidentally, I changed this loop delete all ranges.
However, `SetSelectionBoundsAt` will add a range if it's required and there is
no bug reports.  Therefore, I think keep the new behavior is better.

In `nsRange::DeleteFromDocument`, the loop may run mutation events too.
Therefore, it needs to store all ranges first.  Then, the preceding patch
changes the behavior here if a selection range is moved to different root.
Previously, it was deleted, but now, they are not touched.

Depends on D200606

Differential Revision: https://phabricator.services.mozilla.com/D200607
2024-02-07 04:34:38 +00:00
..
android Bug 1849398 - Gecko initiated a11y focus should not scroll. r=Jamie 2024-01-24 04:49:03 +00:00
aom
atk Bug 1862802 part 1: Provide an argument to PlatformCaretMoveEvent specifying whether the event was caused by user input. r=eeejay 2023-11-29 03:53:19 +00:00
base Bug 1829028: Explicitly support term, definition ARIA roles, r=Jamie 2024-02-06 03:50:29 +00:00
basetypes Bug 1858051: Fix ComputedARIARole for <input type="search">, r=Jamie 2024-02-02 18:23:21 +00:00
docs Bug 1863436: Add HCM Media Query documentation r=Jamie,ayeddi,jules,mstriemer,desktop-theme-reviewers 2024-01-23 21:00:10 +00:00
generic Bug 1878191 - Fix 2 iterating loops of selection ranges r=smaug,Jamie 2024-02-07 04:34:38 +00:00
html Bug 1867811 - Expose EXPANDED state for element with popovertarget. r=Jamie 2023-12-19 17:30:56 +00:00
interfaces Bug 1862802 part 5: Remove virtual cursor change event. r=eeejay 2023-11-29 03:53:20 +00:00
ipc Backed out 6 changesets (bug 1875528) for causing leakcheck failures. CLOSED TREE 2024-01-25 01:26:46 +02:00
mac Bug 1876180: Make MOXAccessibleBase moxFindAncestor check for selector moxUnignoredParent before calling it. r=eeejay 2024-01-23 23:54:17 +00:00
other Bug 1862802 part 1: Provide an argument to PlatformCaretMoveEvent specifying whether the event was caused by user input. r=eeejay 2023-11-29 03:53:19 +00:00
tests Bug 1829028: Explicitly support term, definition ARIA roles, r=Jamie 2024-02-06 03:50:29 +00:00
windows Bug 1854040: When doing UIA client detection on Windows 11, call GetNamedPipeServerProcessId before querying the handle's name. r=nlapre 2024-02-05 21:57:37 +00:00
xpcom Bug 1862802 part 5: Remove virtual cursor change event. r=eeejay 2023-11-29 03:53:20 +00:00
xul Bug 1878092 - Remove <xul:popup> element. r=Gijs 2024-02-02 19:28:21 +00:00
moz.build Bug 1862534: Groundwork for ATK accessibility API tests. r=eeejay,jmaher 2023-11-21 02:11:49 +00:00