Check if the test server started successfully before using it. Prevents a crash in unit tests.
Check if the test server started successfully before using it.
Prevents a crash in unit tests.

http://crbug.com/9644

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

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

Former-commit-id: c54b2a9bdc076b5f05fed50bb64ec1abe18fb036
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