Closed
Bug 1771259
Opened 2 years ago
Closed 2 years ago
[CTW] CharBounds crashes when called on the insertion point at the end of a text box
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
102 Branch
Tracking | Status | |
---|---|---|
firefox-esr91 | --- | unaffected |
firefox101 | --- | unaffected |
firefox102 | --- | fixed |
People
(Reporter: Jamie, Assigned: Jamie)
References
(Blocks 1 open bug)
Details
(Keywords: crash, Whiteboard: [ctw-m2])
Crash Data
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
HyperTextAccessibleBase::CharBounds crashes if it is called with an offset which is 1 past the last character; i.e. the text length. Because of the insertion point at the end of a text box, it is valid for a client to call CharBounds like this. We should just return an empty rect.
Assignee | ||
Comment 1•2 years ago
|
||
Pushed by jteh@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1e0fa73ae80e
Fix crash when calling TextLeafPoint::CharBounds on the insertion point at the end of a text box. r=morgan
Comment 3•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox102:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
Updated•2 years ago
|
status-firefox101:
--- → unaffected
status-firefox-esr91:
--- → unaffected
You need to log in
before you can comment on or make changes to this bug.
Description
•