From a1353855e56d0154af127b9cb6df95287a4d5be5 Mon Sep 17 00:00:00 2001 From: "darin@chromium.org" Date: Thu, 6 Aug 2009 05:34:22 +0000 Subject: Fix a bunch of layout tests related to dumpResourceLoadCallbacks. There are several changes included: 1- Fixed up some of the signatures of virtual methods on TestWebViewDelegate so that they actually get called. 2- Fudged the output of some of the events so that they match the WebKit Mac results. This means outputing NSError instead of WebError, etc. 3- Modified WebURLLoaderImpl to send a more meaningful redirect request. This allows some tests to observe that we are for example going to be issuing a POST request in response to a 307 redirect of a POST request. 4- Modified WebViewDelegate::WillSendRequest to take a redirect_response parameter so that the TestWebViewDelegate can log information about that. 5- Deleted a number of custom baselines that are now unnecessary! :-) 6- Removed some code from WebFrameLoaderClientImpl::dispatchWillSendRequest that was causing our setting for firstPartyForCookies to differ from Safari. This CL depends on WebKit r46820. R=dglazkov,abarth BUG=none TEST=none Review URL: http://codereview.chromium.org/164033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22590 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/api/public/WebURLRequest.h | 2 +- webkit/api/public/WebURLResponse.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'webkit/api/public') diff --git a/webkit/api/public/WebURLRequest.h b/webkit/api/public/WebURLRequest.h index 6499b85..1f3b506 100644 --- a/webkit/api/public/WebURLRequest.h +++ b/webkit/api/public/WebURLRequest.h @@ -79,7 +79,7 @@ namespace WebKit { WEBKIT_API void reset(); WEBKIT_API void assign(const WebURLRequest&); - bool isNull() const { return m_private == 0; } + WEBKIT_API bool isNull() const; WEBKIT_API WebURL url() const; WEBKIT_API void setURL(const WebURL&); diff --git a/webkit/api/public/WebURLResponse.h b/webkit/api/public/WebURLResponse.h index 2fb51b2..cb17d65 100644 --- a/webkit/api/public/WebURLResponse.h +++ b/webkit/api/public/WebURLResponse.h @@ -62,7 +62,7 @@ namespace WebKit { WEBKIT_API void reset(); WEBKIT_API void assign(const WebURLResponse&); - bool isNull() const { return m_private == 0; } + WEBKIT_API bool isNull() const; WEBKIT_API WebURL url() const; WEBKIT_API void setURL(const WebURL&); -- cgit v1.1