Fix for the ChromeFrame unload event test failures seen on the builder. For some reason the test shows up as succeeded even though it is failing.
Fix for the ChromeFrame unload event test failures seen on the builder. For some reason
the test shows up as succeeded even though it is failing.

The test fails when the automation client instance is reused, i.e the new page loads in
the same tab. We need to set the ready state of the active document instance to ready
when we reuse the automation client instance.

TBR=amit

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

git-svn-id: http://src.chromium.org/svn/trunk/src@56963 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

Former-commit-id: eab04f90ff4daf99c9c6100d58f4c54dfb336062
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser