summaryrefslogtreecommitdiffstats
path: root/chrome_frame
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-20 05:14:51 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-20 05:14:51 +0000
commit1b07c82901c8fceb57cde6d8e1af8dcc042bfd6f (patch)
tree32ef1f4ccc2e8e8214b01bae138a47f8dbfe2842 /chrome_frame
parent024617a569d5a45e6aaa61d73895d731ade5041c (diff)
downloadchromium_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.cc6
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.