gecko-dev/accessible/base
James Teh c0e93222ee Bug 1735464: PrevWordBreakClassWalker::IsStartOfGroup: Don't advance mOffset if PrevChar fails. r=eeejay
IsStartOfGroup wants to peek at the previous character.
It calls PrevChar, but it doesn't check for failure.
It then unconditionally increments mOffset to "undo" PrevChar.
If PrevChar failed, that means we're now 1 character after where we started.
This wasn't causing any test failures and I can't think of a test case that shows breakage here.
Nevertheless, it definitely doesn't make sense and could cause difficult-to-diagnose bugs.

This in turn exposed a bug in PrevChar whereby it didn't handle being called again after it had already failed.
That also had to be fixed here.

Differential Revision: https://phabricator.services.mozilla.com/D128332
2021-10-26 22:25:29 +00:00
..
ARIAMap.cpp Bug 1727616 - Add meter ARIA role. r=Jamie 2021-08-26 16:17:21 +00:00
ARIAMap.h Backed out 4 changesets (bug 1722396) for causing multiple failures CLOSED TREE 2021-07-30 01:39:18 +03:00
ARIAStateMap.cpp Bug 1693607 - [Linux] Add braces around statements. r=morgan 2021-02-19 23:14:32 +00:00
ARIAStateMap.h Bug 1359482: Don't expose the editable state on ARIA grids and gridcells. r=eeejay 2021-01-15 01:32:13 +00:00
AccAttributes.cpp Bug 1731374 - Add string storage to AccAttributes with move semantics. r=Jamie 2021-09-28 22:01:35 +00:00
AccAttributes.h Bug 1731374 - Add string storage to AccAttributes with move semantics. r=Jamie 2021-09-28 22:01:35 +00:00
AccEvent.cpp Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
AccEvent.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
AccGroupInfo.cpp Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
AccGroupInfo.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
AccIterator.cpp Bug 1725145 - fixes for linking in the hybrid build env. r=valentin 2021-08-22 10:21:56 +00:00
AccIterator.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
AccTypes.h Bug 1611062 - Remove unused eAutoComplete. r=Jamie 2021-10-04 16:30:45 +00:00
Asserts.cpp
CacheConstants.h Bug 1734322 follow-up: Use different value for Text and DOMNodeID CacheDomains. r=morgan 2021-10-14 01:52:46 +00:00
DocManager.cpp Bug 1730541, remove nsCoreUtils::IsContentDocument, r=nika 2021-09-13 21:01:23 +00:00
DocManager.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
EmbeddedObjCollector.cpp Bug 1694203 - P9: Have RemoteAccessible inherit from Accessible. r=Jamie 2021-03-02 16:32:24 +00:00
EmbeddedObjCollector.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
EventQueue.cpp Bug 1723614 - P2: Robustify name change events and use events in name tests. r=Jamie 2021-08-05 23:04:17 +00:00
EventQueue.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
EventTree.cpp Bug 1725145 - fixes for linking in the hybrid build env. r=valentin 2021-08-22 10:21:56 +00:00
EventTree.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
Filters.cpp Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
Filters.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
FocusManager.cpp Bug 1691930 - Check that FocusedChild is bound to a doc in RecvFocusedChild. r=Jamie 2021-03-24 16:24:47 +00:00
FocusManager.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
HTMLMarkupMap.h Bug 1714390 - P5: Use static aria_* atoms for aria attributes. r=Jamie 2021-06-10 23:07:07 +00:00
IDSet.h
Logging.cpp Bug 1729061 - Introduce cache verification logging. r=Jamie 2021-09-28 21:55:41 +00:00
Logging.h Bug 1729061 - Introduce cache verification logging. r=Jamie 2021-09-28 21:55:41 +00:00
MathMLMarkupMap.h Bug 1703600 part 4: Move MathML elements into MathMLMarkupMap.h. r=eeejay 2021-04-14 04:11:18 +00:00
NotificationController.cpp Bug 1730093 part 1: Push text and line start offsets to the cache. r=eeejay 2021-10-06 04:53:52 +00:00
NotificationController.h Bug 708901 - Migrate to nsTHashSet in accessible. r=Jamie 2021-03-23 10:36:32 +00:00
Pivot.cpp Bug 1694571: Replace AccessibleOrProxy's with Accessible's r=Jamie 2021-07-22 17:58:49 +00:00
Pivot.h Bug 1694571: Replace AccessibleOrProxy's with Accessible's r=Jamie 2021-07-22 17:58:49 +00:00
Platform.h Bug 1694203 - P9: Have RemoteAccessible inherit from Accessible. r=Jamie 2021-03-02 16:32:24 +00:00
Relation.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
RelationType.h Bug 1710751: Create LINKS_TO relation to track anchors and their corresponding elements r=eeejay 2021-05-26 21:31:42 +00:00
RelationTypeMap.h Bug 1710751: Create LINKS_TO relation to track anchors and their corresponding elements r=eeejay 2021-05-26 21:31:42 +00:00
Role.h Bug 1460378: Introduce meter role and HTMLMeterAccessible class. r=Jamie 2021-02-17 15:58:31 +00:00
RoleMap.h Bug 1732108: Map ATK_ROLE_CONTENT_DELETION/INSERTION. r=eeejay 2021-09-24 00:05:50 +00:00
SelectionManager.cpp Bug 1709976 - Remove selection listeners from shutting down PresShell. r=Jamie 2021-06-08 22:21:05 +00:00
SelectionManager.h
States.h
Statistics.h
StyleInfo.cpp Bug 1723921 - Cleanup nsComputedDOMStyle and related APIs. r=layout-reviewers,jfkthame 2021-08-07 09:47:15 +00:00
StyleInfo.h Bug 1714390 - P4: Set non-string values in AccAttributes when possible. r=Jamie 2021-06-10 23:07:06 +00:00
TextAttrs.cpp Bug 1731374 - Add string storage to AccAttributes with move semantics. r=Jamie 2021-09-28 22:01:35 +00:00
TextAttrs.h Bug 1714390 - P2: Use AccAttributes for accessible and text attributes. r=Jamie 2021-06-10 23:07:05 +00:00
TextLeafRange.cpp Bug 1735464: PrevWordBreakClassWalker::IsStartOfGroup: Don't advance mOffset if PrevChar fails. r=eeejay 2021-10-26 22:25:29 +00:00
TextLeafRange.h Bug 1730093 part 4: Support RemoteAccessible in TextLeafPoint. r=eeejay 2021-10-06 04:53:54 +00:00
TextRange-inl.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
TextRange.cpp Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
TextRange.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
TextUpdater.cpp Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
TextUpdater.h
TreeWalker.cpp Bug 1731526 - Fix non-unified build errors in accessible/. r=eeejay 2021-09-22 01:41:40 +00:00
TreeWalker.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
XULMap.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
moz.build Bug 1729407 part 1: Add new TextLeafPoint and TextLeafRange classes. r=eeejay 2021-09-23 11:38:09 +00:00
nsAccCache.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
nsAccUtils.cpp Bug 1730093 part 3: Support RemoteAccessible in nsAccUtils::TextLength. r=eeejay 2021-10-06 04:53:53 +00:00
nsAccUtils.h Bug 1733248 - Fire state change events for autocomplete changes. r=morgan 2021-10-21 22:47:43 +00:00
nsAccessibilityService.cpp Bug 1733238 - P2: Make ImageAccessible an imgINotificationObserver. r=Jamie 2021-10-12 15:46:38 +00:00
nsAccessibilityService.h Bug 1733238 - P2: Make ImageAccessible an imgINotificationObserver. r=Jamie 2021-10-12 15:46:38 +00:00
nsAccessiblePivot.cpp Bug 1694571: Replace AccessibleOrProxy's with Accessible's r=Jamie 2021-07-22 17:58:49 +00:00
nsAccessiblePivot.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
nsCoreUtils.cpp Bug 1730541, remove nsCoreUtils::IsContentDocument, r=nika 2021-09-13 21:01:23 +00:00
nsCoreUtils.h Bug 1730541, remove nsCoreUtils::IsContentDocument, r=nika 2021-09-13 21:01:23 +00:00
nsEventShell.cpp Bug 1727373 - Add state change info in event logging. r=morgan 2021-08-24 23:49:59 +00:00
nsEventShell.h Bug 1714390 - P2: Use AccAttributes for accessible and text attributes. r=Jamie 2021-06-10 23:07:05 +00:00
nsTextEquivUtils.cpp Bug 1725145 - header files fixes in the hybrid build env. r=valentin 2021-08-22 10:21:55 +00:00
nsTextEquivUtils.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00