Reland: wait until safe time to create root accessibility object
It is only safe to create an accessibility object when a document's style has been computed and layout is clean. Previously, tests failed because an extra kLoadComplete event was sometimes fired for the initial empty document, before navigating to the actual data: url with the test's contents. The extra event only seems to occur in ChromeOS debug builds. Bug: 1156939 Change-Id: I95f4afdb5471a98ed87fb1cf8e8a208e5ebfc453 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2611559Reviewed-by:Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Dominic Mazzoni <dmazzoni@chromium.org> Reviewed-by:
Aaron Leventhal <aleventhal@chromium.org> Commit-Queue: Aaron Leventhal <aleventhal@chromium.org> Auto-Submit: Aaron Leventhal <aleventhal@chromium.org> Cr-Commit-Position: refs/heads/master@{#842329}
Showing
Please register or sign in to comment