GNOME Bugzilla – Bug 638210
Gecko generators should use getSelectedChild() rather than iterating through children and using isChildSelected()
Last modified: 2010-12-31 01:00:43 UTC
As detected by the regression tests, some change made in Firefox 4(?) doesn't play well with Orca(?) and causes a hang. Need to investigate further what is going on. This is in a current Natty. RuntimeError: maximum recursion depth exceeded Error in sys.excepthook: Traceback (most recent call last):
+ Trace 225296
if not enabled():
return re.search('^\s*enabled\s*=\s*0\s*\$', conf, re.M) is None
return _compile(pattern, flags).search(string)
p = sre_compile.compile(pattern, flags)
p = sre_parse.parse(p, flags)
source = Tokenizer(str)
The problem is that for the tests/pages in question, we have several multi-select lists with thousands of items. And we're iterating through the children in these lists not once, but twice (once for speech and once for braille), and then checking to see if the child is selected. I am regression-testing a solution currently which both solves the hanged tests and improves performance dramatically (at least for the lists in question).
http://git.gnome.org/browse/orca/commit/?id=c1988239443692e1d79c443715f2911c1adadf2b