Bug 272140
Summary: | _WKResourceLoadDelegate is not reporting some resource loads | ||
---|---|---|---|
Product: | WebKit | Reporter: | Charlie Monroe <marital_micro0e> |
Component: | WebKit2 | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | achristensen, ahmad.saleem792, beidson, cdumez, kkinnunen, timothy, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Mac (Intel) | ||
OS: | macOS 14 | ||
URL: | https://www.minds.com/newsfeed/1618724122446008336 |
Charlie Monroe
_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
<rdar://problem/126256819>
Ahmad Saleem
@Charlie - is this recent regression and used to work with iOS 17.x (other versions)?
Ahmad Saleem
Or macOS versions?
Charlie Monroe
@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
@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.