ResourceError generation code is spread for several places. Move them and pack into ResourceError.
Created attachment 321138 [details] PATCH
Comment on attachment 321138 [details] PATCH Clearing flags on attachment: 321138 Committed r222187: <http://trac.webkit.org/changeset/222187>
All reviewed patches have been landed. Closing bug.
<rdar://problem/34693319>