WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
229684
WKWebViewConfiguration._loadsSubresources=NO should prevent preconnecting
https://bugs.webkit.org/show_bug.cgi?id=229684
Summary
WKWebViewConfiguration._loadsSubresources=NO should prevent preconnecting
Alex Christensen
Reported
2021-08-30 13:04:14 PDT
WKWebViewConfiguration._loadsSubresources=NO should prevent preconnecting
Attachments
Patch
(3.99 KB, patch)
2021-08-30 13:05 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Patch
(10.19 KB, patch)
2021-08-30 14:09 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Alex Christensen
Comment 1
2021-08-30 13:05:15 PDT
Created
attachment 436802
[details]
Patch
Tim Horton
Comment 2
2021-08-30 13:08:27 PDT
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)?
Alex Christensen
Comment 3
2021-08-30 14:09:18 PDT
Created
attachment 436811
[details]
Patch
EWS
Comment 4
2021-08-30 15:06:09 PDT
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]
.
Radar WebKit Bug Importer
Comment 5
2021-08-30 15:07:16 PDT
<
rdar://problem/82549318
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug