WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
272140
_WKResourceLoadDelegate is not reporting some resource loads
https://bugs.webkit.org/show_bug.cgi?id=272140
Summary
_WKResourceLoadDelegate is not reporting some resource loads
Charlie Monroe
Reported
2024-04-03 23:58:53 PDT
_WKResourceLoadDelegate is not reporting some resource loads. Specific example:
https://www.minds.com/newsfeed/1618724122446008336
Works to reproduce: - log requests reported to the delegate - load the link and *play* the video (otherwise the HLS manifest doesn't get loaded) - the site loads
https://customer-gh08u53vbkhozibb.cloudflarestream.com/eyJ0eXAiO[...]a-rRiQ/manifest/video.m3u8
(shortened for brevity) - which is the HLS manifest used for the video. This never gets reported to the delegate. I have confirmed that this request: - is listed in the Web Inspector - is indeed made via network (i.e. not loaded from cache) by running Proxyman and examining requests made by the Networking process of the WKWebView
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-04-10 23:59:13 PDT
<
rdar://problem/126256819
>
Ahmad Saleem
Comment 2
2024-04-11 01:47:04 PDT
@Charlie - is this recent regression and used to work with iOS 17.x (other versions)?
Ahmad Saleem
Comment 3
2024-04-11 01:47:21 PDT
Or macOS versions?
Charlie Monroe
Comment 4
2024-04-11 02:55:23 PDT
@Ahmed - AFAIK, this issue has manifested for quite some time (even pre-macOS 14) in some form. There are sites where some resources fail to get reported - an example that I recall from over a year ago would be a resource with a space in the URL - it gets escaped for the network call with %20, but the URL is not valid for the NSURL intializer - at least that was my guess why this is happening, but I cannot find that particular URL anymore. Unfortunately, I did not report the previous cases before, but as this is about the 5th case I've come across over the years, I've decided to report it. This particular case is reproducible on macOS 14.4.1. I haven't tested this on iOS, but I assume that it will be very much the same.
Charlie Monroe
Comment 5
2024-09-02 00:49:14 PDT
@Ahmed - here's another example:
https://www.steelers.com/video/watch-tomlin-mic-d-up-in-team-meeting?utm_source=substack&utm_medium=email
On this site, the `master.m3u8` resource does not get reported via _WKResourceLoadDelegate.
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