DescriptionRe-land (2): Fix loading accessibility tree for child frame that's already loaded.
Original issue: http://crrev.com/2299673002
Second attempt: http://crrev.com/2299283002
Fix the flakiness by not trying to toggle accessibility off and on between the
two runs of the same page within each test.
Code leftover from the pre-OOPIF days was causing us to exit early from
the RenderAccessibilityImpl constructor for some child frames that were
already loaded. Everything worked fine if accessibility was already enabled
when loading the frame, but if the frame was already loaded and then
accessibility was enabled, this could cause it to fail to create an
accessibility tree.
The code in RenderAccessibilityImpl is no longer needed because now we
have exactly one accessibility tree per frame.
This wasn't caught by tests because we didn't cover both scenarios, we
always enabled accessibility first.
Added two variants of existing tests that load the page first and then
enable accessibility.
BUG=640231
TBR=dtseng@chromium.org
Committed: https://crrev.com/1942f9c21b858d39d748132d4a756f3526445cdb
Cr-Commit-Position: refs/heads/master@{#417194}
Patch Set 1 #
Messages
Total messages: 10 (6 generated)
|