[Webkit-unassigned] [Bug 54688] ThreadableLoaderClient needs willSendRequest method.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 18 16:07:26 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=54688


David Levin <levin at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #83021|review?, commit-queue?      |review-
               Flag|                            |




--- Comment #14 from David Levin <levin at chromium.org>  2011-02-18 16:07:26 PST ---
(From update of attachment 83021)
View in context: https://bugs.webkit.org/attachment.cgi?id=83021&action=review

Feel free to add ", 2011" to all of the Google copyright years in DocumentThreadableLoader.cpp and ThreadableLoaderClient.h

r- for the changelog echo and the inverted if conditions.

> Source/WebCore/ChangeLog:21
> +2011-02-18  Bill Budge  <bbudge at chromium.org>

I sense an echo in here.

> Source/WebCore/loader/DocumentThreadableLoader.cpp:176
> +void DocumentThreadableLoader::willSendRequest(SubresourceLoader* loader, ResourceRequest& newRequest, const ResourceResponse& redirectResponse)

I'm not sure why "request" became "newRequest".

It is the request that will be sent.

> Source/WebCore/loader/DocumentThreadableLoader.cpp:238
> +    if (!m_actualRequest)

This looks wrong.

m_actualRequest is only set while the preflight request is happening.

> Source/WebCore/loader/DocumentThreadableLoader.cpp:251
> +        return;

Ditto.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list