[Webkit-unassigned] [Bug 63674] Get webkit to compile with USE(CFNETWORK) enabled on Mac
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jul 11 11:51:21 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=63674
David Kilzer (ddkilzer) <ddkilzer at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #99195|review? |review+
Flag| |
--- Comment #7 from David Kilzer (ddkilzer) <ddkilzer at webkit.org> 2011-07-11 11:51:20 PST ---
(From update of attachment 99195)
View in context: https://bugs.webkit.org/attachment.cgi?id=99195&action=review
r=me
> Source/WebCore/platform/network/cf/ResourceHandleCFNet.cpp:214
> + int statusCode = msg ? CFHTTPMessageGetResponseStatusCode(msg) : 0;
Nit: Extra space after "=".
>>>> Source/WebCore/platform/network/cf/ResourceHandleCFNet.cpp:220
>>>> + CFURLResponseSetMIMEType(cfResponse, CFSTR("text/html"));
>>>
>>> This seemed like a change in behavior to until I looked in ResourceHandleMac.mm and saw the NSURLResponse version of this code. A note in the ChangeLog about why this was added would have cleared this up.
>>
>> It'd be even nicer to share this with the Mac rather than duplicating it. The Mac port could do this in terms of CF API and toll-free bridging should ensure that the NSURLResponse has the right changes.
>
> Yes thats a good idea. I can refactor the code so its shared between the two implementations.
Make sure NSURLResponse is toll-free-bridged to CFURLResponse. Not all of the NSURL* types are toll-free-bridged.
--
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