As suggested in code review https://github.com/WebKit/WebKit/pull/12952#issuecomment-1515807282 the logic of handling data url downloads is mostly the same between linux and windows ports and can be extracted in NetworkDataTaskDataURL which wouldn't depend on a particular network stack.
Pull request: https://github.com/WebKit/WebKit/pull/12997
Committed 263349@main (afb1339d37f4): <https://commits.webkit.org/263349@main> Reviewed commits have been landed. Closing PR #12997 and removing active labels.
<rdar://problem/108482207>