Instant interactive_ui_tests should wait for main frame load.
commitb2b8a03125e60e881e39da3560f9a49c0d6db609
authorkouhei@chromium.org <kouhei@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 31 May 2014 03:44:54 +0000 (31 03:44 +0000)
committerkouhei@chromium.org <kouhei@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 31 May 2014 03:44:54 +0000 (31 03:44 +0000)
tree3b3ba401d41a3349b2fe365d0cfb52849d69308b
parent43ab14c948cc407b072a41091886c1e0b40ba2a1
Instant interactive_ui_tests should wait for main frame load.

Before this patch, instant search tests didn't wait for the main frame load before executing javascript, resulting in running javascript in incomplete document.

blink: https://codereview.chromium.org/263583002/
It seems that the valid document were luckily there when we run these tests before the blink CL, but the blink CL changes the timeline so it fails on these tests.

BUG=368548, 368555

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273996 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/ui/search/instant_extended_interactive_uitest.cc
chrome/browser/ui/search/instant_test_utils.cc
chrome/browser/ui/search/instant_test_utils.h