Commit 758506ba authored by dmazzoni@chromium.org's avatar dmazzoni@chromium.org

Ensure there's no layout pending before accessing WebAXObject from TestRunner.

It's not safe to call WebAXObject functions when there's a layout pending.
Chrome never does this, it only calls WebAXObject from
renderer_accessibility_complete, and it makes sure to update layout before
accessing the accessibility tree.

TestRunner didn't have the same protections, so this just explicitly updates
the layout before any accessibility call.

BUG=393829

Review URL: https://codereview.chromium.org/469803003

Cr-Commit-Position: refs/heads/master@{#289489}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289489 0039d316-1c4b-4281-b951-d872f2087c98
parent d4bd6176
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment