iOS uses didReceiveDataArray callback while Mac uses didReceiveData. It would be nice to make the two platforms consistent. didReceiveDataArray callback is better since it reduces a copying phase in CFNetwork.
Created attachment 235960 [details]
Patch for bots
Uncovered bug 135727 when looking at the memory impact of this change.
Created attachment 236255 [details]
Comment on attachment 236255 [details]
Thanks for the review. I'll check this in after bug 135727.
Committed r172508: <http://trac.webkit.org/changeset/172508>