return CFEqual(a.cfURLResponse(), b.cfURLResponse());
And it crashes the cfURLResponses are 0 and CFEqual doesn't like that. This is fine on the Foundation side since we do
return a.nsURLResponse() == b.nsURLResponse();
Created attachment 102718 [details]
Comment on attachment 102718 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=102718&action=review
> +#if PLATFORM(MAC)
> + // CFEqual crashes if you pass it 0 and on Mac we can end up with cfURLResponse() being 0.
> + if (!a.cfURLResponse() || !b.cfURLResponse())
> + return a.cfURLResponse() == b.cfURLResponse();
This should be unconditional, not inside #if PLATFORM(MAC)
Created attachment 102724 [details]
Updated patch to make it unconditional.
Comment on attachment 102724 [details]
Committed r92261: <http://trac.webkit.org/changeset/92261>