Open Bug 1836850 Opened 2 years ago Updated 2 years ago

"Assertion failure: IsText() || IsHyperText()" on VO launch

Categories

(Core :: Disability Access APIs, defect)

defect

Tracking

()

People

(Reporter: morgan, Unassigned)

Details

I hit this when starting firefox in debug mode and enabling voiceover

Assertion failure: IsText() || IsHyperText(), at /Users/morganraereschenberg/mozilla-central/accessible/ipc/RemoteAccessibleBase.cpp:1239
#01: mozilla::a11y::RemoteAccessibleBase<mozilla::a11y::RemoteAccessible>::GetCachedTextAttributes()[/Users/morganraereschenberg/mozilla-central/obj-aarch64-apple-darwin22.5.0/toolkit/library/build/XUL +0x5eecb00]
#02: mozilla::a11y::TextLeafPoint::FindTextAttrsStart(nsDirection, bool) const[/Users/morganraereschenberg/mozilla-central/obj-aarch64-apple-darwin22.5.0/toolkit/library/build/XUL +0x5e732ec]
#03: mozilla::a11y::GeckoTextMarkerRange::AttributedText() const[/Users/morganraereschenberg/mozilla-central/obj-aarch64-apple-darwin22.5.0/toolkit/library/build/XUL +0x5e2dd5c]
#04: -[MOXTextMarkerDelegate moxAttributedStringForTextMarkerRange:][/Users/morganraereschenberg/mozilla-central/obj-aarch64-apple-darwin22.5.0/toolkit/library/build/XUL +0x5e330e4]

Commenting out this assert brings me to:

Assertion failure: attributes, at /Users/morganraereschenberg/mozilla-central/accessible/mac/GeckoTextMarker.mm:458
#01: mozilla::a11y::GeckoTextMarkerRange::AttributedText() const[/Users/morganraereschenberg/mozilla-central/obj-aarch64-apple-darwin22.5.0/toolkit/library/build/XUL +0x5e2e008]
#02: -[MOXTextMarkerDelegate moxAttributedStringForTextMarkerRange:][/Users/morganraereschenberg/mozilla-central/obj-aarch64-apple-darwin22.5.0/toolkit/library/build/XUL +0x5e330e4]
#03: -[MOXAccessibleBase accessibilityAttributeValue:forParameter:][/Users/morganraereschenberg/mozilla-central/obj-aarch64-apple-darwin22.5.0/toolkit/library/build/XUL +0x5e2f75c]

.... and commenting this out, everything runs smoothly.

Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.