WKWebViewConfiguration._loadsSubresources=NO should prevent preconnecting
Created attachment 436802 [details] Patch
Comment on attachment 436802 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=436802&action=review > Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp:778 > + if (auto* corePage = webPage.corePage(); corePage && (!corePage->allowsLoadFromURL(request.url()) || !corePage->loadsSubresources())) { Wonder if we should just tuck this into allowsLoadFromURL (make it take a "is a subresource" param and then it checks both the allowed-hosts list and loadsSubresources)?
Created attachment 436811 [details] Patch
Committed r281777 (241114@main): <https://commits.webkit.org/241114@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 436811 [details].
<rdar://problem/82549318>