Closed
Bug 571613
Opened 14 years ago
Closed 7 years ago
Pass accessibility tests (mochitest-a11y) without assertion failures
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jruderman, Unassigned)
References
Details
(Keywords: meta)
No description provided.
Comment 1•14 years ago
|
||
If there is urgency for bug 404077, we should probably immediately quiet these via preprocessor. Thoughts?
Reporter | ||
Comment 2•14 years ago
|
||
There isn't urgency for bug 404077. I don't think it's happening immediately, and it's likely to work the same way as reftests, where each test is annotated with the number of assertions it currently triggers.
Reporter | ||
Comment 3•12 years ago
|
||
Bug 404077 has landed, with initial annotations. mochitest-a11y wasn't the worst:
http://mxr.mozilla.org/mozilla-central/search?string=expectAssertions&find=accessible
Reporter | ||
Comment 4•12 years ago
|
||
And those all seem to be for a small number of assertions, which I can tell my fuzzer to ignore.
###!!! ASSERTION: Can't create an accessible for the document!: 'parentDocAcc', file accessible/src/base/DocManager.cpp, line 389
###!!! ASSERTION: Flush during accessible tree update!: '!accService->IsProcessingRefreshDriverNotification()', file ../../../layout/base/nsPresShell.cpp, line 3817
###!!! ASSERTION: Incorrect results for GetTextHelper: '(finalStartOffset < aOffset && finalEndOffset >= aOffset) || aType != eGetBefore', file accessible/src/generic/HyperTextAccessible.cpp, line 970
###!!! ASSERTION: Incorrect results for GetTextHelper: '(finalStartOffset <= aOffset && finalEndOffset > aOffset) || aType == eGetBefore', file accessible/src/generic/HyperTextAccessible.cpp, line 971
###!!! ASSERTION: Event other than SHOW and HIDE fired for plain text leaves: 'type == nsIAccessibleEvent::EVENT_SHOW || type == nsIAccessibleEvent::EVENT_HIDE', file accessible/src/atk/AccessibleWrap.cpp, line 945
Reporter | ||
Comment 5•12 years ago
|
||
It would be nice to have bugs on all of those. It looks like bug 850973 will take care of a few.
Comment 6•12 years ago
|
||
> ###!!! ASSERTION: Can't create an accessible for the document!:
> 'parentDocAcc', file accessible/src/base/DocManager.cpp, line 389
bug 847636 should probably fix all of those.
> ###!!! ASSERTION: Flush during accessible tree update!:
> '!accService->IsProcessingRefreshDriverNotification()', file
> ../../../layout/base/nsPresShell.cpp, line 3817
that might well be bug 809871. I haven't checked, but if those are all from bug 809871 you might well be able to not ignore that one for fuzzing now so long as you don't try and fuz xul.
> ###!!! ASSERTION: Incorrect results for GetTextHelper: '(finalStartOffset <
> aOffset && finalEndOffset >= aOffset) || aType != eGetBefore', file
> accessible/src/generic/HyperTextAccessible.cpp, line 970
>
> ###!!! ASSERTION: Incorrect results for GetTextHelper: '(finalStartOffset <=
> aOffset && finalEndOffset > aOffset) || aType == eGetBefore', file
> accessible/src/generic/HyperTextAccessible.cpp, line 971
surkov's working on cleaning up text crap now, so I'm tempted to see where these assertions stand after that atleast forthe ones not fixed by bug 850973.
> ###!!! ASSERTION: Event other than SHOW and HIDE fired for plain text
> leaves: 'type == nsIAccessibleEvent::EVENT_SHOW || type ==
> nsIAccessibleEvent::EVENT_HIDE', file accessible/src/atk/AccessibleWrap.cpp,
> line 945
I seem to remember looking into that at some point, but don't really remember the details. In any case that's not a terribly worrying assertion.
(In reply to Jesse Ruderman from comment #5)
> It would be nice to have bugs on all of those. It looks like bug 850973
I'm sort of afraid such bugs won't be terribly useful for the same reason its not terribly useful to file warning bugs that you don't intend to fix.
Reporter | ||
Comment 7•11 years ago
|
||
On Mac at least, it's down to this pair:
###!!! ASSERTION: Incorrect results for GetTextHelper: '(finalStartOffset <= offset && finalEndOffset > offset) || aType == eGetBefore', file accessible/src/generic/HyperTextAccessible.cpp, line 989
###!!! ASSERTION: Incorrect results for GetTextHelper: '(finalStartOffset < offset && finalEndOffset >= offset) || aType != eGetBefore', file accessible/src/generic/HyperTextAccessible.cpp, line 988
And two assertions outside of accessible/:
###!!! ASSERTION: GetElementById had some kind of spasm.: 'Error', file content/xul/content/src/nsXULPopupListener.cpp, line 383
###!!! ASSERTION: Uh, IsInModalState() called w/o a reachable top window?: 'Error', file dom/base/nsGlobalWindow.cpp, line 7345
Comment 8•11 years ago
|
||
(In reply to Jesse Ruderman from comment #7)
> On Mac at least, it's down to this pair:
I saw the same on linux locally a couple days ago.
a couple weeks ago there was still a assert in states/test_frames.html but it was also outside accessible/ though I don't remember what it was about off hand.
Comment 9•10 years ago
|
||
We done here?
Comment 10•10 years ago
|
||
technically no I believe, we just put them into "law", however I'm not sure if we need this bug, might be handy as meta one though.
Comment 11•10 years ago
|
||
If we intend to file bugs (or have them already) to hang off this one then it makes sense to keep it -- otherwise not.
Comment 13•7 years ago
|
||
Nopers
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(dbolter)
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•