[Webkit-unassigned] [Bug 258863] REGRESSION (iOS 17 beta): "Origin" field is missing in the request when using "Link modulepreload"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 7 02:08:24 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=258863

--- Comment #4 from CassielX <904936148 at qq.com> ---
(In reply to Alex Christensen from comment #3)
> Also, are you able to point me to any pages that have this error or used to
> have this error.  You can either post a link here or send me an email by
> clicking my name while logged into bugs.webkit.org

Open the test link: https://s1.meituan.net/static-prod01/com.sankuai.knb.fe.template/html/test/demo8.html, which contains a load with "Link" and "modulePreload".

Set a breakpoint in the following method in WebURLSchemeHandlerCocoa.mm file:
void WebURLSchemeHandlerCocoa::platformStartTask(WebPageProxy& page, WebURLSchemeTask& task)

Alternatively, set a breakpoint in the following method in WebLoaderStrategy.cpp file:
void WebLoaderStrategy::scheduleLoad(ResourceLoader& resourceLoader, CachedResource* resource, bool shouldClearReferrerOnHTTPSToHTTPRedirect)

Inspect the request. If the URL in the request is "https://s0.meituan.net/bs/knb/v1.9.4/knb.js", the "Origin" field will be lost.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230707/446e05d3/attachment-0001.htm>


More information about the webkit-unassigned mailing list