HAVE_CFNETWORK_WITH_AUTO_ADDED_HTTP_HEADER_SUPPRESSION_SUPPORT is always True, so remove the conditional tests, keeping the True branches and removing the False branches.
<rdar://problem/54821367>
Created attachment 377583 [details] Patch
Comment on attachment 377583 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=377583&action=review > Source/WTF/wtf/Platform.h:-1444 > -/* FIXME: Does this work, and is this needed on other iOS family platforms? */ Do you know the answer to this?
Comment on attachment 377583 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=377583&action=review >> Source/WTF/wtf/Platform.h:-1444 >> -/* FIXME: Does this work, and is this needed on other iOS family platforms? */ > > Do you know the answer to this? "git show cf848588" in CFNetwork indicates there's nothing platform specific about this. Alexey added this question in r238785 and I believe it was because he removed a respondsToSelector check which is indeed not needed on any platform.
https://trac.webkit.org/changeset/249343/webkit