-
- Downloads
Bug 1781169: Ensure that the cached start/end containers contain characters...
Bug 1781169: Ensure that the cached start/end containers contain characters before returning them in DocAccessibleParent::SelectionRanges. r=eeejay In bug 1772170, I added code to ensure that the cached offsets are valid. However, this didn't account for the possibility that one of the containers contained 0 characters. In that case, offset 0 is itself invalid. If there were also no children, this might in GetChildAtOffset being called and returning null, causing a crash when retrieving selection. Differential Revision: https://phabricator.services.mozilla.com/D154964
Please sign in to comment