Closed
Bug 454636
Opened 16 years ago
Closed 16 years ago
Fix nsAccessible::GetName to always return a consistent result.
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
INVALID
People
(Reporter: MarcoZ, Unassigned)
References
Details
(Keywords: access)
The Mochitest in test_nsOuterDocAccessible currently gets an empty string "" if the test is run stand-alone, but null if the test is run in conjunction with other tests.
Reporter | ||
Comment 1•16 years ago
|
||
Same symptom in test_nsIAccessibleHyperText.html when testing for the empty link's anchor name. Making this bug cover both instances, since nsOuterDocAccessible has no own implementation of GetName and these both fall back to the same nsAccessible implementation.
Summary: Fix nsOuterDocAccessible::GetName to always return a consistent result. → Fix nsAccessible::GetName to always return a consistent result.
Reporter | ||
Comment 2•16 years ago
|
||
Turns out returning null is the right thing to do, and returning "" when running stand-alone, and possibly running a screen reader while doing so, is likely to screw up the tests. Setting to fixed/invalid, please reopen if you disagree.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•