diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-20 05:14:51 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-20 05:14:51 +0000 |
commit | 1b07c82901c8fceb57cde6d8e1af8dcc042bfd6f (patch) | |
tree | 32ef1f4ccc2e8e8214b01bae138a47f8dbfe2842 /chrome_frame | |
parent | 024617a569d5a45e6aaa61d73895d731ade5041c (diff) | |
download | chromium_src-1b07c82901c8fceb57cde6d8e1af8dcc042bfd6f.zip chromium_src-1b07c82901c8fceb57cde6d8e1af8dcc042bfd6f.tar.gz chromium_src-1b07c82901c8fceb57cde6d8e1af8dcc042bfd6f.tar.bz2 |
Attempting to debug the IE8 chrome frame random failures by tracing out the last error
code from the net::TestServer::WaitToFinish helper function.
TBR=amit
Review URL: http://codereview.chromium.org/3156039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56817 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r-- | chrome_frame/test/http_server.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome_frame/test/http_server.cc b/chrome_frame/test/http_server.cc index c93b01f..9acc430 100644 --- a/chrome_frame/test/http_server.cc +++ b/chrome_frame/test/http_server.cc @@ -64,7 +64,11 @@ void ChromeFrameHTTPServer::TearDown() { } bool ChromeFrameHTTPServer::WaitToFinish(int milliseconds) { - return test_server_.WaitToFinish(milliseconds); + bool ret = test_server_.WaitToFinish(milliseconds); + if (!ret) { + LOG(ERROR) << "WaitToFinish failed with error:" << ::GetLastError(); + } + return ret; } // TODO(phajdan.jr): Change wchar_t* to std::string& and fix callers. |