Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d04ea1c3b83737ffbc07af07944064f271ec3bb4
https://github.com/WebKit/WebKit/commit/d04ea1c3b83737ffbc07af07944064f271ec3bb4
Author: Brady Eidson <[email protected]>
Date: 2026-09-08 (Tue, 08 Sep 2026)
Changed paths:
M Source/WebCore/loader/cache/CachedResourceLoader.cpp
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/WKURLSchemeHandler-1.mm
Log Message:
-----------
(305413.959@safari-7624-branch) Embedded image is not load as image in mail
app
rdar://179999480
Reviewed by Ben Nham.
The addition of custom scheme CORS checks broke apps that load the main HTML via
file URL and then mix in custom schemes.
It's totally find to relax the checks for that case.
Test: Tools/TestWebKitAPI/Tests/WebKitCocoa/WKURLSchemeHandler-1.mm
* Source/WebCore/loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::isNoCorsCrossOriginRequestToURLSchemeHandler
const):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/WKURLSchemeHandler-1.mm:
((URLSchemeHandler, LoadFileURLNoCorsSubresourceAllowed)):
Originally-landed-as: [email protected] (111cc2819a4d).
rdar://184744849
Canonical link: https://commits.webkit.org/320685@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications