(Hopefully) fix flakiness for AutoFillTest.BasicFormFill
(Hopefully) fix flakiness for AutoFillTest.BasicFormFill

The thinking is that the JavaScript call to focus() actually focuses the field asynchronously, so we should be waiting for the onFocus() event handler to fire rather than just marching ahead once focus() returns.

BUG=57962
TEST=interactive_ui_tests --gtest_filter=AutoFillTest.*BasicFormFill

Review URL: http://codereview.chromium.org/4066002

git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@63794 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser