diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-04 02:23:06 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-04 02:23:06 +0000 |
commit | fd99fb81a58f730eafef94c869af107d830a8ef7 (patch) | |
tree | a95ae53dc127f4c3b82b6b53548c8e55789df068 /chrome_frame | |
parent | f35329386ca6cd4986b5ef127fd7d4d006a28a8c (diff) | |
download | chromium_src-fd99fb81a58f730eafef94c869af107d830a8ef7.zip chromium_src-fd99fb81a58f730eafef94c869af107d830a8ef7.tar.gz chromium_src-fd99fb81a58f730eafef94c869af107d830a8ef7.tar.bz2 |
Reverting to fix the IE6 builder redness. Please continue debugging this and resubmit.
Revert 46189 - Temporarily disable the Head test.
TBR=amit
BUG=none
Review URL: http://codereview.chromium.org/1828001
TBR=tommi@chromium.org
Review URL: http://codereview.chromium.org/1927001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46323 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r-- | chrome_frame/test/url_request_test.cc | 3 | ||||
-rw-r--r-- | chrome_frame/urlmon_url_request.cc | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/chrome_frame/test/url_request_test.cc b/chrome_frame/test/url_request_test.cc index 1393aaa..106f717b 100644 --- a/chrome_frame/test/url_request_test.cc +++ b/chrome_frame/test/url_request_test.cc @@ -104,8 +104,7 @@ TEST(UrlmonUrlRequestTest, Simple1) { // Same as Simple1 except we use the HEAD verb to fetch only the headers // from the server. -// TODO(tommi): Fix and reenable. -TEST(UrlmonUrlRequestTest, DISABLED_Head) { +TEST(UrlmonUrlRequestTest, Head) { MockUrlDelegate mock; ChromeFrameHTTPServer server; chrome_frame_test::TimedMsgLoop loop; diff --git a/chrome_frame/urlmon_url_request.cc b/chrome_frame/urlmon_url_request.cc index 7f330ab..5bfbbbf 100644 --- a/chrome_frame/urlmon_url_request.cc +++ b/chrome_frame/urlmon_url_request.cc @@ -373,6 +373,8 @@ STDMETHODIMP UrlmonUrlRequest::OnStopBinding(HRESULT result, LPCWSTR error) { // TRUE |FALSE => Wait for Read. // TRUE |TRUE => Something went wrong!! + DCHECK(!(pending_read_size_ > 0 && pending_data_)); + if (pending_data_) { ReleaseBindings(); return S_OK; @@ -635,7 +637,7 @@ STDMETHODIMP UrlmonUrlRequest::GetWindow(const GUID& guid_reason, #endif // We should return a non-NULL HWND as parent. Otherwise no dialog is shown. // TODO(iyengar): This hits when running the URL request tests. - DLOG_IF(WARNING, !::IsWindow(parent_window_)) + DLOG_IF(ERROR, !::IsWindow(parent_window_)) << "UrlmonUrlRequest::GetWindow - no window!"; *parent_window = parent_window_; return S_OK; |